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
f75bf9d7
Commit
f75bf9d7
authored
Nov 13, 2019
by
Junling Bu
Browse files
feat[litemall-wx, litemall-wx-api]: 显示订单留言
parent
285d1643
Changes
5
Hide whitespace changes
Inline
Side-by-side
litemall-wx-api/src/main/java/org/linlinjava/litemall/wx/service/WxOrderService.java
View file @
f75bf9d7
...
...
@@ -191,6 +191,7 @@ public class WxOrderService {
Map
<
String
,
Object
>
orderVo
=
new
HashMap
<
String
,
Object
>();
orderVo
.
put
(
"id"
,
order
.
getId
());
orderVo
.
put
(
"orderSn"
,
order
.
getOrderSn
());
orderVo
.
put
(
"message"
,
order
.
getMessage
());
orderVo
.
put
(
"addTime"
,
order
.
getAddTime
());
orderVo
.
put
(
"consignee"
,
order
.
getConsignee
());
orderVo
.
put
(
"mobile"
,
order
.
getMobile
());
...
...
litemall-wx/pages/ucenter/orderDetail/orderDetail.wxml
View file @
f75bf9d7
<view class="container">
<view class="order-info">
<view class="item-a">下单时间:{{orderInfo.addTime}}</view>
<view class="item-b">订单编号:{{orderInfo.orderSn}}</view>
<view class="item">下单时间:{{orderInfo.addTime}}</view>
<view class="item">订单编号:{{orderInfo.orderSn}}</view>
<view class="item">订单留言:{{orderInfo.message}}</view>
<view class="item-c">
<view class="l">实付:
<text class="cost">¥{{orderInfo.actualPrice}}</text>
...
...
litemall-wx/pages/ucenter/orderDetail/orderDetail.wxss
View file @
f75bf9d7
...
...
@@ -11,7 +11,7 @@ page {
overflow: hidden;
}
.item
-a
{
.item {
padding-left: 31.25rpx;
height: 42.5rpx;
padding-bottom: 12.5rpx;
...
...
@@ -20,16 +20,6 @@ page {
color: #666;
}
.item-b {
padding-left: 31.25rpx;
height: 29rpx;
line-height: 29rpx;
margin-top: 12.5rpx;
margin-bottom: 41.5rpx;
font-size: 30rpx;
color: #666;
}
.item-c {
margin-left: 31.25rpx;
border-top: 1px solid #f4f4f4;
...
...
renard-wx/pages/ucenter/orderDetail/orderDetail.wxml
View file @
f75bf9d7
<view class="container">
<view class="order-info">
<view class="item-a">下单时间:{{orderInfo.addTime}}</view>
<view class="item-b">订单编号:{{orderInfo.orderSn}}</view>
<view class="item">下单时间:{{orderInfo.addTime}}</view>
<view class="item">订单编号:{{orderInfo.orderSn}}</view>
<view class="item">订单留言:{{orderInfo.message}}</view>
<view class="item-c">
<view class="l">实付:
<text class="cost">¥{{orderInfo.actualPrice}}</text>
...
...
renard-wx/pages/ucenter/orderDetail/orderDetail.wxss
View file @
f75bf9d7
...
...
@@ -11,7 +11,7 @@ page {
overflow: hidden;
}
.item
-a
{
.item {
padding-left: 31.25rpx;
height: 42.5rpx;
padding-bottom: 12.5rpx;
...
...
@@ -20,16 +20,6 @@ page {
color: #666;
}
.item-b {
padding-left: 31.25rpx;
height: 29rpx;
line-height: 29rpx;
margin-top: 12.5rpx;
margin-bottom: 41.5rpx;
font-size: 30rpx;
color: #666;
}
.item-c {
margin-left: 31.25rpx;
border-top: 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