Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
D
doublescreen-front
Project
Project
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
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
pengguangpu
doublescreen-front
Commits
ff4e05b4
Commit
ff4e05b4
authored
Feb 26, 2020
by
jiangjiantao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bugfix
parent
30e071e5
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
21 additions
and
0 deletions
+21
-0
balance.js
pages/balance/balance.js
+7
-0
paysuccess.js
pages/paysuccess/paysuccess.js
+8
-0
scan.js
pages/scan/scan.js
+6
-0
No files found.
pages/balance/balance.js
View file @
ff4e05b4
...
...
@@ -15,6 +15,13 @@ Page({
orderNo
:
""
,
isPaying
:
false
,
},
onReady
()
{
if
(
my
.
canIUse
(
'hideBackHome'
))
{
my
.
hideBackHome
();
}
},
onLoad
(
options
)
{
var
totalQuantity
=
options
.
totalQuantity
var
totalPrice
=
options
.
totalPrice
...
...
pages/paysuccess/paysuccess.js
View file @
ff4e05b4
...
...
@@ -22,6 +22,14 @@ Page({
payChannel
:
"未知"
,
paySuccessResponse
:
null
},
onReady
()
{
if
(
my
.
canIUse
(
'hideBackHome'
))
{
my
.
hideBackHome
();
}
},
onLoad
(
query
)
{
console
.
info
(
`Page onLoad with query:
${
JSON
.
stringify
(
query
)}
`
);
//从本地获取相关数据
...
...
pages/scan/scan.js
View file @
ff4e05b4
...
...
@@ -30,6 +30,12 @@ Page({
dialogResultFailureText
:
"录入失败,请稍后重试!"
,
},
onReady
()
{
if
(
my
.
canIUse
(
'hideBackHome'
))
{
my
.
hideBackHome
();
}
},
onLoad
:
function
(
options
)
{
var
barcode
=
options
.
barcode
if
(
barcode
!=
null
)
{
...
...
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