|
@ -33,18 +33,24 @@ $(function(){
|
|
|
}
|
|
|
if (browser.versions.ios) {
|
|
|
//是否在IOS浏览器打开
|
|
|
window.location.href = "https://itunes.apple.com/us/app/sha-meni-jian-kang.-yi-sheng/id1128693141?mt=8";
|
|
|
// window.location.href = "https://itunes.apple.com/us/app/sha-meni-jian-kang.-yi-sheng/id1128693141?mt=8";
|
|
|
var content = "IOS版暂未开放,敬请期待!请下载使用Android版本!";
|
|
|
dialog({
|
|
|
content: content,
|
|
|
okValue: "我知道了",
|
|
|
ok: function(){}
|
|
|
}).showModal();
|
|
|
}
|
|
|
if(browser.versions.android){
|
|
|
//是否在安卓浏览器打开
|
|
|
window.location.href = "http://www.xmtyw.cn/wlyy/app/ssgg_doctor.apk";
|
|
|
window.location.href = "http://srijk.yihu.com/wlyy/app/ssgg_doctor.apk";
|
|
|
}
|
|
|
// if (ua.match(/MicroMessenger/i) != "micromessenger" && !browser.versions.ios && !browser.versions.android) {
|
|
|
// window.location.href = "http://www.xmtyw.cn/wlyy/app/ssgg_doctor.apk";
|
|
|
// }
|
|
|
} else {
|
|
|
// pc默认下载安卓
|
|
|
window.location.href = "http://www.xmtyw.cn/wlyy/app/ssgg_doctor.apk";
|
|
|
window.location.href = "http://srijk.yihu.com/wlyy/app/ssgg_doctor.apk";
|
|
|
}
|
|
|
});
|
|
|
// 关闭弹层
|