Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
jinli gu
Litemall
Commits
5c1a8f62
Commit
5c1a8f62
authored
Apr 05, 2019
by
Junling Bu
Browse files
fix[litemall-wx-api, litemall-wx]: 订单的优惠券优惠价格显示
parent
4581d750
Changes
5
Hide whitespace changes
Inline
Side-by-side
litemall-wx-api/src/main/java/org/linlinjava/litemall/wx/service/WxOrderService.java
View file @
5c1a8f62
...
...
@@ -207,6 +207,7 @@ public class WxOrderService {
orderVo
.
put
(
"mobile"
,
order
.
getMobile
());
orderVo
.
put
(
"address"
,
order
.
getAddress
());
orderVo
.
put
(
"goodsPrice"
,
order
.
getGoodsPrice
());
orderVo
.
put
(
"couponPrice"
,
order
.
getCouponPrice
());
orderVo
.
put
(
"freightPrice"
,
order
.
getFreightPrice
());
orderVo
.
put
(
"actualPrice"
,
order
.
getActualPrice
());
orderVo
.
put
(
"orderStatusText"
,
OrderUtil
.
orderStatusText
(
order
));
...
...
litemall-wx/pages/ucenter/orderDetail/orderDetail.wxml
View file @
5c1a8f62
...
...
@@ -60,6 +60,10 @@
<text class="label">运费:</text>
<text class="txt">¥{{orderInfo.freightPrice}}</text>
</view>
<view class="t">
<text class="label">优惠:</text>
<text class="txt">¥-{{orderInfo.couponPrice}}</text>
</view>
</view>
<view class="pay-fee">
<text class="label">实付:</text>
...
...
litemall-wx/pages/ucenter/orderDetail/orderDetail.wxss
View file @
5c1a8f62
...
...
@@ -227,7 +227,7 @@ page {
}
.order-bottom .total {
height: 10
6
rpx;
height: 1
3
0rpx;
padding-top: 20rpx;
border-bottom: 1px solid #f4f4f4;
}
...
...
renard-wx/pages/ucenter/orderDetail/orderDetail.wxml
View file @
5c1a8f62
...
...
@@ -60,6 +60,10 @@
<text class="label">运费:</text>
<text class="txt">¥{{orderInfo.freightPrice}}</text>
</view>
<view class="t">
<text class="label">优惠:</text>
<text class="txt">¥-{{orderInfo.couponPrice}}</text>
</view>
</view>
<view class="pay-fee">
<text class="label">实付:</text>
...
...
renard-wx/pages/ucenter/orderDetail/orderDetail.wxss
View file @
5c1a8f62
...
...
@@ -227,7 +227,7 @@ page {
}
.order-bottom .total {
height: 10
6
rpx;
height: 1
3
0rpx;
padding-top: 20rpx;
border-bottom: 1px solid #f4f4f4;
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment