linwenxin hai 1 ano
pai
achega
6bc2453691
Modificáronse 1 ficheiros con 49 adicións e 45 borrados
  1. 49 45
      public/index.html

+ 49 - 45
public/index.html

@@ -1,49 +1,53 @@
 <!DOCTYPE html>
 <html>
-  <head>
-    <meta charset="utf-8" />
-    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
-    <!-- <meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests"> -->
-    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" />
-    <link rel="icon" href="<%= BASE_URL %>geLi_logo.png" />
-    <link
-      rel="stylesheet"
-      type="text/css"
-      media="print"
-      href="https://cdn.jsdelivr.net/npm/vue-plugin-hiprint@latest/dist/print-lock.css"
-    />
-    <script
-    src="https://wwcdn.weixin.qq.com/node/wework/wwopen/js/wwLogin-1.2.7.js"
-    type="text/javascript"
-    charset="utf-8"
-  ></script>
-  <script
-    src="./base64.min.js"
-    type="text/javascript"
-    charset="utf-8"
-  ></script>
+
+<head>
+  <meta charset="utf-8" />
+  <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
+  <!-- <meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests"> -->
+  <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" />
+  <link rel="icon" href="<%= BASE_URL %>geLi_logo.png" />
+  <link rel="stylesheet" type="text/css" media="print"
+    href="https://cdn.jsdelivr.net/npm/vue-plugin-hiprint@latest/dist/print-lock.css" />
+  <script src="https://wwcdn.weixin.qq.com/node/wework/wwopen/js/wwLogin-1.2.7.js" type="text/javascript"
+    charset="utf-8"></script>
+  <script src="./base64.min.js" type="text/javascript" charset="utf-8"></script>
   <script>
-    var _hmt = _hmt || [];
-    (function() {
-      var hm = document.createElement("script");
-      hm.src = "https://hm.baidu.com/hm.js?34c735cf886f20660903a4e44c3f17c6";
-      var s = document.getElementsByTagName("script")[0]; 
-      s.parentNode.insertBefore(hm, s);
-    })();
-    </script>
-    <title><%= webpackConfig.name %></title>
-    <style></style>
-  </head>
-  <body>
-    <noscript>
-      <strong
-        >We're sorry but <%= webpackConfig.name %> doesn't work properly without JavaScript enabled. Please enable it to
-        continue.</strong
-      >
-    </noscript>
-    <div id="app"></div>
-    <!-- 企业微信扫码登录 -->
+    if (!!~window.location.href.indexOf("jiasm.zfire.top")) {
+      var _hmt = _hmt || [];
+      (function () {
+        var hm = document.createElement("script");
+        hm.src = "https://hm.baidu.com/hm.js?f977c3a30a4c73ea2ee0f8f72adf9451";
+        var s = document.getElementsByTagName("script")[0];
+        s.parentNode.insertBefore(hm, s);
+      })();
+    }
+    if (!!~window.location.href.indexOf("sxb.zfire.top")) {
+      var _hmt = _hmt || [];
+      (function () {
+        var hm = document.createElement("script");
+        hm.src = "https://hm.baidu.com/hm.js?34c735cf886f20660903a4e44c3f17c6";
+        var s = document.getElementsByTagName("script")[0];
+        s.parentNode.insertBefore(hm, s);
+      })();
+    }
+  </script>
+  <title>
+    <%= webpackConfig.name %>
+  </title>
+  <style></style>
+</head>
+
+<body>
+  <noscript>
+    <strong>We're sorry but <%= webpackConfig.name %> 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>
 
-    <!-- built files will be auto injected -->
-  </body>
-</html>
+</html>