Showing
1 changed file
with
5 additions
and
1 deletions
@@ -13,7 +13,11 @@ | @@ -13,7 +13,11 @@ | ||
13 | <link rel="dns-prefetch" href="//cdn.yoho.cn"> | 13 | <link rel="dns-prefetch" href="//cdn.yoho.cn"> |
14 | <link rel="dns-prefetch" href="//static.yohobuy.com"> | 14 | <link rel="dns-prefetch" href="//static.yohobuy.com"> |
15 | <link rel="dns-prefetch" href="//img12.static.yhbimg.com"> | 15 | <link rel="dns-prefetch" href="//img12.static.yhbimg.com"> |
16 | - <link rel="dns-prefetch" href="//img13.static.yhbimg.com"> | 16 | + <link rel="dns-prefetch" href="//img13.static.yhbimg.com"> |
17 | + {{!-- H5 layout 加了以后移走 --}} | ||
18 | + <script type="text/javascript"> | ||
19 | + (function(d,c){var e=d.documentElement,a="orientationchange" in window?"orientationchange":"resize",b=function(){var f=e.clientWidth;if(!f){return}if(f>=640){e.style.fontSize="40px"}else{e.style.fontSize=40*(f/640)+"px"}};if(!d.addEventListener){return}b();c.addEventListener(a,b,false);d.addEventListener("DOMContentLoaded",b,false)})(document,window); | ||
20 | + </script> | ||
17 | {{#if devEnv}} | 21 | {{#if devEnv}} |
18 | <link rel="stylesheet" href="//localhost:5000/css/index.css"> | 22 | <link rel="stylesheet" href="//localhost:5000/css/index.css"> |
19 | {{^}} | 23 | {{^}} |
-
Please register or login to post a comment