index.html 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. <!doctype html>
  2. <html lang="" class="dark">
  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. <link rel="icon" href="<%= BASE_URL %>favicon.ico" />
  8. <title><%= htmlWebpackPlugin.options.title %></title>
  9. <link rel="stylesheet" href="/static/css/reset.css" />
  10. <script src="/static/config/config.js"></script>
  11. <script src="/static/plugins/Cesium/Cesium.js"></script>
  12. <link rel="stylesheet" href="/static/plugins/Cesium/Widgets/widgets.css" />
  13. <script src="/static/plugins/createAuth.js"></script>
  14. </head>
  15. <body>
  16. <noscript>
  17. <strong
  18. >We're sorry but <%= htmlWebpackPlugin.options.title %> doesn't work properly without
  19. JavaScript enabled. Please enable it to continue.</strong
  20. >
  21. </noscript>
  22. <div id="app"></div>
  23. <!-- built files will be auto injected -->
  24. </body>
  25. <style>
  26. @font-face {
  27. font-family: "din-bold";
  28. src: url("./static/font/DIN-Bold/din-bold-2.ttf") format("truetype");
  29. font-weight: normal;
  30. font-style: normal;
  31. }
  32. :root {
  33. /* 滚动条整体部分,必须要设置 */
  34. ::-webkit-scrollbar {
  35. width: 6px;
  36. height: 10px;
  37. overflow-y: overlay;
  38. }
  39. /* 滚动条里面轨道,能向上向下移动 */
  40. ::-webkit-scrollbar-track {
  41. background-color: transparent;
  42. }
  43. /* 滚动条里面轨道,能向上向下移动 */
  44. ::-webkit-scrollbar-track-piece {
  45. background-color: transparent;
  46. }
  47. ::-webkit-scrollbar-thumb {
  48. display: none;
  49. border-radius: 6px;
  50. }
  51. /* 滚动条里面的小方块,能向上向下移动 */
  52. *:hover::-webkit-scrollbar-thumb {
  53. display: flex;
  54. background-color: rgb(163, 166, 173, 0.5);
  55. border-radius: 6px;
  56. }
  57. *:hover::-webkit-scrollbar-track-piece {
  58. background-color: rgb(209, 207, 207, 0);
  59. }
  60. }
  61. </style>
  62. </html>