Commit 5c1a8f62 authored by Junling Bu's avatar Junling Bu
Browse files

fix[litemall-wx-api, litemall-wx]: 订单的优惠券优惠价格显示

parent 4581d750
...@@ -207,6 +207,7 @@ public class WxOrderService { ...@@ -207,6 +207,7 @@ public class WxOrderService {
orderVo.put("mobile", order.getMobile()); orderVo.put("mobile", order.getMobile());
orderVo.put("address", order.getAddress()); orderVo.put("address", order.getAddress());
orderVo.put("goodsPrice", order.getGoodsPrice()); orderVo.put("goodsPrice", order.getGoodsPrice());
orderVo.put("couponPrice", order.getCouponPrice());
orderVo.put("freightPrice", order.getFreightPrice()); orderVo.put("freightPrice", order.getFreightPrice());
orderVo.put("actualPrice", order.getActualPrice()); orderVo.put("actualPrice", order.getActualPrice());
orderVo.put("orderStatusText", OrderUtil.orderStatusText(order)); orderVo.put("orderStatusText", OrderUtil.orderStatusText(order));
......
...@@ -60,6 +60,10 @@ ...@@ -60,6 +60,10 @@
<text class="label">运费:</text> <text class="label">运费:</text>
<text class="txt">¥{{orderInfo.freightPrice}}</text> <text class="txt">¥{{orderInfo.freightPrice}}</text>
</view> </view>
<view class="t">
<text class="label">优惠:</text>
<text class="txt">¥-{{orderInfo.couponPrice}}</text>
</view>
</view> </view>
<view class="pay-fee"> <view class="pay-fee">
<text class="label">实付:</text> <text class="label">实付:</text>
......
...@@ -227,7 +227,7 @@ page { ...@@ -227,7 +227,7 @@ page {
} }
.order-bottom .total { .order-bottom .total {
height: 106rpx; height: 130rpx;
padding-top: 20rpx; padding-top: 20rpx;
border-bottom: 1px solid #f4f4f4; border-bottom: 1px solid #f4f4f4;
} }
......
...@@ -60,6 +60,10 @@ ...@@ -60,6 +60,10 @@
<text class="label">运费:</text> <text class="label">运费:</text>
<text class="txt">¥{{orderInfo.freightPrice}}</text> <text class="txt">¥{{orderInfo.freightPrice}}</text>
</view> </view>
<view class="t">
<text class="label">优惠:</text>
<text class="txt">¥-{{orderInfo.couponPrice}}</text>
</view>
</view> </view>
<view class="pay-fee"> <view class="pay-fee">
<text class="label">实付:</text> <text class="label">实付:</text>
......
...@@ -227,7 +227,7 @@ page { ...@@ -227,7 +227,7 @@ page {
} }
.order-bottom .total { .order-bottom .total {
height: 106rpx; height: 130rpx;
padding-top: 20rpx; padding-top: 20rpx;
border-bottom: 1px solid #f4f4f4; border-bottom: 1px solid #f4f4f4;
} }
......
Supports Markdown
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