Kaynağa Gözat

🚀Snowflake screen support configuration

chuzhixin 4 yıl önce
ebeveyn
işleme
6ef93872c7
2 değiştirilmiş dosya ile 12 ekleme ve 9 silme
  1. 9 9
      public/index.html
  2. 3 0
      public/static/css/loading.css

+ 9 - 9
public/index.html

@@ -16,15 +16,6 @@
     />
     <meta name="author" content="<%= VUE_APP_AUTHOR %>" />
     <link rel="stylesheet" href="<%= BASE_URL %>static/css/loading.css" />
-    <script>
-      var _hmt = _hmt || []
-      ;(function () {
-        var hm = document.createElement('script')
-        hm.src = 'https://hm.baidu.com/hm.js?7174bade1219f9cc272e7978f9523fc8'
-        var s = document.getElementsByTagName('script')[0]
-        s.parentNode.insertBefore(hm, s)
-      })()
-    </script>
   </head>
   <body>
     <noscript>
@@ -48,5 +39,14 @@
       ;/^http(s*):\/\//.test(location.href) ||
         alert('基于vue-admin-beautiful开发的项目需要部署到服务器下访问')
     </script>
+    <script>
+      var _hmt = _hmt || []
+      ;(function () {
+        var hm = document.createElement('script')
+        hm.src = 'https://hm.baidu.com/hm.js?7174bade1219f9cc272e7978f9523fc8'
+        var s = document.getElementsByTagName('script')[0]
+        s.parentNode.insertBefore(hm, s)
+      })()
+    </script>
   </body>
 </html>

+ 3 - 0
public/static/css/loading.css

@@ -1,3 +1,6 @@
+/**
+ * @description 雪花屏代码,基于ant-design修改
+ **/
 .first-loading-wrp {
   display: flex;
   flex-direction: column;