index.html 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. <!DOCTYPE html>
  2. <html lang="zh-CN">
  3. <head>
  4. <meta charset="utf-8">
  5. <meta name="renderer" content="webkit"/>
  6. <meta name="force-rendering" content="webkit"/>
  7. <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/>
  8. <meta name="referrer" content="no-referrer" />
  9. <link rel="icon" href="<%= BASE_URL %>favicon.ico">
  10. <title><%= htmlWebpackPlugin.options.title %></title>
  11. <script type="text/javascript" src="http://api.tianditu.gov.cn/api?v=4.0&tk=e9ece4c8c4db9f3f7a7511c595eceb67"></script>
  12. </head>
  13. <body>
  14. <noscript>
  15. <strong>We're sorry but <%= htmlWebpackPlugin.options.title %> doesn't work properly without JavaScript enabled.
  16. Please enable it to continue.</strong>
  17. </noscript>
  18. <div id="app"></div>
  19. <!-- built files will be auto injected -->
  20. <!-- IE 浏览器跳转提示升级页面 start -->
  21. <script>
  22. if (/*@cc_on!@*/false || (!!window.MSInputMethodContext && !!document.documentMode)) {
  23. window.open("https://support.dmeng.net/upgrade-your-browser.html?referrer="+encodeURIComponent(window.location.href));
  24. };
  25. </script>
  26. <!-- IE 浏览器跳转提示升级页面 end -->
  27. <script>
  28. function isIE() {
  29. if (!!window.ActiveXObject || "ActiveXObject" in window){
  30. return true;
  31. }else{
  32. return false;
  33. }
  34. }
  35. </script>
  36. </body>
  37. </html>