|
@@ -51,8 +51,8 @@
|
|
|
</view>
|
|
|
|
|
|
</view>
|
|
|
- <u-divider v-if="myCouponList.length > 0" style="padding-bottom: 80px;margin-top: 10px;">已经到底了</u-divider>
|
|
|
-
|
|
|
+ <u-divider v-if="myCouponList.length > 0" style="margin-top: 10px;">已经到底了</u-divider>
|
|
|
+ <view v-if="myCouponList.length > 0" style="padding-bottom: 80px;" ></view>
|
|
|
<view class="carNone" v-if="myCouponList.length == 0">
|
|
|
<img src="static/img/暂无数据-缺省页.png" alt="">
|
|
|
<p>暂无优惠券</p>
|
|
@@ -94,6 +94,7 @@
|
|
|
myCouponList: [],
|
|
|
pageIndex: 1,
|
|
|
recordsTotal: 0,
|
|
|
+ stationId:"",
|
|
|
}
|
|
|
},
|
|
|
onReachBottom() {
|
|
@@ -105,6 +106,7 @@
|
|
|
if(op.uuid){
|
|
|
this.amount=op.amount
|
|
|
this.uuid=op.uuid
|
|
|
+ this.stationId=op.stationId;
|
|
|
}
|
|
|
|
|
|
},
|
|
@@ -148,7 +150,8 @@
|
|
|
this.pageIndex = 1;
|
|
|
}
|
|
|
userApi.useCoupon({
|
|
|
- amount:this.amount
|
|
|
+ amount:this.amount,
|
|
|
+ stationId:this.stationId
|
|
|
}).then((res) => {
|
|
|
uni.hideLoading();
|
|
|
|
|
@@ -221,7 +224,7 @@
|
|
|
}
|
|
|
}
|
|
|
.item-left{
|
|
|
- padding: 24px 0 20px 16px;
|
|
|
+ padding: 24px 0 20px 5px;
|
|
|
.title{
|
|
|
line-height: 25px;
|
|
|
color: rgba(16, 16, 16, 100);
|
|
@@ -236,7 +239,7 @@
|
|
|
}
|
|
|
}
|
|
|
.item-right{
|
|
|
- padding: 19px 20px 18px 0;
|
|
|
+ padding: 19px 5px 18px 0;
|
|
|
|
|
|
.price{
|
|
|
height: 38px;
|