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