index.html 5.0 KB

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