Showing
1 changed file
with
4 additions
and
5 deletions
@@ -24,11 +24,6 @@ | @@ -24,11 +24,6 @@ | ||
24 | <link rel="dns-prefetch" href="//guang.m.yohobuy.com"> | 24 | <link rel="dns-prefetch" href="//guang.m.yohobuy.com"> |
25 | 25 | ||
26 | <script type="text/javascript"> | 26 | <script type="text/javascript"> |
27 | - var isWechat = /micromessenger/i.test(navigator.userAgent || ''); | ||
28 | - if (isWechat) document.title = document.title.replace(' | Yoho!Buy有货 | 潮流购物逛不停', ''); | ||
29 | - </script> | ||
30 | - | ||
31 | - <script type="text/javascript"> | ||
32 | (function (d, c) { | 27 | (function (d, c) { |
33 | var e = d.documentElement, a = "orientationchange" in window ? "orientationchange" : "resize", b = function () { | 28 | var e = d.documentElement, a = "orientationchange" in window ? "orientationchange" : "resize", b = function () { |
34 | var f = e.clientWidth; | 29 | var f = e.clientWidth; |
@@ -241,6 +236,10 @@ | @@ -241,6 +236,10 @@ | ||
241 | function downloadApp() { | 236 | function downloadApp() { |
242 | var url; | 237 | var url; |
243 | var channel = window.cookie('_Channel'); | 238 | var channel = window.cookie('_Channel'); |
239 | + var isWechat = /micromessenger/i.test(navigator.userAgent || ''); | ||
240 | + if(isWechat){ | ||
241 | + url = 'http://union.yoho.cn/union/downapp.html'; | ||
242 | + } | ||
244 | 243 | ||
245 | if (isiOS) { | 244 | if (isiOS) { |
246 | url = '//itunes.apple.com/us/app/id490655927?ls=1&mt=8'; | 245 | url = '//itunes.apple.com/us/app/id490655927?ls=1&mt=8'; |
-
Please register or login to post a comment