index.html 2.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  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 name="viewport" content="width=device-width,initial-scale=1.0">
  7. <!-- <meta name="apple-mobile-web-app-capable" content="yes"> -->
  8. <!-- <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no"> -->
  9. <link rel="icon" href="<%= BASE_URL %>favicon.ico">
  10. <title><%= htmlWebpackPlugin.options.title %></title>
  11. <script src="./static/config/config.js"></script>
  12. <link href="./static/plugins/mapbox-v3.20.0/mapbox-gl.css" rel="stylesheet">
  13. <script src="./static/plugins/mapbox-v3.20.0/mapbox-gl.js"></script>
  14. <script src="./static/plugins/mapbox-v3.20.0/mapbox-gl-export.js"></script>
  15. <script src="./static/plugins/turf.min.js"></script>
  16. <script src="./static/plugins/jquery/jquery.js"></script>
  17. <script src="/static/plugins/createAuth.js"></script>
  18. <script src="/static/plugins/mapDraw.min.js"></script>
  19. </head>
  20. <body>
  21. <noscript>
  22. <strong>We're sorry but <%= htmlWebpackPlugin.options.title %> doesn't work properly without JavaScript enabled. Please enable it to continue.</strong>
  23. </noscript>
  24. <div id="app"></div>
  25. <!-- built files will be auto injected -->
  26. </body>
  27. <style>
  28. /* 全局或局部覆盖,优先级要高 */
  29. .ace_editor,
  30. .ace_editor * {
  31. font-family: "Monaco", "Menlo", "Consolas", "Ubuntu Mono", "Droid Sans Mono", monospace !important;
  32. font-size: 14px !important; /* 固定字号避免计算异常 */
  33. line-height: 1.5 !important;
  34. }
  35. :root {
  36. /* 滚动条整体部分,必须要设置 */
  37. ::-webkit-scrollbar {
  38. width: 6px;
  39. height: 10px;
  40. overflow-y: overlay;
  41. }
  42. /* 滚动条里面轨道,能向上向下移动 */
  43. ::-webkit-scrollbar-track {
  44. background-color: transparent;
  45. }
  46. /* 滚动条里面轨道,能向上向下移动 */
  47. ::-webkit-scrollbar-track-piece {
  48. background-color: transparent;
  49. }
  50. ::-webkit-scrollbar-thumb {
  51. display: none;
  52. border-radius: 6px;
  53. }
  54. /* 滚动条里面的小方块,能向上向下移动 */
  55. *:hover::-webkit-scrollbar-thumb {
  56. display: flex;
  57. background-color: rgba(75, 75, 77, 0.5);
  58. border-radius: 6px;
  59. }
  60. *:hover::-webkit-scrollbar-track-piece {
  61. background-color: rgba(209, 207, 207, 0.1);
  62. }
  63. }
  64. </style>
  65. </html>