Showing
1 changed file
with
7 additions
and
1 deletions
@@ -14,9 +14,15 @@ | @@ -14,9 +14,15 @@ | ||
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 | + {{#if width750}} | ||
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>=750){e.style.fontSize="40px"}else{e.style.fontSize=40*(f/750)+"px"}};if(!d.addEventListener){return}b();c.addEventListener(a,b,false);d.addEventListener("DOMContentLoaded",b,false)})(document,window); | ||
20 | + </script> | ||
21 | + {{^}} | ||
17 | <script type="text/javascript"> | 22 | <script type="text/javascript"> |
18 | (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); | 23 | (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); |
19 | </script> | 24 | </script> |
25 | + {{/if}} | ||
20 | {{#if devEnv}} | 26 | {{#if devEnv}} |
21 | <link rel="stylesheet" href="//{{devHost}}:5001/css/index.css"> | 27 | <link rel="stylesheet" href="//{{devHost}}:5001/css/index.css"> |
22 | {{^}} | 28 | {{^}} |
@@ -26,7 +32,7 @@ | @@ -26,7 +32,7 @@ | ||
26 | <link rel="apple-touch-startup-image" sizes="640x920" href="http://static.yohobuy.com/m/v1/img/startup/startup-retina.png" media="screen and (max-device-width: 480px) and (-webkit-min-device-pixel-ratio: 2)"> | 32 | <link rel="apple-touch-startup-image" sizes="640x920" href="http://static.yohobuy.com/m/v1/img/startup/startup-retina.png" media="screen and (max-device-width: 480px) and (-webkit-min-device-pixel-ratio: 2)"> |
27 | <link rel="apple-touch-startup-image" sizes="320x460" href="http://static.yohobuy.com/m/v1/img/startup/startup.png" media="screen and (max-device-width: 320)"> | 33 | <link rel="apple-touch-startup-image" sizes="320x460" href="http://static.yohobuy.com/m/v1/img/startup/startup.png" media="screen and (max-device-width: 320)"> |
28 | </head> | 34 | </head> |
29 | - <body {{#if isPassportPage}}class=passport-body{{/if}} {{#if isStarIndexPage}} class="star-index-bg"{{/if}} {{#if isStarDetailPage}}class="star-class-body"{{/if}} {{#if isInstallmentPage}}class=installment-body{{/if}}> | 35 | + <body class="{{#if width750}}width750{{/if}} {{#if isPassportPage}}passport-body{{/if}} {{#if isStarIndexPage}}star-index-bg{{/if}} {{#if isStarDetailPage}}star-class-body{{/if}} {{#if isInstallmentPage}}installment-body{{/if}}"> |
30 | <div class="main-wrap"> | 36 | <div class="main-wrap"> |
31 | {{#if systemUpdate}} | 37 | {{#if systemUpdate}} |
32 | {{> updata}} | 38 | {{> updata}} |
-
Please register or login to post a comment