Fix:【商城小程序】优惠券没有可选的话,把把“无>”隐藏

This commit is contained in:
linxi
2024-09-19 17:46:42 +08:00
parent 7c1f57bb0c
commit cb3b92a2b2
+2 -2
View File
@@ -109,8 +109,8 @@
</view>
</view>
<view class="v12-justify-between v12-align-center">
<view class="v12-mr-2" @click="changeCoupons">
<text class="v12-dark-text v12-font-24">{{ couponList.usable.length === 0 ? '无' : '去选择' }}</text>
<view class="v12-mr-2" @click="changeCoupons" v-if="couponList.usable.length === 0">
<text class="v12-dark-text v12-font-24" >{{ couponList.usable.length === 0 ? '无' : '去选择' }}</text>
<text class="iconfont icon-jiantou v12-font-24 v12-dark-text"></text>
</view>
<view class="v12-secondary-dark-text">