Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
libai
/
Static
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
6098c1f4
authored
Oct 20, 2026
by
kaisa
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat:补充cid 2
parent
fb498f8c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
1 deletions
js/webAppComm.js
js/webAppComm.js
View file @
6098c1f4
...
@@ -192,6 +192,20 @@ function webAppComm() {
...
@@ -192,6 +192,20 @@ function webAppComm() {
this
.
needRefresh
=
false
;
this
.
needRefresh
=
false
;
}
}
//2:跳转新的webview页面
// 此cid应用场景可以用于跳转前的页面头部是自定义的,在这个页面跳转到新的页面头部是存在的,如果直接通过路由跳的话,跳转后的页面头部会消失,所以需要通过cid2来进行跳转
webAppComm
.
prototype
.
goWebView
=
function
(
url
)
{
let
obj
=
{
cid
:
2
,
reqCode
:
new
Date
().
getTime
(),
data
:
{
url
:
url
,
},
};
let
obj2
=
JSON
.
stringify
(
obj
);
webAppCollaboration
(
obj2
);
}
//3:分享
//3:分享
webAppComm
.
prototype
.
goShare
=
function
(
shareContent
,
shareType
)
{
webAppComm
.
prototype
.
goShare
=
function
(
shareContent
,
shareType
)
{
let
mShare
=
shareType
||
{
let
mShare
=
shareType
||
{
...
@@ -286,7 +300,7 @@ webAppComm.prototype.goBindWechat = function () {
...
@@ -286,7 +300,7 @@ webAppComm.prototype.goBindWechat = function () {
webAppCollaboration
(
obj
);
webAppCollaboration
(
obj
);
};
};
//弹出帮助
//
9:
弹出帮助
webAppComm
.
prototype
.
needHelp
=
function
()
{
webAppComm
.
prototype
.
needHelp
=
function
()
{
let
obj
=
{
let
obj
=
{
cid
:
9
,
cid
:
9
,
...
...
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