index.html 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. <!DOCTYPE html>
  2. <html lang="">
  3. <head>
  4. <meta charset="utf-8">
  5. <meta http-equiv="X-UA-Compatible" content="IE=edge">
  6. <meta
  7. name="viewport"
  8. content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=no"
  9. />
  10. <meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate"/>
  11. <link rel="icon" href="<%= BASE_URL %>favicon.ico">
  12. <title><%= webpackConfig.name %></title>
  13. </head>
  14. <body class="bgcolor">
  15. <noscript>
  16. <strong>We're sorry but <%= htmlWebpackPlugin.options.title %> doesn't work properly without JavaScript enabled. Please enable it to continue.</strong>
  17. </noscript>
  18. <div id="app"></div>
  19. <script>
  20. if (GetQueryValue("loginName") != null) {
  21. localStorage.removeItem('loginType')
  22. localStorage.setItem('loginName', GetQueryValue("loginName"));
  23. location.href=location.href.split("?")[0]+"?v="+new Date().getTime();
  24. }
  25. function GetQueryValue(queryName) {
  26. var query = decodeURI(window.location.search.substring(1));
  27. var vars = query.split("&");
  28. for (var i = 0; i < vars.length; i++) {var pair = vars[i].split("=");if (pair[0] == queryName) {return pair[1];}}
  29. return null;
  30. }
  31. </script>
  32. <script src="//res.wx.qq.com/open/js/jweixin-1.2.0.js"></script>
  33. <script src="https://open.work.weixin.qq.com/wwopen/js/jwxwork-1.0.0.js"></script>
  34. <!--生产、uat-->
  35. <script charset="utf-8" src="https://map.qq.com/api/gljs?v=1.exp&libraries=service,tools&key=Y7SBZ-PI5K5-FOJIT-ILHLY-PN66T-HKB4A"></script>
  36. </body>
  37. </html>