Authored by xuqi

rem init script

@@ -10,6 +10,19 @@ @@ -10,6 +10,19 @@
10 <meta name="apple-mobile-web-app-status-bar-style" content="black" /> 10 <meta name="apple-mobile-web-app-status-bar-style" content="black" />
11 <meta content="telephone=no" name="format-detection" /> 11 <meta content="telephone=no" name="format-detection" />
12 <meta content="email=no" name="format-detection" /> 12 <meta content="email=no" name="format-detection" />
  13 + <script type="text/javascript">
  14 + (function (doc, win) {
  15 + var docEl = doc.documentElement;
  16 + (function () {
  17 + var clientWidth = docEl.clientWidth;
  18 +
  19 + if (!clientWidth) {
  20 + return;
  21 + }
  22 + docEl.style.fontSize = 20 * (clientWidth / 320) + 'px';
  23 + }());
  24 + })(document, window);
  25 + </script>
13 <link rel="stylesheet" href="http://static.dev.yohobuy.com/css/index.css"> 26 <link rel="stylesheet" href="http://static.dev.yohobuy.com/css/index.css">
14 </head> 27 </head>
15 <body> 28 <body>