index.html 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  1. <!doctype html>
  2. <html lang="zn">
  3. <head>
  4. <meta charset="UTF-8" />
  5. <link rel="icon" type="image/svg+xml" href="/vite.svg" />
  6. <meta name="viewport" content="width=device-width, initial-scale=1.0" />
  7. <title>
  8. 智能安全管控平台
  9. </title>
  10. <style>
  11. .loader {
  12. position: relative;
  13. margin: auto;
  14. box-sizing: border-box;
  15. background-clip: padding-box;
  16. width: 200px;
  17. height: 200px;
  18. border-radius: 100px;
  19. border: 8px solid rgba(255, 255, 255, 0.1);
  20. -webkit-mask: linear-gradient(rgba(0, 0, 0, 0.1), #000000 90%);
  21. transform-origin: 50% 60%;
  22. transform: perspective(200px) rotateX(66deg);
  23. animation: spinner-wiggle 1.2s infinite;
  24. }
  25. .loader:before,
  26. .loader:after {
  27. content: "";
  28. position: absolute;
  29. margin: -4px;
  30. box-sizing: inherit;
  31. width: inherit;
  32. height: inherit;
  33. border-radius: inherit;
  34. opacity: .05;
  35. border: inherit;
  36. border-color: transparent;
  37. animation: spinner-spin 1.2s cubic-bezier(0.6, 0.2, 0, 0.8) infinite, spinner-fade 1.2s linear infinite;
  38. }
  39. .loader:before {
  40. border-top-color: #09284C;
  41. }
  42. .loader:after {
  43. border-top-color: #09284C;
  44. animation-delay: 0.3s;
  45. }
  46. @keyframes spinner-spin {
  47. 100% {
  48. transform: rotate(360deg);
  49. }
  50. }
  51. @keyframes spinner-fade {
  52. 20% {
  53. opacity: .1;
  54. }
  55. 40% {
  56. opacity: 1;
  57. }
  58. 60% {
  59. opacity: .1;
  60. }
  61. }
  62. </style>
  63. </head>
  64. <body>
  65. <div id="app">
  66. <div
  67. style="background: #09284C; position: fixed; top: 0; right: 0; bottom:0; left: 0; display: flex; align-items: center; justify-content: center; align-items: center;">
  68. <div class="loader"></div>
  69. </div>
  70. </div>
  71. <script type="module" src="/src/main.js"></script>
  72. </body>
  73. </html>