Fix(优惠券);[#1344]不满足使用条件的显示为不可用
This commit is contained in:
@@ -18,11 +18,6 @@
|
||||
v-if="data.status === 0 && !radioModel"
|
||||
class="coupons__tag coupons__tag-expire"
|
||||
>不可用</view>
|
||||
<view
|
||||
v-if="data.status === 0 && radioModel"
|
||||
class="coupons__tag"
|
||||
@click="goGoods()"
|
||||
>去使用</view>
|
||||
<view @click="selectCoupon">
|
||||
<radio
|
||||
v-if="radioModel && data.status === 0"
|
||||
@@ -76,9 +71,6 @@ export default {
|
||||
changeRules() {
|
||||
this.isOpen = !this.isOpen
|
||||
},
|
||||
goGoods() {
|
||||
uni.switchTab({ url: '/pages/home/landMark' })
|
||||
},
|
||||
selectCoupon() {
|
||||
if (!this.radioModel) return
|
||||
// 已选中则可以取消选中
|
||||
|
||||
Reference in New Issue
Block a user