Toggle navigation
Toggle navigation
This project
Loading...
Sign in
mobile
/
yoho-miniapp-ufo
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Plain Diff
Browse Files
Authored by
QC-L
2018-11-14 16:45:08 +0800
Commit
2d10a56fb97cac1276b751df0c4db3b6222d3e80
2 parents
1ac2a264
2513247d
Merge branch 'UFO_1.0.0' of git.yoho.cn:mobile/yoho-miniapp-ufo into UFO_1.0.0
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
1 deletions
src/pages/orderDetail/index.js
src/pages/orderDetail/index.wxml
src/pages/orderDetail/index.js
View file @
2d10a56
...
...
@@ -160,6 +160,14 @@ Page({
router
.
go
(
'productDetail'
,
params
);
},
onClickLogistics
:
function
(
e
)
{
let
orderCode
=
e
.
currentTarget
.
dataset
.
orderCode
;
let
params
=
{
orderCode
}
router
.
go
(
'logistics'
,
params
);
},
onCopyOrderCode
:
function
()
{
let
orderCode
=
String
(
this
.
data
.
data
.
orderCode
);;
wx
.
setClipboardData
({
...
...
src/pages/orderDetail/index.wxml
View file @
2d10a56
...
...
@@ -9,7 +9,7 @@
<text class='order-detail-tips-txt' wx:if="{{data.statusDetail.detailDesc}}">{{data.statusDetail.detailDesc}}</text>
</view>
<view class='order-detail-split-line'></view>
<view class='order-detail-logistics-view' wx:if="{{data.lastExpressInfo}}">
<view class='order-detail-logistics-view' wx:if="{{data.lastExpressInfo}}"
bindtap='onClickLogistics' data-order-code='{{data.orderCode}}'
>
<view class='order-detail-logistics-info-view'>
<image class='order-detail-address-image' src='../../assets/images/express_info@2x.png'></image>
<view class='order-detail-logistics-dec-view'>
...
...
Please
register
or
login
to post a comment