From 51d8d13c1b39b22daf4cdb136c0effc6179a4c6b Mon Sep 17 00:00:00 2001 From: fanfan Date: Tue, 4 Jun 2024 10:15:18 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BB=86=E8=8A=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/goods/detail.vue | 9 ++++++--- pages/goods/seckillDetail.vue | 5 +++-- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/pages/goods/detail.vue b/pages/goods/detail.vue index 734e422..01469c5 100644 --- a/pages/goods/detail.vue +++ b/pages/goods/detail.vue @@ -14,7 +14,7 @@ - + @@ -395,7 +395,8 @@ - + + @@ -669,7 +670,7 @@ let that = this let params = { goods_id: that.goods.goods_id, - sku_id: that.goods.skuList[0].id, + sku_id: that.goods.skuList[0] ? that.goods.skuList[0].id : '', seckill_price: e.secondPrice, sec_start_time: e.startTime, sec_hour: e.sec_hour, @@ -2206,10 +2207,12 @@ height: 382rpx; border-radius: 0rpx 0rpx 0rpx 0rpx; opacity: 1; + overflow: hidden; image { width: 100%; height: 100%; + object-fit: cover; } } diff --git a/pages/goods/seckillDetail.vue b/pages/goods/seckillDetail.vue index 1806db5..9efd6a8 100644 --- a/pages/goods/seckillDetail.vue +++ b/pages/goods/seckillDetail.vue @@ -14,7 +14,7 @@ - + @@ -326,7 +326,7 @@ - + @@ -2112,6 +2112,7 @@ image { width: 100%; height: 100%; + object-fit: cover; } }