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
94e30ce1
Commit
94e30ce1
authored
Mar 03, 2020
by
pengguangpu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
balance.js中已使用reLaunch跳转,去掉支付成功页返回按钮监听;
parent
df4af4c4
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
23 deletions
+0
-23
actioncmd.js
const/actioncmd.js
+0
-3
paysuccess.js
pages/paysuccess/paysuccess.js
+0
-20
No files found.
const/actioncmd.js
View file @
94e30ce1
...
@@ -82,6 +82,3 @@ export const ACTION_VERIFY_FAILED = "ACTION_VERIFY_FAILED";
...
@@ -82,6 +82,3 @@ export const ACTION_VERIFY_FAILED = "ACTION_VERIFY_FAILED";
//退出事件
//退出事件
export
const
ACTION_QUIT
=
"ACTION_QUIT"
;
export
const
ACTION_QUIT
=
"ACTION_QUIT"
;
//支付成功页点击返回按钮
export
const
ACTION_PAYSUCCESS_PAGE_BACK
=
"ACTION_PAYSUCCESS_PAGE_BACK"
;
\ No newline at end of file
pages/paysuccess/paysuccess.js
View file @
94e30ce1
...
@@ -4,26 +4,6 @@ import { ACTION_GO_HOME } from '../../const/actioncmd'
...
@@ -4,26 +4,6 @@ import { ACTION_GO_HOME } from '../../const/actioncmd'
import
{
ACTION_PAYSUCCESS_PAGE_BACK
}
from
'../../const/actioncmd'
import
{
ACTION_PAYSUCCESS_PAGE_BACK
}
from
'../../const/actioncmd'
Page
({
Page
({
//回退到上一个页面
events
:
{
onBack
(
e
)
{
console
.
log
(
'onBack触发'
);
my
.
ix
.
sendBuddyMessage
({
// 填入目标小程序的 AppID
target
:
getApp
().
globalData
.
backScreenAppId
,
data
:
{
action
:
ACTION_PAYSUCCESS_PAGE_BACK
,
data
:
null
},
success
:
(
res
)
=>
{
e
.
preventDefault
();
},
fail
:
(
res
)
=>
{
console
.
info
(
`sendBuddyMessage failed:
${
JSON
.
stringify
(
res
)}
`
);
}
});
}
},
data
:
{
data
:
{
orderPriceYuan
:
"--.--"
,
orderPriceYuan
:
"--.--"
,
...
...
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