Merge remote-tracking branch 'remotes/origin/develop/wap' into beta/wap
Showing
1 changed file
with
2 additions
and
10 deletions
@@ -87,10 +87,6 @@ $('#limit-sale').on('touchend', function(e) { | @@ -87,10 +87,6 @@ $('#limit-sale').on('touchend', function(e) { | ||
87 | u = navigator.userAgent, | 87 | u = navigator.userAgent, |
88 | ifr; | 88 | ifr; |
89 | 89 | ||
90 | - var isAndroid = u.indexOf('Android') > -1 || u.indexOf('Linux') > -1, | ||
91 | - isIPhone = u.indexOf('iPhone') > -1, | ||
92 | - isIPad = u.indexOf('iPad') > -1; | ||
93 | - | ||
94 | e.stopPropagation(); | 90 | e.stopPropagation(); |
95 | 91 | ||
96 | if(loginUrl) { | 92 | if(loginUrl) { |
@@ -110,12 +106,8 @@ $('#limit-sale').on('touchend', function(e) { | @@ -110,12 +106,8 @@ $('#limit-sale').on('touchend', function(e) { | ||
110 | window.location.href = appUrl; | 106 | window.location.href = appUrl; |
111 | window.setTimeout(function(){ | 107 | window.setTimeout(function(){ |
112 | document.body.removeChild(ifr); | 108 | document.body.removeChild(ifr); |
113 | - if (isAndroid) { | ||
114 | - window.location.href = 'http://yoho-apps.qiniudn.com/YohoBuy_YOHO.apk'; | ||
115 | - } else if (isIPhone || isIPad) { | ||
116 | - window.location.href = 'https://itunes.apple.com/cn/app/yoho!-you-huo/id490655927?mt=8'; | ||
117 | - } | ||
118 | - },3000) | 109 | + window.location.href = 'http://a.app.qq.com/o/simple.jsp?pkgname=com.yoho'; |
110 | + },3000); | ||
119 | 111 | ||
120 | }, undefined, true); | 112 | }, undefined, true); |
121 | 113 |
-
Please register or login to post a comment