Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
cof_vip
Project
Project
Details
Activity
Releases
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
houdong
cof_vip
Commits
ea9e16db
Commit
ea9e16db
authored
Dec 15, 2023
by
houdong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug
parent
31cec99e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
4 deletions
+7
-4
app_h5.js
Public/js/app_h5.js
+2
-0
index.html
app/Tpl/Vip/PkTop/index.html
+5
-4
No files found.
Public/js/app_h5.js
View file @
ea9e16db
...
@@ -1067,6 +1067,7 @@ var AppBridge = {
...
@@ -1067,6 +1067,7 @@ var AppBridge = {
},
},
goHomeActivity
:
function
(
param
)
{
goHomeActivity
:
function
(
param
)
{
// alert(param);
var
_this
=
AppBridge
;
var
_this
=
AppBridge
;
try
{
try
{
if
(
_this
.
device
==
1
)
{
if
(
_this
.
device
==
1
)
{
...
@@ -1076,6 +1077,7 @@ var AppBridge = {
...
@@ -1076,6 +1077,7 @@ var AppBridge = {
})
})
});
});
}
else
if
(
_this
.
device
==
2
)
{
}
else
if
(
_this
.
device
==
2
)
{
window
.
KoufuCallNative
.
goHomeActivity
(
param
);
window
.
KoufuCallNative
.
goHomeActivity
(
param
);
}
}
}
catch
(
error
)
{
}
catch
(
error
)
{
...
...
app/Tpl/Vip/PkTop/index.html
View file @
ea9e16db
...
@@ -46,15 +46,16 @@
...
@@ -46,15 +46,16 @@
if
(
mfrom
[
0
]
==
1
&&
mfrom
[
1
]
>=
410
)
{
if
(
mfrom
[
0
]
==
1
&&
mfrom
[
1
]
>=
410
)
{
AppBridge
.
goHomeActivity
({
"type1"
:
3
,
"type2"
:
1
,
"type3"
:
0
});
AppBridge
.
goHomeActivity
({
"type1"
:
3
,
"type2"
:
1
,
"type3"
:
0
});
}
}
if
(
mfrom
[
0
]
==
2
&&
mfrom
[
1
]
>=
410
)
{
//
if (mfrom[0]==2&&mfrom[1]>=410) {
// AppBridge.goHomeActivity({"type1":5,"type2":1,"type3":0});
// AppBridge.goHomeActivity({"type1":5,"type2":1,"type3":0});
// jsonObj=JSON.parse({"type1":5,"type2":1,"type3":0});
// jsonObj=JSON.parse({"type1":5,"type2":1,"type3":0});
// AppBridge.goHomeActivity(jsonObj);
// AppBridge.goHomeActivity(jsonObj);
jsonObj
=
JSON
.
parse
({
"type1"
:
5
,
"type2"
:
1
,
"type3"
:
0
});
jsonObj
=
{
"type1"
:
5
,
"type2"
:
1
,
"type3"
:
0
};
AppBridge
.
goHomeActivity
(
jsonObj
.
toString
());
}
AppBridge
.
goHomeActivity
(
JSON
.
stringify
(
jsonObj
));
// }
//页面默认刷新
//页面默认刷新
var
userId
=
"{$user.userID}"
;
//这个userid 一定是从session或者cookie里验证后获取到的。
var
userId
=
"{$user.userID}"
;
//这个userid 一定是从session或者cookie里验证后获取到的。
...
...
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