index.html 7.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318
  1. <!doctype html>
  2. <html lang="en">
  3. <head>
  4. <script src="https://g.alicdn.com/code/npm/@ali/dingtalk-h5-remote-debug/0.1.3/index.js"></script>
  5. <script src="https://g.alicdn.com/dingding/dinglogin/0.0.5/ddLogin.js"></script>
  6. <meta charset="UTF-8" />
  7. <link rel="icon" href="/favicon.ico" />
  8. <meta http-equiv="X-UA-Compatible" content="IE=edge" />
  9. <meta name="viewport" content="width=device-width, initial-scale=1.0" />
  10. <meta name="keywords" content="研发管理平台" />
  11. <meta name="description" content="研发管理平台" />
  12. <title>%VITE_APP_TITLE%</title>
  13. </head>
  14. <body>
  15. <div id="app">
  16. <style>
  17. .app-loading {
  18. display: flex;
  19. width: 100%;
  20. height: 100%;
  21. justify-content: center;
  22. align-items: center;
  23. flex-direction: column;
  24. background: #f0f2f5;
  25. }
  26. .app-loading .app-loading-wrap {
  27. position: absolute;
  28. top: 50%;
  29. left: 50%;
  30. display: flex;
  31. -webkit-transform: translate3d(-50%, -50%, 0);
  32. transform: translate3d(-50%, -50%, 0);
  33. justify-content: center;
  34. align-items: center;
  35. flex-direction: column;
  36. }
  37. .app-loading .app-loading-title {
  38. margin-bottom: 30px;
  39. font-size: 20px;
  40. font-weight: bold;
  41. text-align: center;
  42. color: #2d8cf0 !important;
  43. }
  44. .app-loading .app-loading-logo {
  45. position: relative;
  46. display: inline-flex;
  47. align-items: center;
  48. justify-content: center;
  49. width: 118px;
  50. height: 118px;
  51. color: #2d8cf0;
  52. margin: 0 auto 18px auto;
  53. border-radius: 50%;
  54. background: radial-gradient(
  55. circle at top,
  56. rgb(255 255 255 / 90%) 0%,
  57. rgb(235 245 255 / 80%) 60%,
  58. rgb(105 162 255 / 12%) 100%
  59. );
  60. box-shadow: 0 14px 42px rgb(45 140 240 / 16%);
  61. animation: logo-breathe 1.6s ease-in-out infinite;
  62. }
  63. .app-loading .app-loading-logo::before {
  64. position: absolute;
  65. inset: -8px;
  66. content: '';
  67. border: 2px solid rgb(45 140 240 / 24%);
  68. border-top-color: #2d8cf0;
  69. border-right-color: transparent;
  70. border-radius: 50%;
  71. animation: logo-spin 1.2s linear infinite;
  72. }
  73. .app-loading .app-loading-logo img {
  74. position: relative;
  75. z-index: 1;
  76. width: 88px;
  77. height: 88px;
  78. object-fit: contain;
  79. animation: logo-rotate 1.4s linear infinite;
  80. }
  81. .app-loading .app-loading-item {
  82. position: relative;
  83. display: inline-block;
  84. width: 60px;
  85. height: 60px;
  86. vertical-align: middle;
  87. border-radius: 50%;
  88. }
  89. .app-loading .app-loading-outter {
  90. position: absolute;
  91. width: 100%;
  92. height: 100%;
  93. border: 4px solid #2d8cf0;
  94. border-bottom: 0;
  95. border-left-color: transparent;
  96. border-radius: 50%;
  97. animation: loader-outter 1s cubic-bezier(0.42, 0.61, 0.58, 0.41) infinite;
  98. }
  99. .app-loading .app-loading-inner {
  100. position: absolute;
  101. top: calc(50% - 20px);
  102. left: calc(50% - 20px);
  103. width: 40px;
  104. height: 40px;
  105. border: 4px solid #87bdff;
  106. border-right: 0;
  107. border-top-color: transparent;
  108. border-radius: 50%;
  109. animation: loader-inner 1s cubic-bezier(0.42, 0.61, 0.58, 0.41) infinite;
  110. }
  111. @-webkit-keyframes loader-outter {
  112. 0% {
  113. -webkit-transform: rotate(0deg);
  114. transform: rotate(0deg);
  115. }
  116. 100% {
  117. -webkit-transform: rotate(360deg);
  118. transform: rotate(360deg);
  119. }
  120. }
  121. @keyframes loader-outter {
  122. 0% {
  123. -webkit-transform: rotate(0deg);
  124. transform: rotate(0deg);
  125. }
  126. 100% {
  127. -webkit-transform: rotate(360deg);
  128. transform: rotate(360deg);
  129. }
  130. }
  131. @-webkit-keyframes loader-inner {
  132. 0% {
  133. -webkit-transform: rotate(0deg);
  134. transform: rotate(0deg);
  135. }
  136. 100% {
  137. -webkit-transform: rotate(-360deg);
  138. transform: rotate(-360deg);
  139. }
  140. }
  141. @keyframes loader-inner {
  142. 0% {
  143. -webkit-transform: rotate(0deg);
  144. transform: rotate(0deg);
  145. }
  146. 100% {
  147. -webkit-transform: rotate(-360deg);
  148. transform: rotate(-360deg);
  149. }
  150. }
  151. @keyframes logo-spin {
  152. from {
  153. transform: rotate(0deg);
  154. }
  155. to {
  156. transform: rotate(360deg);
  157. }
  158. }
  159. @keyframes logo-breathe {
  160. 0%,
  161. 100% {
  162. transform: scale(1);
  163. opacity: 0.95;
  164. }
  165. 50% {
  166. transform: scale(1.04);
  167. opacity: 1;
  168. }
  169. }
  170. @keyframes logo-rotate {
  171. from {
  172. transform: rotate(0deg);
  173. }
  174. to {
  175. transform: rotate(360deg);
  176. }
  177. }
  178. /* From Uiverse.io by Juanes200122 */
  179. #svg-global {
  180. zoom: 1.2;
  181. overflow: visible;
  182. }
  183. @keyframes fade-particles {
  184. 0%,
  185. 100% {
  186. opacity: 1;
  187. }
  188. 50% {
  189. opacity: 0.5;
  190. }
  191. }
  192. @keyframes floatUp {
  193. 0% {
  194. transform: translateY(0);
  195. opacity: 0;
  196. }
  197. 10% {
  198. opacity: 1;
  199. }
  200. 100% {
  201. transform: translateY(-40px);
  202. opacity: 0;
  203. }
  204. }
  205. #particles {
  206. animation: fade-particles 5s infinite alternate;
  207. }
  208. .particle {
  209. animation: floatUp linear infinite;
  210. }
  211. .p1 {
  212. animation-duration: 2.2s;
  213. animation-delay: 0s;
  214. }
  215. .p2 {
  216. animation-duration: 2.5s;
  217. animation-delay: 0.3s;
  218. }
  219. .p3 {
  220. animation-duration: 2s;
  221. animation-delay: 0.6s;
  222. }
  223. .p4 {
  224. animation-duration: 2.8s;
  225. animation-delay: 0.2s;
  226. }
  227. .p5 {
  228. animation-duration: 2.3s;
  229. animation-delay: 0.4s;
  230. }
  231. .p6 {
  232. animation-duration: 3s;
  233. animation-delay: 0.1s;
  234. }
  235. .p7 {
  236. animation-duration: 2.1s;
  237. animation-delay: 0.5s;
  238. }
  239. .p8 {
  240. animation-duration: 2.6s;
  241. animation-delay: 0.2s;
  242. }
  243. .p9 {
  244. animation-duration: 2.4s;
  245. animation-delay: 0.3s;
  246. }
  247. @keyframes bounce-lines {
  248. 0%,
  249. 100% {
  250. transform: translateY(0);
  251. }
  252. 50% {
  253. transform: translateY(-3px);
  254. }
  255. }
  256. #line-v1,
  257. #line-v2,
  258. #node-server,
  259. #panel-rigth,
  260. #reflectores,
  261. #particles {
  262. animation: bounce-lines 3s ease-in-out infinite alternate;
  263. }
  264. #line-v2 {
  265. animation-delay: 0.2s;
  266. }
  267. #node-server,
  268. #panel-rigth,
  269. #reflectores,
  270. #particles {
  271. animation-delay: 0.4s;
  272. }
  273. </style>
  274. <div class="app-loading">
  275. <div class="app-loading-wrap">
  276. <div class="app-loading-title">
  277. <div class="app-loading-logo">
  278. <img src="./src/assets/imgs/logo.png" alt="logo" />
  279. </div>
  280. <div class="app-loading-title">%VITE_APP_TITLE%</div>
  281. </div>
  282. </div>
  283. </div>
  284. </div>
  285. <script type="module" src="/src/main.ts"></script>
  286. </body>
  287. </html>