From 9a0354a287d231a9508fe9ea202136f2c0c119fe Mon Sep 17 00:00:00 2001 From: liuweiwen <“529520975@qq.com> Date: Tue, 3 Dec 2019 19:17:21 +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 | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Application/Home/View/default/Home/landingPage.html b/Application/Home/View/default/Home/landingPage.html index 0c9541062..c24bcb144 100644 --- a/Application/Home/View/default/Home/landingPage.html +++ b/Application/Home/View/default/Home/landingPage.html @@ -296,21 +296,22 @@ var ua = navigator.userAgent.toLowerCase(); if (ua.match(/MicroMessenger/i) == "micromessenger") { isTipSafari = true; - }else if(ua.match(/QQ/i) == "qq") { + } else if(ua.match(/QQ/i) == "qq") { isTipSafari = true; } else if(ua.match(/aliapp/i) == "aliapp") { isTipSafari = true; } else { isTipSafari = false } - console.log(isTipSafari); + alert(isTipSafari); - $("body").click(function () { + $(document).on('click','html',function(){ if (isTipSafari) { $('.safari').show(); } }); + $('#go_confirm').click(function () { if (isTipSafari) { return;