index.html 6.4 KB

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