Authored by ping

update

@@ -8,7 +8,7 @@ @@ -8,7 +8,7 @@
8 <script src="http://lib.sinaapp.com/js/jquery/1.9.1/jquery-1.9.1.min.js"></script> 8 <script src="http://lib.sinaapp.com/js/jquery/1.9.1/jquery-1.9.1.min.js"></script>
9 <script type="text/javascript"> 9 <script type="text/javascript">
10 var agent = navigator.userAgent.toLowerCase() ; 10 var agent = navigator.userAgent.toLowerCase() ;
11 - var version, type, appid, td, queryString; 11 + var version, type, appid, td, queryString, downUrl;
12 12
13 function getQueryString() { 13 function getQueryString() {
14 var vars = [], 14 var vars = [],
@@ -24,6 +24,8 @@ @@ -24,6 +24,8 @@
24 return vars; 24 return vars;
25 } 25 }
26 26
  27 + downUrl = 'http://a.app.qq.com/o/simple.jsp?pkgname=com.yoho&g_f=995445';
  28 +
27 if (agent.indexOf("like mac os x") > 0) { 29 if (agent.indexOf("like mac os x") > 0) {
28 var regStr_saf = /os [\d._]*/gi ; 30 var regStr_saf = /os [\d._]*/gi ;
29 var verinfo = agent.match(regStr_saf) ; 31 var verinfo = agent.match(regStr_saf) ;
@@ -35,6 +37,7 @@ @@ -35,6 +37,7 @@
35 version = agent.substr(agent.indexOf('android') + 8, 5); 37 version = agent.substr(agent.indexOf('android') + 8, 5);
36 type = 'android'; 38 type = 'android';
37 appid = 'com.yoho'; 39 appid = 'com.yoho';
  40 + downUrl = 'http://cdn.yoho.cn/app-downfiles/yohoBuy4.3.0_280_YOHO_2953.apk';
38 } 41 }
39 42
40 td = window.screen.width + '_' + window.screen.height + '_' + type + '_' + version; 43 td = window.screen.width + '_' + window.screen.height + '_' + type + '_' + version;
@@ -52,8 +55,8 @@ @@ -52,8 +55,8 @@
52 appid: appid 55 appid: appid
53 }, 56 },
54 complete: function() { 57 complete: function() {
55 - var appUrl = 'http://a.app.qq.com/o/simple.jsp?pkgname=com.yoho&g_f=995445';  
56 - window.location = appUrl; 58 + //var appUrl = 'http://a.app.qq.com/o/simple.jsp?pkgname=com.yoho&g_f=995445';
  59 + window.location = downUrl;
57 } 60 }
58 }); 61 });
59 62