首页拼团推荐样式

This commit is contained in:
2020-08-18 10:38:35 +08:00
parent 31689af773
commit 06ee3b9038
3 changed files with 4 additions and 4 deletions

View File

@@ -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);
},