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
5d1c9627
authored
Sep 18, 2026
by
kaisa
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat:更新cid 64
parent
103ba275
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
31 additions
and
2 deletions
js/webAppComm.js
js/webAppComm.js
View file @
5d1c9627
...
...
@@ -58,6 +58,9 @@
// 59: 上麦/下麦
// 60:隐藏客户端标题头部
// 61:通知客户端弹起购买VIP特权弹窗
// 62:让客户端打开通用 Flutter 路由 Dialog
// 63:购买成功后通知客户端刷新商城宝石和露水余额
// 64:控制页面左右滑手势
function
webAppComm
()
{
this
.
data
=
null
;
...
...
@@ -1040,11 +1043,37 @@ webAppComm.prototype.showVIPPurchasePopup = function () {
webAppCollaboration
(
obj2
);
};
// 62:
控制页面左右滑手势
webAppComm
.
prototype
.
controlSwiperHandle
=
function
(
type
)
{
// 62:
让客户端打开通用 Flutter 路由 Dialog
webAppComm
.
prototype
.
openFlutterRouteDialog
=
function
(
routeUrl
)
{
let
obj
=
{
cid
:
62
,
data
:
{
routeUrl
:
routeUrl
,
},
};
let
obj2
=
JSON
.
stringify
(
obj
);
webAppCollaboration
(
obj2
);
};
// 63:购买成功后通知客户端刷新商城宝石和露水余额
webAppComm
.
prototype
.
refreshMallAccountBalance
=
function
(
msg
=
"通知客户端刷新商城宝石和露水余额"
)
{
let
obj
=
{
cid
:
63
,
data
:
{
msg
:
msg
,
},
};
let
obj2
=
JSON
.
stringify
(
obj
);
webAppCollaboration
(
obj2
);
};
// 64:控制页面左右滑手势
webAppComm
.
prototype
.
controlSwiperHandle
=
function
(
type
)
{
let
obj
=
{
cid
:
64
,
data
:
{
type
:
type
,
// 0:开启 1:关闭
msg
:
"控制页面左右滑手势"
,
},
...
...
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