From a5df34cfd9401d8a2842eb5f08e7411248c61713 Mon Sep 17 00:00:00 2001 From: liuweiwen <“529520975@qq.com> Date: Tue, 3 Dec 2019 18:57:14 +0800 Subject: [PATCH] =?UTF-8?q?=E8=90=BD=E5=9C=B0=E9=A1=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Application/Home/View/default/Home/landingPage.html | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/Application/Home/View/default/Home/landingPage.html b/Application/Home/View/default/Home/landingPage.html index 8240e8d0b..d41f76a9b 100644 --- a/Application/Home/View/default/Home/landingPage.html +++ b/Application/Home/View/default/Home/landingPage.html @@ -295,7 +295,16 @@ function isTipSafari(){ var ua = navigator.userAgent.toLowerCase(); - return ua.match(/MicroMessenger/i) == "micromessenger" || ua.match(/QQ/i) == "qq" || ua.match(/aliapp/i) == "aliapp"; + if (ua.match(/MicroMessenger/i) == "micromessenger") { + return true; + }else if(ua.match(/QQ/i) == "qq") { + return true; + } else if(ua.match(/aliapp/i) == "aliapp") { + return true; + } else { + return false + } + } var isTipSafari = isTipSafari();