Commit d1991c99 by agan

xg

parent dfcbcfbc
Showing with 22 additions and 14 deletions
......@@ -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 obj = {
"cid": 12,
......@@ -350,6 +350,26 @@ webAppComm.prototype.openRecords = function (type) {
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
......@@ -508,19 +528,7 @@ webAppComm.prototype.jumpToTask = function (type) {
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);
}
......
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