index.html 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738
  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"
  12. src="https://api.tianditu.gov.cn/api?v=4.0&tk=d1ba4200b604530ba218d9bc06f296b2"></script>
  13. </head>
  14. <body>
  15. <noscript>
  16. <strong>We're sorry but <%= htmlWebpackPlugin.options.title %> doesn't work properly without JavaScript enabled.
  17. Please enable it to continue.</strong>
  18. </noscript>
  19. <div id="app"></div>
  20. <!-- built files will be auto injected -->
  21. <!-- IE 浏览器跳转提示升级页面 start -->
  22. <script>
  23. if (/*@cc_on!@*/false || (!!window.MSInputMethodContext && !!document.documentMode)) {
  24. window.open("https://support.dmeng.net/upgrade-your-browser.html?referrer="+encodeURIComponent(window.location.href));
  25. };
  26. </script>
  27. <!-- IE 浏览器跳转提示升级页面 end -->
  28. <script>
  29. function isIE() {
  30. if (!!window.ActiveXObject || "ActiveXObject" in window){
  31. return true;
  32. }else{
  33. return false;
  34. }
  35. }
  36. </script>
  37. </body>
  38. </html>