index.html 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210
  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. <style>
  17. .vben-layout-menu-logo img {
  18. width: 22px !important;
  19. opacity: 0 !important;
  20. }
  21. .ant-menu-horizontal:not(.ant-menu-dark)>.ant-menu-item-selected {
  22. background: linear-gradient(157deg, #D6F5FF -4%, #FFFFFF 81%);
  23. color: #fff !important;
  24. height: 34px;
  25. border-radius: 35px;
  26. line-height: 35px;
  27. }
  28. .vben-basic-menu__sidebar-hor.ant-menu-horizontal.ant-menu-dark .ant-menu-item:hover {
  29. height: 34px;
  30. border-radius: 35px;
  31. line-height: 35px;
  32. }
  33. .vben-basic-menu__sidebar-hor.ant-menu-horizontal.ant-menu-dark .ant-menu-item-selected {
  34. background: linear-gradient(157deg, #D6F5FF -4%, #FFFFFF 81%);
  35. height: 34px;
  36. border-radius: 35px;
  37. color: #0671DD !important;
  38. line-height: 35px;
  39. }
  40. .ant-menu-dark .ant-menu-item-selected .anticon {
  41. color: #0671DD !important;
  42. }
  43. ul li.vben-menu-item-active:not(.vben-menu-submenu) {
  44. background: url("/static/img/menuBg.jpg")no-repeat;
  45. background-size: 170px 50px;
  46. color: #377dff !important;
  47. }
  48. </style>
  49. </head>
  50. <body>
  51. <script>
  52. (() => {
  53. var htmlRoot = document.getElementById('htmlRoot');
  54. var theme = window.localStorage.getItem('__APP__DARK__MODE__');
  55. if (htmlRoot && theme) {
  56. htmlRoot.setAttribute('data-theme', theme);
  57. theme = htmlRoot = null;
  58. }
  59. })();
  60. </script>
  61. <div id="app">
  62. <style>
  63. .vben-layout-menu-logo img {
  64. width: 22px !important;
  65. opacity: 0 !important;
  66. }
  67. html[data-theme='dark'] .app-loading {
  68. background-color: #2c344a;
  69. }
  70. html[data-theme='dark'] .app-loading .app-loading-title {
  71. color: rgba(255, 255, 255, 0.85);
  72. }
  73. .app-loading {
  74. display: flex;
  75. width: 100%;
  76. height: 100%;
  77. justify-content: center;
  78. align-items: center;
  79. flex-direction: column;
  80. background-color: #f4f7f9;
  81. }
  82. .app-loading .app-loading-wrap {
  83. position: absolute;
  84. top: 50%;
  85. left: 50%;
  86. display: flex;
  87. -webkit-transform: translate3d(-50%, -50%, 0);
  88. transform: translate3d(-50%, -50%, 0);
  89. justify-content: center;
  90. align-items: center;
  91. flex-direction: column;
  92. }
  93. .app-loading .dots {
  94. display: flex;
  95. padding: 98px;
  96. justify-content: center;
  97. align-items: center;
  98. }
  99. .app-loading .app-loading-title {
  100. display: flex;
  101. margin-top: 30px;
  102. font-size: 30px;
  103. color: rgba(0, 0, 0, 0.85);
  104. justify-content: center;
  105. align-items: center;
  106. }
  107. .app-loading .app-loading-logo {
  108. display: block;
  109. width: 90px;
  110. margin: 0 auto;
  111. margin-bottom: 20px;
  112. }
  113. .dot {
  114. position: relative;
  115. display: inline-block;
  116. width: 48px;
  117. height: 48px;
  118. margin-top: 30px;
  119. font-size: 32px;
  120. transform: rotate(45deg);
  121. box-sizing: border-box;
  122. animation: antRotate 1.2s infinite linear;
  123. }
  124. .dot i {
  125. position: absolute;
  126. display: block;
  127. width: 20px;
  128. height: 20px;
  129. background-color: #0065cc;
  130. border-radius: 100%;
  131. opacity: 0.3;
  132. transform: scale(0.75);
  133. animation: antSpinMove 1s infinite linear alternate;
  134. transform-origin: 50% 50%;
  135. }
  136. .dot i:nth-child(1) {
  137. top: 0;
  138. left: 0;
  139. }
  140. .dot i:nth-child(2) {
  141. top: 0;
  142. right: 0;
  143. -webkit-animation-delay: 0.4s;
  144. animation-delay: 0.4s;
  145. }
  146. .dot i:nth-child(3) {
  147. right: 0;
  148. bottom: 0;
  149. -webkit-animation-delay: 0.8s;
  150. animation-delay: 0.8s;
  151. }
  152. .dot i:nth-child(4) {
  153. bottom: 0;
  154. left: 0;
  155. -webkit-animation-delay: 1.2s;
  156. animation-delay: 1.2s;
  157. }
  158. @keyframes antRotate {
  159. to {
  160. -webkit-transform: rotate(405deg);
  161. transform: rotate(405deg);
  162. }
  163. }
  164. @-webkit-keyframes antRotate {
  165. to {
  166. -webkit-transform: rotate(405deg);
  167. transform: rotate(405deg);
  168. }
  169. }
  170. @keyframes antSpinMove {
  171. to {
  172. opacity: 1;
  173. }
  174. }
  175. @-webkit-keyframes antSpinMove {
  176. to {
  177. opacity: 1;
  178. }
  179. }
  180. </style>
  181. </div>
  182. <script type="module" src="/src/main.ts"></script>
  183. </body>
  184. </html>