Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
X
XiTianSenMall
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
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
leiqingsong
XiTianSenMall
Commits
736b1261
Commit
736b1261
authored
4 years ago
by
leiqingsong
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev_lqs' into 'master'
Dev lqs See merge request
!114
parents
bcdd5f8b
0aacceb1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
10 deletions
+10
-10
bridgeToAppFun.js
H5/src/utils/bridgeToAppFun.js
+10
-10
No files found.
H5/src/utils/bridgeToAppFun.js
View file @
736b1261
...
...
@@ -62,17 +62,17 @@ class bridgeToAppFun {
}
navigateBack
()
{
console
.
log
(
"返回"
);
if
(
this
.
userAgent
===
"android"
)
{
console
.
log
(
"an"
);
//
if (this.userAgent === "android") {
//
console.log("an");
try
{
const
home_url
=
"https://shop92680967.youzan.com/v2/showcase/homepage?alias=6aFsQ4vCp7"
;
const
home_url
=
"https://shop92680967.youzan.com/v2/showcase/homepage?alias=6aFsQ4vCp7"
;
location
.
href
=
home_url
;
}
catch
{
console
.
log
(
"返回调用失败,都不行"
);
}
}
else
{
jsBridge
.
callhandler
(
"navigateBack"
);
}
//
} else {
//
jsBridge.callhandler("navigateBack");
//
}
}
showBottomBar
(
params
)
{
console
.
log
(
"隐藏底部"
);
...
...
This diff is collapsed.
Click to expand it.
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