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