guhongwei 2 năm trước cách đây
mục cha
commit
0950f96877
2 tập tin đã thay đổi với 46 bổ sung16 xóa
  1. 44 14
      public/index.html
  2. 2 2
      vue.config.js

+ 44 - 14
public/index.html

@@ -1,17 +1,47 @@
 <!DOCTYPE html>
 <html lang="">
-  <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">
-    <link rel="icon" href="<%= BASE_URL %>favicon.ico">
-    <title>加载中...</title>
-  </head>
-  <body>
-    <noscript>
-      <strong>We're sorry but <%= htmlWebpackPlugin.options.title %> doesn't work properly without JavaScript enabled. Please enable it to continue.</strong>
-    </noscript>
-    <div id="app"></div>
-    <!-- built files will be auto injected -->
-  </body>
+
+<head>
+  <meta charset="utf-8">
+  <meta http-equiv="X-UA-Compatible" content="IE=edge">
+  <meta name="viewport" content="width=device-width,user-scalable=yes,initial-scale=0.1">
+  <link rel="icon" href="<%= BASE_URL %>favicon.ico">
+  <title>加载中......</title>
+  <style>
+    /*修改滚动条样式*/
+    div::-webkit-scrollbar {
+      width: 5px;
+      height: 10px;
+    }
+
+    div::-webkit-scrollbar-track {
+      background: rgb(239, 239, 239);
+      border-radius: 2px;
+    }
+
+    div::-webkit-scrollbar-thumb {
+      background: #bfbfbf;
+      border-radius: 10px;
+    }
+
+    div::-webkit-scrollbar-thumb:hover {
+      background: #333;
+    }
+
+    div::-webkit-scrollbar-corner {
+      background: #179a16;
+    }
+
+  </style>
+</head>
+
+<body>
+  <noscript>
+    <strong>We're sorry but <%= htmlWebpackPlugin.options.title %> doesn't work properly without JavaScript enabled.
+        Please enable it to continue.</strong>
+  </noscript>
+  <div id="app"></div>
+  <!-- built files will be auto injected -->
+</body>
+
 </html>

+ 2 - 2
vue.config.js

@@ -20,10 +20,10 @@ module.exports = {
     port: '8001',
     proxy: {
       '/files': {
-        target: 'http://broadcast.waityou24.cn',
+        target: 'http://47.93.34.200',
       },
       '/projectadmin/api': {
-        target: 'http://www.freeskyghw.cn', //http://127.0.0.1:10102  http://www.freeskyghw.cn
+        target: 'http://47.93.34.200', //http://127.0.0.1:10102  http://www.freeskyghw.cn  http://47.93.34.200
         changeOrigin: true,
         ws: false,
       },