Commit d7f7c7be by 高淑倩

下单页活动折扣

parent c5aa9070
...@@ -122,6 +122,12 @@ ...@@ -122,6 +122,12 @@
</view> </view>
<view class="coupon"> <view class="coupon">
<view> <view>
<text class="price-label">活动折扣</text>
<text class="total-price">¥{{utils.numberFormat(currentOrderList.promotionDiscount)}}</text>
</view>
</view>
<view class="coupon">
<view>
<text class="price-label">优惠券</text> <text class="price-label">优惠券</text>
<view class="select-coupon" bindtap="selectCoupon"> <view class="select-coupon" bindtap="selectCoupon">
<text class="{{defalutCoupon ? 'coupon-price' : 'no-coupon'}}"> {{defalutCoupon?'-': '无可用优惠券'}}{{currentCoupon ? currentCoupon : defalutCoupon}}{{defalutCoupon?'元': ''}}</text> <text class="{{defalutCoupon ? 'coupon-price' : 'no-coupon'}}"> {{defalutCoupon?'-': '无可用优惠券'}}{{currentCoupon ? currentCoupon : defalutCoupon}}{{defalutCoupon?'元': ''}}</text>
...@@ -129,6 +135,7 @@ ...@@ -129,6 +135,7 @@
</view> </view>
</view> </view>
</view> </view>
<view class="coupon"> <view class="coupon">
<view> <view>
<text class="price-label">运费</text> <text class="price-label">运费</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