This commit is contained in:
Gdpao
2020-08-04 21:46:52 +08:00
parent 43845b4810
commit 692495f108
10 changed files with 49 additions and 21 deletions

View File

@@ -78,7 +78,7 @@ export default {
num = this.couponList.length
? this.couponList.length > 4 ? 4 : this.couponList.length
: 1
this.swiperHeight = (97 + 10) * num + 'px';
this.swiperHeight = (200 + 20) * num + 'rpx';
},
toCouponPage() {
this.$u.route({
@@ -116,6 +116,7 @@ export default {
box-sizing: border-box;
background-color: #ffffff;
.coupon-item {
height: 200rpx;
margin-bottom: 20rpx;
}
}