index.html 4.0 KB

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