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
7477279a
Commit
7477279a
authored
Nov 16, 2023
by
houdong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
全民赛登录后自动刷新
parent
3a508824
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
20 additions
and
1 deletion
+20
-1
pktop.js
Public/Home/js/pktop.js
+2
-1
app_h5.js
Public/js/app_h5.js
+18
-0
No files found.
Public/Home/js/pktop.js
View file @
7477279a
...
...
@@ -205,7 +205,8 @@ function sendSmsAndSubmit(){
if
(
targetUrl
!=
''
){
$
.
cookie
(
'denglu'
,
targetUrl
);
location
.
href
=
targetUrl
;
}
else
{
location
.
reload
();
}
...
...
Public/js/app_h5.js
View file @
7477279a
...
...
@@ -398,6 +398,24 @@ var AppBridge = {
console
.
log
(
'goWeixin error:'
+
error
);
}
},
// 关闭弹窗的交互
closeDialog
:
function
(
param
,
callback
)
{
var
_this
=
AppBridge
;
try
{
if
(
_this
.
device
==
1
)
{
setupWebViewJavascriptBridge
(
function
(
bridge
)
{
bridge
.
callHandler
(
'closeDialog'
,
{},
function
responseCallback
(
responseData
)
{
})
});
}
else
if
(
_this
.
device
==
2
)
{
window
.
KoufuCallNative
.
closeDialog
();
}
}
catch
(
error
)
{
// alert(error);
console
.
log
(
'closeDialog error:'
+
error
);
}
},
//搜索大赛跳转到原生
searchGroup
:
function
()
{
var
_this
=
AppBridge
;
...
...
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