فهرست منبع

修改app下载页下载链接

raolu 7 سال پیش
والد
کامیت
b3b44e50f2
1فایلهای تغییر یافته به همراه9 افزوده شده و 3 حذف شده
  1. 9 3
      html/download/js/download.js

+ 9 - 3
html/download/js/download.js

@ -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";
		}
	});
	// 关闭弹层