index.html 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="utf-8" />
  5. <meta http-equiv="X-UA-Compatible" content="IE=edge" />
  6. <meta name="viewport" content="width=device-width,initial-scale=1.0" />
  7. <link rel="icon" href="<%= BASE_URL %>favicon.ico" />
  8. <link rel="stylesheet" type="text/css" href="./iconfont.css" />
  9. <script src="//at.alicdn.com/t/font_1104271_so151lbumpq.js"></script>
  10. <title>lin-cms</title>
  11. <style>
  12. #loader {
  13. position: fixed;
  14. left: 0;
  15. right: 0;
  16. bottom: 0;
  17. top: 0;
  18. background:#fff;
  19. display: flex;
  20. justify-content: center;
  21. align-items: center;
  22. transition: display 1s ease .5s;
  23. }
  24. .loader-logo {
  25. width: 60px;
  26. height: 91px;
  27. position: fixed;
  28. left: 20%;
  29. top: 43%;
  30. }
  31. .spinner {
  32. position: relative;
  33. line-height: 0;
  34. box-sizing: border-box;
  35. width: 40px;
  36. height: 40px;
  37. color: #3963bc;
  38. }
  39. .spinner:before {
  40. content: '';
  41. width: 100%;
  42. height: 20%;
  43. min-width: 5px;
  44. background: #000;
  45. opacity: 0.1;
  46. position: absolute;
  47. bottom: 0%;
  48. left: 0;
  49. border-radius: 50%;
  50. animation: rotate-square-2-shadow .5s linear infinite;
  51. }
  52. .spinner:after {
  53. content: '';
  54. width: 100%;
  55. height: 100%;
  56. background: #3963bc;
  57. animation: rotate-square-2-animate .5s linear infinite;
  58. position: absolute;
  59. bottom:40%;
  60. left: 0;
  61. border-radius: 3px;
  62. }
  63. @keyframes rotate-square-2-animate {
  64. 17% {
  65. border-bottom-right-radius: 3px;
  66. }
  67. 25% {
  68. transform: translateY(20%) rotate(22.5deg);
  69. }
  70. 50% {
  71. transform: translateY(40%) scale(1, .9) rotate(45deg);
  72. border-bottom-right-radius: 50%;
  73. }
  74. 75% {
  75. transform: translateY(20%) rotate(67.5deg);
  76. }
  77. 100% {
  78. transform: translateY(0) rotate(90deg);
  79. }
  80. }
  81. @keyframes rotate-square-2-shadow {
  82. 0%, 100% {
  83. transform: scale(1, 1);
  84. }
  85. 50% {
  86. transform: scale(1.2, 1);
  87. }
  88. }
  89. </style>
  90. </head>
  91. <body>
  92. <div id="loader">
  93. <div class="spinner spinner--rotate-square-2"></div>
  94. <img src="./static/img/logo.png" alt="" class="loader-logo">
  95. </div>
  96. <div id="app"></div>
  97. <!-- built files will be auto injected -->
  98. </body>
  99. </html>