index.html 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121
  1. <!doctype html>
  2. <html lang="zh-CN">
  3. <head>
  4. <meta charset="UTF-8" />
  5. <link rel="icon" type="image/svg+xml" href="/logo.svg" />
  6. <meta name="viewport" content="width=1280">
  7. <title>RunForge - 智能校园乐跑平台</title>
  8. <style>
  9. .first-loading-wrp {
  10. display: flex;
  11. justify-content: center;
  12. align-items: center;
  13. flex-direction: column;
  14. min-height: 100vh;
  15. height: 100%
  16. }
  17. .first-loading-wrp>h1 {
  18. font-size: 48px
  19. }
  20. .first-loading-wrp .loading-wrp {
  21. padding: 98px;
  22. display: flex;
  23. justify-content: center;
  24. align-items: center
  25. }
  26. .dot {
  27. animation: antRotate 1.2s infinite linear;
  28. transform: rotate(45deg);
  29. position: relative;
  30. display: inline-block;
  31. font-size: 32px;
  32. width: 32px;
  33. height: 32px;
  34. box-sizing: border-box
  35. }
  36. .dot i {
  37. width: 14px;
  38. height: 14px;
  39. position: absolute;
  40. display: block;
  41. background-color: #1890ff;
  42. border-radius: 100%;
  43. transform: scale(.75);
  44. transform-origin: 50% 50%;
  45. opacity: .3;
  46. animation: antSpinMove 1s infinite linear alternate
  47. }
  48. .dot i:nth-child(1) {
  49. top: 0;
  50. left: 0
  51. }
  52. .dot i:nth-child(2) {
  53. top: 0;
  54. right: 0;
  55. -webkit-animation-delay: .4s;
  56. animation-delay: .4s
  57. }
  58. .dot i:nth-child(3) {
  59. right: 0;
  60. bottom: 0;
  61. -webkit-animation-delay: .8s;
  62. animation-delay: .8s
  63. }
  64. .dot i:nth-child(4) {
  65. bottom: 0;
  66. left: 0;
  67. -webkit-animation-delay: 1.2s;
  68. animation-delay: 1.2s
  69. }
  70. @keyframes antRotate {
  71. to {
  72. -webkit-transform: rotate(405deg);
  73. transform: rotate(405deg)
  74. }
  75. }
  76. @-webkit-keyframes antRotate {
  77. to {
  78. -webkit-transform: rotate(405deg);
  79. transform: rotate(405deg)
  80. }
  81. }
  82. @keyframes antSpinMove {
  83. to {
  84. opacity: 1
  85. }
  86. }
  87. @-webkit-keyframes antSpinMove {
  88. to {
  89. opacity: 1
  90. }
  91. }
  92. </style>
  93. </head>
  94. <body>
  95. <div id="app">
  96. <div class="first-loading-wrp">
  97. <h1>RunFoege</h1>
  98. <div class="loading-wrp">
  99. <span class="dot dot-spin"><i></i><i></i><i></i><i></i></span>
  100. </div>
  101. <div style="display: flex; justify-content: center; align-items: center;">智能校园乐跑平台</div>
  102. </div>
  103. </div>
  104. <script type="module" src="/src/main.js"></script>
  105. </body>
  106. </html>