043d4494 by ex

h5

1 parent 3699474c
......@@ -2,6 +2,10 @@ var u = navigator.userAgent;
var isAndroid = u.indexOf('Android') > -1 || u.indexOf('Adr') > -1; //android终端
var isiOS = !!u.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/); //ios终端
function AppClient(appObj, isAndroid) {
layer.open({
content: appObj,
time: 2
})
this.appObj = appObj;
this.isAndroid = isAndroid;
};
......@@ -106,6 +110,7 @@ if(isAndroid || isiOS) {
// 此处可以调用一些init的方法
});
} else {
appClient = new AppClient({}, false);
layer.open({
content: '环境判断失败',
time: 2
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!