index.html 5.3 KB

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