upgrade 8.4

This commit is contained in:
2020-08-04 21:13:47 +08:00
parent fe9a54987e
commit 5343196342
5 changed files with 185 additions and 174 deletions

View File

@@ -93,8 +93,8 @@ export default {
},
setSwiperHeight() {
// height: 230px, margin-bottom: 13
const height = Math.ceil(this.goodsList.length / 2) * (230 + 13);
this.swiperHeight = height == 0 ? '230px' : height + 'px';
const height = Math.ceil(this.goodsList.length / 2) * (510 + 26);
this.swiperHeight = height == 0 ? '230rpx' : height + 'rpx';
},
// tabs通知swiper切换
tabsChange(index) {

View File

@@ -44,6 +44,7 @@ export default {
<style lang="scss" scoped>
.item{
width: 330rpx;
height: 510rpx;
margin-bottom: 26rpx;
background-color: #f8f8f8;
border-radius: 10rpx 10rpx 0rpx 0rpx;