Michael Wang пре 6 година
родитељ
комит
3d93466e45
1 измењених фајлова са 33 додато и 6 уклоњено
  1. 33 6
      public/index.html

+ 33 - 6
public/index.html

@@ -1,15 +1,42 @@
 <!DOCTYPE html>
 <html lang="en">
   <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>vue-starter</title>
+    <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>
+    <script>
+      var _hmt = _hmt || [];
+      (function() {
+        var hm = document.createElement("script");
+        hm.src = "https://hm.baidu.com/hm.js?634d486c554479265c7e4d00433eb1e8";
+        var s = document.getElementsByTagName("script")[0];
+        s.parentNode.insertBefore(hm, s);
+      })();
+
+      if (navigator.appVersion.includes("Chrome/")) {
+        try {
+          _hmt.push([
+            "_setUserTag",
+            "4873",
+            navigator.appVersion.match(/(Chrome\/\d\d)/)[0]
+          ]);
+        } catch (e) {
+          _hmt.push(["_setUserTag", "4873", navigator.appVersion]);
+        }
+      }
+
+      _hmt.push(["_setUserTag", "4889", navigator.appVersion]);
+      _hmt.push(["_setUserTag", "4894", navigator.userAgent]);
+    </script>
   </head>
   <body>
     <noscript>
-      <strong>We're sorry but vue-starter doesn't work properly without JavaScript enabled. Please enable it to continue.</strong>
+      <strong
+        >We're sorry but vue-starter doesn't work properly without JavaScript
+        enabled. Please enable it to continue.</strong
+      >
     </noscript>
     <div id="app"></div>
     <!-- built files will be auto injected -->