落地页

master
liuweiwen 5 years ago
parent 46befba117
commit 9a0354a287

@ -296,21 +296,22 @@
var ua = navigator.userAgent.toLowerCase(); var ua = navigator.userAgent.toLowerCase();
if (ua.match(/MicroMessenger/i) == "micromessenger") { if (ua.match(/MicroMessenger/i) == "micromessenger") {
isTipSafari = true; isTipSafari = true;
}else if(ua.match(/QQ/i) == "qq") { } else if(ua.match(/QQ/i) == "qq") {
isTipSafari = true; isTipSafari = true;
} else if(ua.match(/aliapp/i) == "aliapp") { } else if(ua.match(/aliapp/i) == "aliapp") {
isTipSafari = true; isTipSafari = true;
} else { } else {
isTipSafari = false isTipSafari = false
} }
console.log(isTipSafari);
alert(isTipSafari); alert(isTipSafari);
$("body").click(function () { $(document).on('click','html',function(){
if (isTipSafari) { if (isTipSafari) {
$('.safari').show(); $('.safari').show();
} }
}); });
$('#go_confirm').click(function () { $('#go_confirm').click(function () {
if (isTipSafari) { if (isTipSafari) {
return; return;

Loading…
Cancel
Save