index.html 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187
  1. <!DOCTYPE html>
  2. <html lang="en" id="htmlRoot">
  3. <head>
  4. <meta charset="UTF-8" />
  5. <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
  6. <meta name="renderer" content="webkit" />
  7. <meta name="keywords" content="二三维一张图" />
  8. <meta name="description" content="二三维一张图" />
  9. <meta http-equiv="Expires" content="0" />
  10. <meta http-equiv="Cache-control" content="no-cache" />
  11. <meta http-equiv="Cache" content="no-cache" />
  12. <meta name="viewport"
  13. content="width=device-width,initial-scale=1.0,minimum-scale=1.0,maximum-scale=1.0,user-scalable=0" />
  14. <title>二三维一张图</title>
  15. <link rel="icon" href="/favicon.ico" />
  16. <!-- <script src="./static/mapConfig.js"></script> -->
  17. <!-- <script src="./static/grant.js"></script> -->
  18. <script src="/tfmap/grant.js"></script>
  19. <script src="/config.js"></script>
  20. <script src="./static/echarts.js"></script>
  21. <style>
  22. .distance-legend {
  23. margin-left: 370px;
  24. bottom: 14px;
  25. }
  26. </style>
  27. </head>
  28. <body>
  29. <script>
  30. (() => {
  31. var htmlRoot = document.getElementById('htmlRoot');
  32. var theme = window.localStorage.getItem('__APP__DARK__MODE__');
  33. if (htmlRoot && theme) {
  34. htmlRoot.setAttribute('data-theme', theme);
  35. theme = htmlRoot = null;
  36. }
  37. })();
  38. </script>
  39. <div id="app">
  40. <style>
  41. html[data-theme='dark'] .app-loading {
  42. background-color: #2c344a;
  43. }
  44. html[data-theme='dark'] .app-loading .app-loading-title {
  45. color: rgba(255, 255, 255, 0.85);
  46. }
  47. .app-loading {
  48. display: flex;
  49. width: 100%;
  50. height: 100%;
  51. justify-content: center;
  52. align-items: center;
  53. flex-direction: column;
  54. background-color: #f4f7f9;
  55. }
  56. .app-loading .app-loading-wrap {
  57. position: absolute;
  58. top: 50%;
  59. left: 50%;
  60. display: flex;
  61. -webkit-transform: translate3d(-50%, -50%, 0);
  62. transform: translate3d(-50%, -50%, 0);
  63. justify-content: center;
  64. align-items: center;
  65. flex-direction: column;
  66. }
  67. .app-loading .dots {
  68. display: flex;
  69. padding: 98px;
  70. justify-content: center;
  71. align-items: center;
  72. }
  73. .app-loading .app-loading-title {
  74. display: flex;
  75. margin-top: 30px;
  76. font-size: 30px;
  77. color: rgba(0, 0, 0, 0.85);
  78. justify-content: center;
  79. align-items: center;
  80. }
  81. .app-loading .app-loading-logo {
  82. display: block;
  83. width: 90px;
  84. margin: 0 auto;
  85. margin-bottom: 20px;
  86. }
  87. .dot {
  88. position: relative;
  89. display: inline-block;
  90. width: 48px;
  91. height: 48px;
  92. margin-top: 30px;
  93. font-size: 32px;
  94. transform: rotate(45deg);
  95. box-sizing: border-box;
  96. animation: antRotate 1.2s infinite linear;
  97. }
  98. .dot i {
  99. position: absolute;
  100. display: block;
  101. width: 20px;
  102. height: 20px;
  103. background-color: #0065cc;
  104. border-radius: 100%;
  105. opacity: 0.3;
  106. transform: scale(0.75);
  107. animation: antSpinMove 1s infinite linear alternate;
  108. transform-origin: 50% 50%;
  109. }
  110. .dot i:nth-child(1) {
  111. top: 0;
  112. left: 0;
  113. }
  114. .dot i:nth-child(2) {
  115. top: 0;
  116. right: 0;
  117. -webkit-animation-delay: 0.4s;
  118. animation-delay: 0.4s;
  119. }
  120. .dot i:nth-child(3) {
  121. right: 0;
  122. bottom: 0;
  123. -webkit-animation-delay: 0.8s;
  124. animation-delay: 0.8s;
  125. }
  126. .dot i:nth-child(4) {
  127. bottom: 0;
  128. left: 0;
  129. -webkit-animation-delay: 1.2s;
  130. animation-delay: 1.2s;
  131. }
  132. @keyframes antRotate {
  133. to {
  134. -webkit-transform: rotate(405deg);
  135. transform: rotate(405deg);
  136. }
  137. }
  138. @-webkit-keyframes antRotate {
  139. to {
  140. -webkit-transform: rotate(405deg);
  141. transform: rotate(405deg);
  142. }
  143. }
  144. @keyframes antSpinMove {
  145. to {
  146. opacity: 1;
  147. }
  148. }
  149. @-webkit-keyframes antSpinMove {
  150. to {
  151. opacity: 1;
  152. }
  153. }
  154. </style>
  155. <!-- <div id="first-screen-loading" class="app-loading">
  156. <div class="app-loading-wrap"> -->
  157. <!-- <img src="/resource/img/logo.png" class="app-loading-logo" alt="Logo" /> -->
  158. <!-- <div class="app-loading-dots">
  159. <span class="dot dot-spin"><i></i><i></i><i></i><i></i></span>
  160. </div> -->
  161. <!-- <div class="app-loading-title"><%= title %></div> -->
  162. <!-- </div>
  163. </div> -->
  164. </div>
  165. <script type="module" src="/src/main.ts"></script>
  166. </body>
  167. </html>