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
d1991c99
authored
Oct 27, 2023
by
agan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
xg
parent
dfcbcfbc
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
22 additions
and
14 deletions
js/webAppComm.js
js/webAppComm.js
View file @
d1991c99
...
@@ -291,7 +291,7 @@ webAppComm.prototype.ifHasApp = function () {
...
@@ -291,7 +291,7 @@ webAppComm.prototype.ifHasApp = function () {
}
}
//跳转
//跳转
webAppComm
.
prototype
.
goOthers
=
function
(
jumptype
,
url
,
isHide
)
{
webAppComm
.
prototype
.
goOthers
=
function
(
jumptype
,
url
,
isHide
)
{
let
arr
=
{
16
:
'去儲值'
,
18
:
'跳轉到座駕'
,
3
:
'跳轉集合功能'
,
13
:
'VIP中心'
};
let
arr
=
{
16
:
'去儲值'
,
18
:
'跳轉到座駕'
,
3
:
'跳轉集合功能'
,
13
:
'VIP中心'
};
let
obj
=
{
let
obj
=
{
"cid"
:
12
,
"cid"
:
12
,
...
@@ -350,6 +350,26 @@ webAppComm.prototype.openRecords = function (type) {
...
@@ -350,6 +350,26 @@ webAppComm.prototype.openRecords = function (type) {
appCollaboration
(
obj2
);
appCollaboration
(
obj2
);
}
}
// 31: 打开半屏网页
webAppComm
.
prototype
.
openHalfWeb
=
function
(
param
)
{
let
obj
=
{
"cid"
:
31
,
"data"
:
{
popupType
:
param
.
type
,
heightR
:
param
.
height
,
widthR
:
param
.
width
,
clickBlank
:
param
.
clickBlank
,
url
:
param
.
url
,
top
:
param
.
top
,
left
:
param
.
left
,
bottom
:
param
.
bottom
,
right
:
param
.
right
}
}
let
obj2
=
JSON
.
stringify
(
obj
);
webAppCollaboration
(
obj2
);
}
//webview右上角的icon
//webview右上角的icon
...
@@ -508,19 +528,7 @@ webAppComm.prototype.jumpToTask = function (type) {
...
@@ -508,19 +528,7 @@ webAppComm.prototype.jumpToTask = function (type) {
webAppCollaboration
(
obj2
);
webAppCollaboration
(
obj2
);
}
}
// 41: 打开半屏网页
webAppComm
.
prototype
.
openHalfWeb
=
function
(
url
,
width
,
height
)
{
let
obj
=
{
"cid"
:
41
,
"data"
:
{
url
:
url
,
width
:
width
,
height
:
height
}
}
let
obj2
=
JSON
.
stringify
(
obj
);
webAppCollaboration
(
obj2
);
}
...
...
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