落地页

master
liuweiwen 5 years ago
parent 33de8241a9
commit 7dc73e7210

@ -293,18 +293,16 @@
<script> <script>
function is_tip_safari() { function is_tip_safari() {
return true;
var isTipSafari = false; var isTipSafari = false;
var ua = navigator.userAgent.toLowerCase(); var ua = navigator.userAgent.toLowerCase();
if (ua.match(/MicroMessenger/i) == "micromessenger") { if (ua.match(/MicroMessenger/i) == "micromessenger") {
alert(111);
isTipSafari = true; isTipSafari = true;
//$('.safari').show(); //$('.safari').show();
} else if(ua.match(/QQ/i) == "qq") { } else if(ua.match(/QQ/i) == "qq") {
alert(222);
isTipSafari = true; isTipSafari = true;
//$('.safari').show(); //$('.safari').show();
} else if(ua.match(/dingtalk/i) == "dingtalk") { } else if(ua.match(/dingtalk/i) == "dingtalk") {
alert(ua);
isTipSafari = true; isTipSafari = true;
//$('.safari').show(); //$('.safari').show();
} }
@ -328,9 +326,7 @@
isTipSafari = false isTipSafari = false
}*/ }*/
var isTipSafari = is_tip_safari(); var isTipSafari = is_tip_safari();
alert(isTipSafari);
if (isTipSafari) { if (isTipSafari) {
console.log(456);
$(".safari").css("position", "fixed"); $(".safari").css("position", "fixed");
$('.safari').show(); $('.safari').show();
} }

Loading…
Cancel
Save