|
|
|
@ -295,19 +295,14 @@
|
|
|
|
|
var isTipSafari = false;
|
|
|
|
|
var ua = navigator.userAgent.toLowerCase();
|
|
|
|
|
if (ua.match(/MicroMessenger/i) == "micromessenger") {
|
|
|
|
|
alert(111);
|
|
|
|
|
isTipSafari = true;
|
|
|
|
|
} else if(ua.match(/QQ/i) == "qq") {
|
|
|
|
|
alert(222);
|
|
|
|
|
isTipSafari = true;
|
|
|
|
|
} else if(ua.match(/aliapp/i) == "aliapp") {
|
|
|
|
|
alert(333);
|
|
|
|
|
isTipSafari = true;
|
|
|
|
|
} else {
|
|
|
|
|
isTipSafari = false
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
alert(isTipSafari);
|
|
|
|
|
$(document).on('click','html',function(){
|
|
|
|
|
if (isTipSafari) {
|
|
|
|
|
$(".safari").css("position", "fixed");
|
|
|
|
@ -315,10 +310,9 @@
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
$('#go_confirm').click(function () {
|
|
|
|
|
if (isTipSafari) {
|
|
|
|
|
$('.safari').show();
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
layer.confirm('请您回到手机桌面查看安装包情况,<br/>并在安装完成后点击"点我去信任"进行<br/>快速信任证书即可', {
|
|
|
|
@ -331,6 +325,7 @@
|
|
|
|
|
});
|
|
|
|
|
$('.down-link').on('click', function () {
|
|
|
|
|
if (isTipSafari) {
|
|
|
|
|
$('.safari').show();
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
var downLink = $(this).attr('down-link');
|
|
|
|
@ -360,6 +355,7 @@
|
|
|
|
|
|
|
|
|
|
$('.no-package').click(function() {
|
|
|
|
|
if (isTipSafari) {
|
|
|
|
|
$('.safari').show();
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
layer.msg('暂无下载', {
|
|
|
|
@ -373,6 +369,7 @@
|
|
|
|
|
}
|
|
|
|
|
$(".more").click(function(){
|
|
|
|
|
if (isTipSafari) {
|
|
|
|
|
$('.safari').show();
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
$("#look_more").hide();
|
|
|
|
@ -402,13 +399,15 @@
|
|
|
|
|
swiperGet();
|
|
|
|
|
$(".download").click(function(){
|
|
|
|
|
if (isTipSafari) {
|
|
|
|
|
return false;
|
|
|
|
|
$('.safari').show();
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
$(".window").show();
|
|
|
|
|
document.body.style.overflow = 'hidden';
|
|
|
|
|
});
|
|
|
|
|
$(".window").click(function(){
|
|
|
|
|
if (isTipSafari) {
|
|
|
|
|
$('.safari').show();
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
$(".window").hide();
|
|
|
|
@ -416,6 +415,7 @@
|
|
|
|
|
});
|
|
|
|
|
$(".gray-btn").click(function(){
|
|
|
|
|
if (isTipSafari) {
|
|
|
|
|
$('.safari').show();
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
event.stopPropagation();
|
|
|
|
@ -426,6 +426,7 @@
|
|
|
|
|
})
|
|
|
|
|
$(".second").click(function(){
|
|
|
|
|
if (isTipSafari) {
|
|
|
|
|
$('.safari').show();
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
$(".second").hide();
|
|
|
|
@ -433,6 +434,7 @@
|
|
|
|
|
})
|
|
|
|
|
$(".doubt").click(function(){
|
|
|
|
|
if (isTipSafari) {
|
|
|
|
|
$('.safari').show();
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
$(".second").show();
|
|
|
|
|