Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
7
7-Eleven
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
高淑倩
7-Eleven
Commits
97183c4b
Commit
97183c4b
authored
Aug 13, 2019
by
赵雅纹
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
复制文本
parent
4fe9c346
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
26 additions
and
13 deletions
+26
-13
logistics.js
src/pages/logistics/logistics.js
+13
-7
orderDetail.js
src/pages/orderDetail/orderDetail.js
+13
-6
No files found.
src/pages/logistics/logistics.js
View file @
97183c4b
...
...
@@ -29,19 +29,25 @@ Page({
},
/**
* 生命周期函数--监听页面初次渲染完成
*/
onReady
:
function
()
{
},
/**
* 生命周期函数--监听页面显示
*/
onShow
:
function
()
{
},
copy
(
e
)
{
wx
.
setClipboardData
({
//准备复制的数据
data
:
e
.
currentTarget
.
dataset
.
content
,
success
:
function
(
res
)
{
wx
.
showToast
({
title
:
'复制成功'
,
icon
:
'none'
});
}
});
},
/**
* 生命周期函数--监听页面隐藏
*/
...
...
src/pages/orderDetail/orderDetail.js
View file @
97183c4b
...
...
@@ -15,12 +15,6 @@ Page({
},
/**
* 生命周期函数--监听页面初次渲染完成
*/
onReady
:
function
()
{
},
/**
* 生命周期函数--监听页面显示
...
...
@@ -28,6 +22,19 @@ Page({
onShow
:
function
()
{
},
copy
(
e
)
{
wx
.
setClipboardData
({
//准备复制的数据
data
:
e
.
currentTarget
.
dataset
.
content
,
success
:
function
(
res
)
{
wx
.
showToast
({
title
:
'复制成功'
,
icon
:
'none'
});
}
});
},
/**
* 生命周期函数--监听页面隐藏
...
...
Write
Preview
Markdown
is supported
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