首页拼团推荐样式
This commit is contained in:
@@ -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);
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user