Commit a378e1c4 authored by xishifeng's avatar xishifeng

下载页修改

parent 4b4a85ea
......@@ -52,7 +52,15 @@
},
beforeSend: function() {},
success: function(data) {
$('#android_link').attr('href',data.data.app_path);
$(document).on('click','#android_link',function(e){
e.preventDefault();
e.stopPropagation();
if(~navigator.userAgent.indexOf('MicroMessenger')){
$("#footer_and").show();
}else{
location.href = data.data.app_path;
}
});
},
error: function() {
alert("暂无最新app链接")
......@@ -71,9 +79,6 @@
// alert(u);
if (u.indexOf('Android') > -1 || u.indexOf('Linux') > -1) { //安卓手机
//alert("安卓手机");
if (u.indexOf('MicroMessenger') > -1) {
$("#footer_and").show();
}
$(".img_a").css("top", "9rem").show();
//alert(123);
} else if (u.indexOf('iPhone') > -1) { //苹果手机
......
......@@ -50,7 +50,16 @@
},
beforeSend: function() {},
success: function(data) {
$('#android_link').attr('href',data.data.app_path);
$(document).on('click','#android_link',function(e){
e.preventDefault();
e.stopPropagation();
if(~navigator.userAgent.indexOf('MicroMessenger')){
$("#footer_and").show();
}else{
location.href = data.data.app_path;
}
});
},
error: function() {
......@@ -69,9 +78,6 @@
// alert(u);
if (u.indexOf('Android') > -1 || u.indexOf('Linux') > -1) { //安卓手机
//alert("安卓手机");
if (u.indexOf('MicroMessenger') > -1) {
$("#footer_and").show();
}
$(".img_a").css("top", "9rem").show();
//alert(123);
} else if (u.indexOf('iPhone') > -1) { //苹果手机
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment