fix: 🐛 优化优惠券详情不展示折扣信息

master
学习很差啦 2023-04-04 18:30:26 +08:00
parent c097a423f9
commit 6a8e666fb8
1 changed files with 2 additions and 1 deletions

View File

@ -3,7 +3,8 @@
<view class="body">
<view class="top-view">
<view class="title">{{coupon.title}}</view>
<view class="price"><text></text>{{coupon.price | unitPrice}}</view>
<view class="price" v-if="coupon.couponType =='PRICE'"><text></text>{{coupon.price | unitPrice}}</view>
<view class="price" v-if="coupon.couponType =='DISCOUNT'">{{coupon.discount}}</view>
<view class="text">{{coupon.consumeThreshold}}元可用</view>
<view class="bg-quan">