Commit 1564a68f by agan

xg

parent 5214f041
Showing with 20 additions and 1 deletions
......@@ -35,6 +35,9 @@
// 37:web页面加载完毕时
// 38: 打开签到提醒
// 39: 告知客户端渠道信息
// 40: 跳转任务界面
// 41: 打开半屏网页
function webAppComm() {
this.data = null;
......@@ -493,7 +496,7 @@ webAppComm.prototype.sendBindInfos = function (cid, uid, lang, type) {
}
// 40: 跳转任务界面
webAppComm.prototype.jumpToTask = function (type){
webAppComm.prototype.jumpToTask = function (type) {
let obj = {
"cid": 40,
"data": {
......@@ -504,6 +507,22 @@ webAppComm.prototype.jumpToTask = function (type){
webAppCollaboration(obj2);
}
// 41: 打开半屏网页
webAppComm.prototype.openHelfWeb = function (url, width, height) {
let obj = {
"cid": 41,
"data": {
url: url,
width: width,
height: height
}
}
let obj2 = JSON.stringify(obj);
webAppCollaboration(obj2);
}
//接收客戶端的消息
webAppComm.prototype.reMsgFromApp = function (callback) {
callback && callback();
......
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