shish 6 ani în urmă
părinte
comite
9ce21e3215
1 a modificat fișierele cu 9 adăugiri și 7 ștergeri
  1. 9 7
      mall/src/pages/home/components/goods-list-big.vue

+ 9 - 7
mall/src/pages/home/components/goods-list-big.vue

@@ -19,12 +19,13 @@
 				})">
 					<div 
 						class="goods-img">
-						<app-img
-							class="goods-item_box"
-							:src="item.smallImgList[0]" 
-							 mode="aspectFit" 
-							 style="width:100%"
-							 />
+
+				<image 
+					class="app-img" 
+					:src="item.imgList[0]" 
+					mode="aspectFit" 
+					style="height:713rpx;" ></image>
+
 					</div>
 					<div class="goods-det">
 						<div class="goods-left">
@@ -91,7 +92,8 @@ export default {
 				margin-top: 0;
 			}
 			.goods-img {
-				height:404px;
+				width: 713rpx;
+				height: 713rpx;
 				display: flex;
 				justify-content: center;
 				align-items: center;