From 0110b78419d98e114c59fa9fb6f69663fbdc3c98 Mon Sep 17 00:00:00 2001
From: 陈泽平 <chenzeping>
Date: 星期日, 30 五月 2021 19:37:35 +0800
Subject: [PATCH] Merge branch 'develop' of http://xearth.cn:6600/r/wuyushui/SewerAndRainNetwork into develop

---
 public/index.html |   17 +++++++++++++++--
 1 files changed, 15 insertions(+), 2 deletions(-)

diff --git a/public/index.html b/public/index.html
index 4123528..83a048b 100644
--- a/public/index.html
+++ b/public/index.html
@@ -3,9 +3,11 @@
   <head>
     <meta charset="utf-8">
     <meta http-equiv="X-UA-Compatible" content="IE=edge">
-    <meta name="viewport" content="width=device-width,initial-scale=1.0">
+<!--    <meta name="viewport" content="width=device-width,initial-scale=1.0">-->
+      <meta name="viewport" content="width=device-width">
+      <meta http-equiv="X-UA-Compatible" content="IE=11">
     <link rel="icon" href="<%= BASE_URL %>favicon.ico">
-    <title><%= htmlWebpackPlugin.options.title %></title>
+    <title>涓浗鐭冲寲鐜繚涓�寮犲浘</title>
   </head>
   <body>
     <noscript>
@@ -13,5 +15,16 @@
     </noscript>
     <div id="app"></div>
     <!-- built files will be auto injected -->
+    <script type="text/javascript">
+        (function(){
+            change();
+            function change(){
+                //html鐨� font-size 鐨勫ぇ灏忓昂瀵�
+                document.documentElement.style.fontSize = document.documentElement.clientWidth/12 +'px';
+            }
+            /* 鐩戝惉绐楀彛澶у皬鍙戠敓鏀瑰彉鏃�*/
+            window.addEventListener('resize',change,false);
+        })();
+    </script>
   </body>
 </html>

--
Gitblit v1.8.0