diff --git a/components/shop/list/index.vue b/components/shop/list/index.vue index 7bcaeb5..8136385 100644 --- a/components/shop/list/index.vue +++ b/components/shop/list/index.vue @@ -100,7 +100,7 @@ export default { }, setSwiperHeight() { // height: 480rpx, margin-bottom: 26rpx - const height = Math.ceil(this.goodsList[this.current].length / 2) * (480 + 26); + const height = Math.ceil(this.goodsList[this.current].length / 2) * (450 + 26); this.swiperHeight = height == 0 ? '230rpx' : height + 'rpx'; // console.log(this.swiperHeight); }, diff --git a/components/shop/list/item.vue b/components/shop/list/item.vue index 2d19f12..b45bb0e 100644 --- a/components/shop/list/item.vue +++ b/components/shop/list/item.vue @@ -44,14 +44,14 @@ export default {