a22b537c by ex

弹框提示

1 parent a19c91c2
...@@ -91,17 +91,22 @@ var appClient = new AppClient(window.android, true); ...@@ -91,17 +91,22 @@ var appClient = new AppClient(window.android, true);
91 // content: window.android, 91 // content: window.android,
92 // time: 2 92 // time: 2
93 // }) 93 // })
94 layer.open({ 94
95 content: JSON.stringify(window) ,
96 time: 2
97 })
98 95
99 96
100 97
101 if(isAndroid) { 98 if(isAndroid) {
99 layer.open({
100 content: 'Android' ,
101 time: 2
102 })
102 appClient = new AppClient(window.android, true); 103 appClient = new AppClient(window.android, true);
103 // 此处可以调用一些init的方法 104 // 此处可以调用一些init的方法
104 } else if(isiOS) { 105 } else if(isiOS) {
106 layer.open({
107 content: 'IOS' ,
108 time: 2
109 })
105 function setupWebViewJavascriptBridge(callback) { 110 function setupWebViewJavascriptBridge(callback) {
106 if (window.WebViewJavascriptBridge) { return callback(WebViewJavascriptBridge); } 111 if (window.WebViewJavascriptBridge) { return callback(WebViewJavascriptBridge); }
107 if (window.WVJBCallbacks) { return window.WVJBCallbacks.push(callback); } 112 if (window.WVJBCallbacks) { return window.WVJBCallbacks.push(callback); }
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!