zhongtianhaoyuan преди 1 година
родител
ревизия
4d733bc6e6
променени са 2 файла, в които са добавени 20 реда и са изтрити 12 реда
  1. 10 6
      pages/task/audit/charge_against_revenue.vue
  2. 10 6
      pages/task/audit/charge_against_revenue_detail.vue

+ 10 - 6
pages/task/audit/charge_against_revenue.vue

@@ -234,7 +234,7 @@
 						</view>
 						<view class="flex audit_img">
 							<view v-for="(items,indexs) in item.fileUrl" class="url_css">
-								<image :src="items" mode="" class="url_img" @click="auditFile(items)"></image>
+								<image :src="items" mode='aspectFill' class="url_img" @click="auditFile(items)"></image>
 							</view>
 						</view>
 					</view>
@@ -1059,18 +1059,22 @@
 				}
 				.audit_img {
 					flex-wrap: wrap;
-					margin:0 20rpx;
+					// margin: 0 10rpx;
+					margin-left: 20rpx;
 				
 					.url_css {
 						border: 1px solid #999999;
 						border-radius: 10px;
 						margin-top: 10px;
-						margin-right: 10px;
+						margin-right: 4px;
+						overflow: hidden;
+						width: 73px;
+						height: 73px;
 				
 						.url_img {
-							width: 80px;
-							height: 80px;
-							border-radius: 10px;
+							width: 73px;
+							height: 73px;
+							// border-radius: 10px;
 						}
 					}
 				}

+ 10 - 6
pages/task/audit/charge_against_revenue_detail.vue

@@ -227,7 +227,7 @@
 						</view>
 						<view class="flex audit_img">
 							<view v-for="(items,indexs) in item.fileUrl" class="url_css">
-								<image :src="items" mode="" class="url_img" @click="auditFile(items)"></image>
+								<image :src="items" mode='aspectFill' class="url_img" @click="auditFile(items)"></image>
 							</view>
 						</view>
 					</view>
@@ -882,18 +882,22 @@
 				}
 				.audit_img {
 					flex-wrap: wrap;
-					margin:0 20rpx;
+					// margin: 0 10rpx;
+					margin-left: 20rpx;
 				
 					.url_css {
 						border: 1px solid #999999;
 						border-radius: 10px;
 						margin-top: 10px;
-						margin-right: 10px;
+						margin-right: 4px;
+						overflow: hidden;
+						width: 73px;
+						height: 73px;
 				
 						.url_img {
-							width: 80px;
-							height: 80px;
-							border-radius: 10px;
+							width: 73px;
+							height: 73px;
+							// border-radius: 10px;
 						}
 					}
 				}