Commit 1c2dd6d7 authored by 黄媛媛's avatar 黄媛媛

修改优惠券

parent cb104e59
...@@ -72,7 +72,8 @@ ...@@ -72,7 +72,8 @@
<view class="filed"> <view class="filed">
<view class="left">优惠券</view> <view class="left">优惠券</view>
<view class="right"> <view class="right">
<text class="content" v-if="mchs[0].coupon.user_coupon_id == 0">选择优惠券</text> <text class="content" v-if="mchs[0].coupon.user_coupon_id == 0 && couponList.length>0">选择优惠券</text>
<text class="content" v-else-if="couponList.length==0">暂无优惠券</text>
<text class="content" v-else :style="{ color: mc }">已优惠{{ mchs[0].coupon.coupon_discount }}元</text> <text class="content" v-else :style="{ color: mc }">已优惠{{ mchs[0].coupon.coupon_discount }}元</text>
<u-icon name="ellipsis" size="36" v-if="couponList.length > 0" @click="showCouponHandler"></u-icon> <u-icon name="ellipsis" size="36" v-if="couponList.length > 0" @click="showCouponHandler"></u-icon>
</view> </view>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment