index.html 5.4 KB

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