Przeglądaj źródła

认证通图片尺寸调整

喻文俊 3 lat temu
rodzic
commit
a593d8083b
1 zmienionych plików z 22 dodań i 22 usunięć
  1. 22 22
      pages/h5/other/attestation.vue

+ 22 - 22
pages/h5/other/attestation.vue

@@ -1,7 +1,7 @@
 <template>
 	<view class="container clearfix" >
 		<view class="banner">
-			<image :class="'image_list image'+index" :src="item" mode="" v-for="(item,index) in list" :key="index"></image>
+			<image :class="'image_list image'+index" :src="item" mode="widthFix" v-for="(item,index) in list" :key="index"></image>
 		</view>	
 		<!-- 侧边 -->
 		<scroll-top :isScrollTop="isScrollTop" :bottom="300"></scroll-top>
@@ -97,27 +97,27 @@
 			.image_list{
 				width: 100%;
 				display: block;
-				&.image0{
-					height: 340rpx;
-				}
-				&.image1{
-					height: 1089rpx;
-				}
-				&.image2{
-					height: 699rpx;
-				}
-				&.image3{
-					height: 655rpx;
-				}
-				&.image4{
-					height: 1389rpx;
-				}
-				&.image5{
-					height: 2049rpx;
-				}
-				&.image6{
-					height: 600rpx;
-				}
+				// &.image0{
+				// 	height: 340rpx;
+				// }
+				// &.image1{
+				// 	height: 1089rpx;
+				// }
+				// &.image2{
+				// 	height: 699rpx;
+				// }
+				// &.image3{
+				// 	height: 655rpx;
+				// }
+				// &.image4{
+				// 	height: 1389rpx;
+				// }
+				// &.image5{
+				// 	height: 2049rpx;
+				// }
+				// &.image6{
+				// 	height: 600rpx;
+				// }
 			}
 		}
 	}