Commit 5d1c9627 by kaisa

feat:更新cid 64

parent 103ba275
Showing with 31 additions and 2 deletions
......@@ -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: "控制页面左右滑手势",
},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment