Browse Source

【新增】订单详情:积分抵扣展示

puhui999 1 year ago
parent
commit
c78a849c96
1 changed files with 4 additions and 0 deletions
  1. 4 0
      pages/order/detail.vue

+ 4 - 0
pages/order/detail.vue

@@ -175,6 +175,10 @@
         <text class="title">优惠劵金额</text>
         <text class="title">优惠劵金额</text>
         <text class="detail">-¥{{ fen2yuan(state.orderInfo.couponPrice) }}</text>
         <text class="detail">-¥{{ fen2yuan(state.orderInfo.couponPrice) }}</text>
       </view>
       </view>
+      <view class="notice-item ss-flex ss-row-between" v-if="state.orderInfo.pointPrice > 0">
+        <text class="title">积分抵扣</text>
+        <text class="detail">-¥{{ fen2yuan(state.orderInfo.pointPrice) }}</text>
+      </view>
       <view class="notice-item ss-flex ss-row-between" v-if="state.orderInfo.discountPrice > 0">
       <view class="notice-item ss-flex ss-row-between" v-if="state.orderInfo.discountPrice > 0">
         <text class="title">活动优惠</text>
         <text class="title">活动优惠</text>
         <text class="detail">¥{{ fen2yuan(state.orderInfo.discountPrice) }}</text>
         <text class="detail">¥{{ fen2yuan(state.orderInfo.discountPrice) }}</text>