...
|
...
|
@@ -36,9 +36,19 @@ |
|
|
return vars;
|
|
|
}
|
|
|
|
|
|
queryString = getQueryString();
|
|
|
downUrl = 'http://a.app.qq.com/o/simple.jsp?pkgname=com.yoho&g_f=995445';
|
|
|
//downUrl = "https://itunes.apple.com/cn/app/yoho!-you-huo/id490655927?mt=8";
|
|
|
|
|
|
var appkey = queryString.appkey;
|
|
|
|
|
|
if (appkey == "yoho") {
|
|
|
//yohonow
|
|
|
downUrl = "http://a.app.qq.com/o/simple.jsp?pkgname=cn.yoho.magazine#opened";
|
|
|
} else if (appkey == "mars") {
|
|
|
//mars
|
|
|
downUrl = "https://itunes.apple.com/cn/app/mars-xin-xian-hao-qu-chu-yu/id1056487123?l=en&mt=8";
|
|
|
}
|
|
|
|
|
|
if (agent.indexOf("like mac os x") > 0) {
|
|
|
var regStr_saf = /os [\d._]*/gi ;
|
|
|
var verinfo = agent.match(regStr_saf) ;
|
...
|
...
|
@@ -47,7 +57,7 @@ |
|
|
type = 'ios';
|
|
|
appid = '490655927';
|
|
|
td = window.screen.width + '_' + window.screen.height + '_' + type + '_' + version;
|
|
|
|
|
|
|
|
|
} else if (agent.indexOf('android') > -1 || agent.indexOf('linux') > -1) {
|
|
|
var indextd = agent.indexOf('_td');
|
|
|
var index = agent.indexOf(' build');
|
...
|
...
|
@@ -79,7 +89,7 @@ |
|
|
//downUrl = 'http://cdn.yoho.cn/app-downfiles/yohoBuy_YOHO_2953.apk';
|
|
|
}
|
|
|
|
|
|
queryString = getQueryString();
|
|
|
|
|
|
|
|
|
$.ajax({
|
|
|
method: 'POST',
|
...
|
...
|
|