Commit 30e54922 authored by 潘永坪's avatar 潘永坪

券优化

parent f5b6dbc2
......@@ -50,7 +50,7 @@
</view>
<view>
{{item.couponRule}}
<text>
<text v-if="item.savedMoney">
<text>¥</text>{{parseFloat(item.savedMoney.toFixed(2))}}
</text>
</view>
......
......@@ -28,7 +28,7 @@
</view>
</view>
<!-- -----------------------------有可用优惠券----------------------------------------------------- -->
<view class="topCoupon" v-if="chooseCouponObj!=''" @click="showCoupon()">
<view class="topCoupon" v-if="chooseCouponObj!=''&&savedMoney>0" @click="showCoupon()">
<view class="couponLeft">
<text></text>
<text>{{chooseCouponObj.couponName}}</text>
......
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