index.html 5.5 KB

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