Commit 4d28d77f by agan

修改

parent 5c4c477b
Showing with 18 additions and 0 deletions
...@@ -30,6 +30,9 @@ ...@@ -30,6 +30,9 @@
// 33:打开更多功能面板 // 33:打开更多功能面板
// 34:修改标题 // 34:修改标题
// 35:打开游戏 // 35:打开游戏
// 36:播放動畫
// 37:web页面加载完毕时
function webAppComm() { function webAppComm() {
...@@ -428,6 +431,21 @@ webAppComm.prototype.playAnimate = function (mData) { ...@@ -428,6 +431,21 @@ webAppComm.prototype.playAnimate = function (mData) {
webAppCollaboration(obj2); webAppCollaboration(obj2);
} }
// 37:web加载完毕
webAppComm.prototype.domReady = function (mData) {
var obj = {
"cid": 37,
"data": mData
}
var obj2 = JSON.stringify(obj);
webAppCollaboration(obj2);
}
//接收客戶端的消息
webAppComm.prototype.reMsgFromApp = function (callback) {
callback && callback();
}
webAppComm.prototype.url_get_params = function (url_path) { webAppComm.prototype.url_get_params = function (url_path) {
var url = url_path; var url = url_path;
......
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