Commit f27339a1 by 谢中龙

消费详情增加积分抵扣数据

parent cf32a757
...@@ -36,7 +36,7 @@ wxService.page({ ...@@ -36,7 +36,7 @@ wxService.page({
if(orderNo){ if(orderNo){
this.initOrderDetail(orderNo) this.initOrderDetail(orderNo)
} }
// this.initOrderDetail('71110110025959520190610160256') // this.initOrderDetail('71101890016405620191224163858')
}, },
initOrderDetail(orderNo){ initOrderDetail(orderNo){
......
...@@ -34,16 +34,17 @@ ...@@ -34,16 +34,17 @@
<view class="consumption-bottom"> <view class="consumption-bottom">
<view class="bottom-left">共{{totalNum}}件商品</view> <view class="bottom-left">共{{totalNum}}件商品</view>
<view class="bottom-right"> <view class="bottom-right">
<view>订单合计: <view class='mg-b-10'>积分抵扣:
<span class="bottom-order-total">{{utils.numberFormat(orderDetail.totalProductMoney/100)}}</span> <text class="bottom-point-num">{{orderDetail.pointPayInfo.payPoint}}</text>积分
</view>
<view class='mg-b-10'>订单合计:
<text class="bottom-order-total">{{utils.numberFormat(orderDetail.totalProductMoney/100)}}</text>
</view> </view>
<view>优惠合计: <view>优惠合计:
<span class="bottom-coupon-payment">{{utils.numberFormat(orderDetail.couponMoney/100)}}</span> <text class="bottom-coupon-payment">{{utils.numberFormat(orderDetail.couponMoney/100)}}</text>
</view> </view>
<view class="bottom-point-total">实付合计: <view class="bottom-point-total">实付合计:
<span class="bottom-point-payment" wx:if="{{orderDetail.realPayMoney}}">+{{utils.numberFormat(orderDetail.realPayMoney/100)}}</span> <text class="bottom-point-payment" wx:if="{{orderDetail.realPayMoney}}">+{{utils.numberFormat(orderDetail.realPayMoney/100)}}</text>
</view> </view>
</view> </view>
</view> </view>
......
...@@ -75,6 +75,11 @@ ...@@ -75,6 +75,11 @@
.bottom-order-total,.bottom-point-payment,.bottom-point-num,.bottom-coupon-payment { .bottom-order-total,.bottom-point-payment,.bottom-point-num,.bottom-coupon-payment {
padding-left: 20rpx; padding-left: 20rpx;
} }
.mg-b-10{
margin-bottom: 10rpx;
}
.semi-circle3{ .semi-circle3{
width: 30rpx; width: 30rpx;
height: 60rpx; height: 60rpx;
......
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