index.html 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="utf-8">
  5. <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  6. <meta name="renderer" content="webkit">
  7. <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
  8. <link rel="icon" href="<%= BASE_URL %>favicon.ico">
  9. <title>
  10. <%= webpackConfig.name %>
  11. </title>
  12. <!--[if lt IE 11]>
  13. <script>window.location.href = '/html/ie.html';</script><![endif]-->
  14. <style>
  15. html,
  16. body,
  17. #app {
  18. height: 100%;
  19. margin: 0px;
  20. padding: 0px;
  21. }
  22. #loader-wrapper {
  23. position: fixed;
  24. top: 0;
  25. left: 0;
  26. width: 100%;
  27. height: 100%;
  28. z-index: 999999;
  29. display: flex;
  30. flex-wrap: nowrap;
  31. align-content: center;
  32. justify-content: center;
  33. align-items: center;
  34. animation: changeright 3s infinite linear;
  35. }
  36. #loader-wrapper .load_title {
  37. font-family: 'Open Sans';
  38. color: #FFF;
  39. font-size: 19px;
  40. width: 100%;
  41. text-align: center;
  42. z-index: 9999999999999;
  43. position: absolute;
  44. top: 49%;
  45. opacity: 1;
  46. line-height: 30px;
  47. }
  48. .loading {
  49. position: absolute;
  50. left: 0;
  51. bottom: 0;
  52. right: 0;
  53. top: 200px;
  54. margin: auto;
  55. color: #409EFF;
  56. height: 80px;
  57. width: 80px;
  58. }
  59. @keyframes mounthAni {
  60. 40% {
  61. stroke-dasharray: 44, 22;
  62. /* 间距改为1/4 */
  63. }
  64. 80%,
  65. 100% {
  66. stroke-dasharray: 44, 44;
  67. /* 间距恢复为1/2 */
  68. transform: rotate(720deg);
  69. }
  70. }
  71. @keyframes eyeAni {
  72. 40% {
  73. stroke-dasharray: 0, 77;
  74. /* 间距改为7/8 */
  75. }
  76. 80%,
  77. 100% {
  78. transform: rotate(675deg);
  79. /* 间距恢复为3/4 */
  80. stroke-dasharray: 0, 66;
  81. }
  82. }
  83. @keyframes dash {
  84. 0% {
  85. stroke-dashoffset: 2000;
  86. }
  87. 90% {
  88. stroke-dashoffset: 0;
  89. }
  90. }
  91. @keyframes loading22 {
  92. 60% {
  93. stroke-dashoffset: 1000;
  94. }
  95. 100% {
  96. stroke-dashoffset: 0;
  97. }
  98. }
  99. @keyframes changeright {
  100. 0% {
  101. transform: rotate(0deg);
  102. }
  103. 50% {
  104. transform: rotate(180deg);
  105. }
  106. 100% {
  107. transform: rotate(360deg);
  108. }
  109. }
  110. </style>
  111. </head>
  112. <body>
  113. <div id="app">
  114. <div id="loader-wrapper">
  115. <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="100px" height="100px"
  116. viewBox="0 0 40 40" enable-background="new 0 0 40 40" xml:space="preserve">
  117. <path opacity="0.2" fill="rgba(73,125,235,1)"
  118. d="M20.201,5.169c-8.254,0-14.946,6.692-14.946,14.946c0,8.255,6.692,14.946,14.946,14.946
  119. s14.946-6.691,14.946-14.946C35.146,11.861,28.455,5.169,20.201,5.169z M20.201,31.749c-6.425,0-11.634-5.208-11.634-11.634
  120. c0-6.425,5.209-11.634,11.634-11.634c6.425,0,11.633,5.209,11.633,11.634C31.834,26.541,26.626,31.749,20.201,31.749z"></path>
  121. <path fill="rgba(73,125,235,1)" d="M26.013,10.047l1.654-2.866c-2.198-1.272-4.743-2.012-7.466-2.012h0v3.312h0
  122. C22.32,8.481,24.301,9.057,26.013,10.047z" transform="rotate(42.1171 20 20)">
  123. <animateTransform attributeType="xml" attributeName="transform" type="rotate" from="0 20 20" to="360 20 20"
  124. dur="0.5s" repeatCount="indefinite"></animateTransform>
  125. </path>
  126. </svg>
  127. </div>
  128. <div class="loading">
  129. loading.....
  130. </div>
  131. </div>
  132. </body>
  133. </html>