<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="utf-8" />
  <meta http-equiv="X-UA-Compatible" content="IE=edge" />
  <meta name="viewport" content="user-scalable=no,width=device-width,initial-scale=1.0" />
  <title>园区人员管理</title>
  <link rel="icon" href="<%= BASE_URL %>favicon.ico" />
<!--  <link rel="stylesheet" href="//at.alicdn.com/t/font_3209504_ddcws5fs7ws.css" />-->
<!--  <link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet" />-->
<!--  <script type="text/javascript" src="https://webapi.amap.com/maps?v=1.4.14&key=YOUR KEY"></script>-->
</head>

<body>
  <noscript>
    <strong>We're sorry but sunshineguard-vue-wx doesn't work properly without
      JavaScript enabled. Please enable it to continue.</strong>
  </noscript>
  <div id="app"></div>
  <script src="<%= BASE_URL %>/viewport-units-buggyfill.min.js"></script>
  <script src="<%= BASE_URL %>/store.min.js"></script>
  <!--
  <script src="https://cdn.staticfile.net/vue/2.6.10/vue.min.js"></script>
  <script src="https://cdn.staticfile.net/vue-router/3.0.3/vue-router.min.js"></script>
  <script src="https://cdn.staticfile.net/axios/0.18.0/axios.min.js"></script>
  -->

  <!--<script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.min.js"></script>-->
  <!-- <script src="https://cdn.jsdelivr.net/npm/vant@2.11/lib/vant.min.js"></script> -->
  <!--
  <script src="https://cdn.staticfile.net/vant/2.12.10/vant.min.js"></script>
  <script src="https://cdn.staticfile.net/moment.js/2.20.1/moment.min.js"></script>
  <script src="https://cdn.staticfile.net/moment.js/2.20.1/locale/zh-cn.js"></script>
  <script src="https://res.wx.qq.com/open/js/jweixin-1.4.0.js"></script> -->
<!--  // 灵锡用============================================================================-->
  <script src="https://cdn-prod.internetofcity.cn/jssdk/jlingxi-1.0.9.min.js"></script>
<!--  <script src="https://cdn.bootcss.com/vConsole/3.3.4/vconsole.min.js"></script>-->
<!--  // 灵锡用============================================================================-->
  <!-- built files will be auto injected -->
<!--  ======================================================================-->
  <script src="<%= BASE_URL %>vue.min.js"></script>
  <script src="<%= BASE_URL %>vue-router.min.js"></script>
  <script src="<%= BASE_URL %>axios.min.js"></script>

  <!--<script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.min.js"></script>-->
  <!-- <script src="https://cdn.jsdelivr.net/npm/vant@2.11/lib/vant.min.js"></script> -->
  <script src="<%= BASE_URL %>vant.min.js"></script>
  <script src="<%= BASE_URL %>moment.min.js"></script>
  <script src="<%= BASE_URL %>zh-cn.js"></script>
  <script src="<%= BASE_URL %>jweixin-1.4.0.js"></script>
  <script>
      // 灵锡用============================================================================
      // init vConsole
      // var vConsole = new VConsole();
      // 灵锡用============================================================================
    window.onload = function () {
      // let urlType = getUrlParameter(location.href, "urlType");
      // if (urlType) {
      //     window.location.href = "/web/viewer.html?" + location.search;
      // } else {
      //     window.viewportUnitsBuggyfill.init({
      //         hacks: window.viewportUnitsBuggyfillHacks,
      //     });
      // }

      window.viewportUnitsBuggyfill.init({
        hacks: window.viewportUnitsBuggyfillHacks,
      });
    };
    //??vconsole
    function loadJS(js, callback) {
      var fileref = document.createElement("script"),
        loaded;
      fileref.setAttribute("type", "text/javascript");
      fileref.setAttribute("src", js);
      if (callback) {
        fileref.onreadystatechange = fileref.onload = function () {
          if (!loaded) {
            callback();
          }
          loaded = true;
        };
      }
      document.getElementsByTagName("head")[0].appendChild(fileref);
    }

    function getUrlParameter(url, name) {
      var regexSearch = "[\\?&#]" + name + "=([^&#]*)";
      var regex = new RegExp(regexSearch);
      var results = regex.exec(url);
      return results ? window.decodeURIComponent(results[1]) : "";
    }
    var vconsole = getUrlParameter(location.href, "vconsole");
    if (vconsole) {
      loadJS("<%= BASE_URL %>/vconsole.min.js", function () {
        new VConsole();
      });
    }
  </script>
</body>

</html>
