【功能完善】订单确认价格时,展示具体的优惠信息

This commit is contained in:
YunaiV
2024-09-16 19:38:48 +08:00
parent ff6769001d
commit 6b6fa0c257
2 changed files with 21 additions and 37 deletions
+1 -2
View File
@@ -143,8 +143,7 @@
v-if="state.orderInfo.price.discountPrice > 0"
>
<view class="item-title">活动优惠</view>
<view class="ss-flex ss-col-center">
<!-- @tap="state.showDiscount = true" TODO puhui999折扣后续要把优惠信息打进去 -->
<view class="ss-flex ss-col-center" @tap="state.showDiscount = true">
<text class="item-value text-red">
-{{ fen2yuan(state.orderInfo.price.discountPrice) }}
</text>