修改
This commit is contained in:
parent
114ca6f603
commit
72d225e476
@ -12,8 +12,8 @@
|
|||||||
</view>
|
</view>
|
||||||
<view class="content">
|
<view class="content">
|
||||||
<view class="statuss">
|
<view class="statuss">
|
||||||
<!-- <view class="statusitem" @tap="changingcoupon('RECEIVE')"
|
<!-- <view class="statusitem" @tap="changingcoupon('WAIT_RECEIVE')"
|
||||||
:style="couponstatus=='RECEIVE'?'color: #F44B2F;':''">
|
:style="couponstatus=='WAIT_RECEIVE'?'color: #F44B2F;':''">
|
||||||
未领取
|
未领取
|
||||||
</view>
|
</view>
|
||||||
<span> |</span>
|
<span> |</span>
|
||||||
@ -36,7 +36,7 @@
|
|||||||
<view class="item" v-for="(item,index) in couponlist" :key="index"
|
<view class="item" v-for="(item,index) in couponlist" :key="index"
|
||||||
:style="item.useStatus!='NOT_USED'?'height:180rpx':''">
|
:style="item.useStatus!='NOT_USED'?'height:180rpx':''">
|
||||||
<view class="top"
|
<view class="top"
|
||||||
:style="item.useStatus!='NOT_USED'&&item.useStatus!='RECEIVE'?'background: #EFECEC;color: #4B4B4B;':''">
|
:style="item.useStatus!='NOT_USED'&&item.useStatus!='WAIT_RECEIVE'?'background: #EFECEC;color: #4B4B4B;':''">
|
||||||
<view class="title">
|
<view class="title">
|
||||||
<span class="text">
|
<span class="text">
|
||||||
¥
|
¥
|
||||||
@ -46,19 +46,19 @@
|
|||||||
</span>
|
</span>
|
||||||
</view>
|
</view>
|
||||||
<view class="what"
|
<view class="what"
|
||||||
:style="item.useStatus!='NOT_USED'&&item.useStatus!='RECEIVE'?'background: #DADADA;;':''">
|
:style="item.useStatus!='NOT_USED'&&item.useStatus!='WAIT_RECEIVE'?'background: #DADADA;;':''">
|
||||||
{{item.couponTitle}}
|
{{item.couponTitle}}
|
||||||
</view>
|
</view>
|
||||||
<view class="texts">
|
<view class="texts">
|
||||||
满{{item.couponConsumePrice}}可用
|
满{{item.couponConsumePrice}}可用
|
||||||
</view>
|
</view>
|
||||||
<view class="time" v-if="item.useStatus!='RECEIVE'">
|
<view class="time" v-if="item.useStatus!='WAIT_RECEIVE'">
|
||||||
有效期至{{item.expirationEndTime}}
|
有效期至{{item.expirationEndTime}}
|
||||||
</view>
|
</view>
|
||||||
<view class="btn" v-if="item.useStatus=='RECEIVE'" @tap='logininfo(item)'>
|
<view class="btn" v-if="item.useStatus=='WAIT_RECEIVE'" @tap='logininfo(item)'>
|
||||||
{{item.useStatus=='RECEIVE'?'领取':''}}
|
{{item.useStatus=='WAIT_RECEIVE'?'领取':''}}
|
||||||
</view>
|
</view>
|
||||||
<view class="btngq" v-if="item.useStatus!='NOT_USED'&&item.useStatus!='RECEIVE'">
|
<view class="btngq" v-if="item.useStatus!='NOT_USED'&&item.useStatus!='WAIT_RECEIVE'">
|
||||||
{{item.useStatus=='EXPIRED'?'已过期':''}}
|
{{item.useStatus=='EXPIRED'?'已过期':''}}
|
||||||
{{item.useStatus=='USED'?'已使用':''}}
|
{{item.useStatus=='USED'?'已使用':''}}
|
||||||
</view>
|
</view>
|
||||||
|
|||||||
@ -169,7 +169,7 @@
|
|||||||
confirmReceipt(this.order.goOrderNo).then(res => {
|
confirmReceipt(this.order.goOrderNo).then(res => {
|
||||||
if (res.code == 200) {
|
if (res.code == 200) {
|
||||||
this.$refs.uToast.show({
|
this.$refs.uToast.show({
|
||||||
title: '收货成功',
|
title: '完成订单成功',
|
||||||
type: 'success',
|
type: 'success',
|
||||||
duration: '1000'
|
duration: '1000'
|
||||||
})
|
})
|
||||||
@ -183,7 +183,7 @@
|
|||||||
}, 1000)
|
}, 1000)
|
||||||
} else {
|
} else {
|
||||||
this.$refs.uToast.show({
|
this.$refs.uToast.show({
|
||||||
title: '收货失败',
|
title: '完成订单失败',
|
||||||
type: 'error',
|
type: 'error',
|
||||||
duration: '1000'
|
duration: '1000'
|
||||||
})
|
})
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user