diff --git a/pages/goods/detail.vue b/pages/goods/detail.vue index a9016ff..34e48b8 100644 --- a/pages/goods/detail.vue +++ b/pages/goods/detail.vue @@ -14,7 +14,7 @@ - + @@ -407,7 +407,8 @@ - + + @@ -688,7 +689,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, @@ -2280,10 +2281,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 44f15f7..6eabe8c 100644 --- a/pages/goods/seckillDetail.vue +++ b/pages/goods/seckillDetail.vue @@ -14,7 +14,7 @@ - + @@ -338,7 +338,7 @@ - + @@ -2185,6 +2185,7 @@ image { width: 100%; height: 100%; + object-fit: cover; } }