index.html 5.7 KB

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