前端转vue
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

index.html 3.3KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134
  1. <!DOCTYPE html>
  2. <html lang="en" id="html">
  3. <head>
  4. <meta charset="UTF-8" />
  5. <link rel="icon" href="/src/assets/dhc.gif" />
  6. <meta name="viewport" content="width=device-width, initial-scale=1.0" />
  7. <title>总账管理系统</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: 420px;
  15. height: 100%;
  16. }
  17. .first-loading-wrp > h1 {
  18. font-size: 128px;
  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(0.75);
  44. transform-origin: 50% 50%;
  45. opacity: 0.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: 0.4s;
  56. animation-delay: 0.4s;
  57. }
  58. .dot i:nth-child(3) {
  59. right: 0;
  60. bottom: 0;
  61. -webkit-animation-delay: 0.8s;
  62. animation-delay: 0.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. .colorfulTitle {
  93. display: block;
  94. background: linear-gradient(120deg, #6559ae, #ff7159, #6559ae);
  95. background-size: 400% 400%;
  96. -webkit-background-clip: text;
  97. -webkit-text-fill-color: transparent;
  98. animation: gradient 1.5s ease-in-out infinite;
  99. margin-bottom: 0;
  100. font-size: 100px;
  101. text-align: center;
  102. font-weight: 450;
  103. margin-top: 100px;
  104. }
  105. @keyframes gradient {
  106. 0% {
  107. background-position: 14% 0%;
  108. }
  109. 50% {
  110. background-position: 87% 100%;
  111. }
  112. 100% {
  113. background-position: 14% 0%;
  114. }
  115. }
  116. </style>
  117. </head>
  118. <body>
  119. <div id="app">
  120. <div class="first-loading-wrp">
  121. <h1 class="colorfulTitle" style="text-align: center">DHC</h1>
  122. <div class="loading-wrp">
  123. <span class="dot dot-spin"><i></i><i></i><i></i><i></i></span>
  124. </div>
  125. </div>
  126. </div>
  127. <script type="module" src="/src/main.ts"></script>
  128. <link rel="stylesheet" type="text/css" id="themeCss" />
  129. </body>
  130. </html>