Commit 39aa226d authored by 黄媛媛's avatar 黄媛媛

更新

parent 4b3926f4
...@@ -86,7 +86,7 @@ ...@@ -86,7 +86,7 @@
var ua = navigator.userAgent.toLowerCase(); var ua = navigator.userAgent.toLowerCase();
var u = navigator.userAgent, app = navigator.appVersion; var u = navigator.userAgent, app = navigator.appVersion;
var isAndroid = u.indexOf('Android') > -1 || u.indexOf('Linux') > -1; var isAndroid = u.indexOf('Android') > -1 || u.indexOf('Linux') > -1;
if (ua.match(/MicroMessenger/i) != "micromessenger" && !isAndroid) {//不在微信中打开并且不在android if (ua.match(/MicroMessenger/i) == "micromessenger" && isAndroid) {//不在微信中打开并且不在android
$('#tc').css('display', 'block') $('#tc').css('display', 'block')
layer.msg('请在浏览器中打开!') layer.msg('请在浏览器中打开!')
} }
......
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 to comment