index.html 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153
  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><%= webpackConfig.name %></title> -->
  10. <title></title>
  11. <!--[if lt IE 11]><script>window.location.href='/html/ie.html';</script><![endif]-->
  12. <style>
  13. html,
  14. body,
  15. #app {
  16. height: 100%;
  17. margin: 0px;
  18. padding: 0px;
  19. }
  20. .bg .top {
  21. width: 100%;
  22. height: 114px;
  23. position: relative;
  24. top: 0;
  25. left: 0;
  26. background: #26a3ff;
  27. }
  28. .bg .top>div {
  29. font-family: '阿里巴巴普惠体MEDIUM';
  30. width: 100%;
  31. font-size: 60px;
  32. color: #fff;
  33. text-align: center;
  34. line-height: 114px;
  35. text-shadow: 4px 5px 8px #26a3ff;
  36. letter-spacing: 5px;
  37. }
  38. .loader {
  39. position: fixed;
  40. top: 50%;
  41. left: 50%;
  42. transform: translate(-50%, -50%);
  43. width: 100%;
  44. height: 100%;
  45. display: flex;
  46. box-sizing: border-box;
  47. align-items: center;
  48. justify-content: center;
  49. background: rgba(0, 0, 0, 0.4);
  50. }
  51. @-webkit-keyframes loading {
  52. 50% {
  53. transform: scale(0.4);
  54. opacity: 0.3;
  55. }
  56. 100% {
  57. transform: scale(1);
  58. opacity: 1;
  59. }
  60. }
  61. .loading {
  62. position: relative;
  63. }
  64. .loading i {
  65. display: block;
  66. width: 15px;
  67. height: 15px;
  68. border-radius: 50%;
  69. position: absolute;
  70. background: #1890ff;
  71. }
  72. .loading i:nth-child(1) {
  73. top: 25px;
  74. left: 0;
  75. -webkit-animation: loading 1s ease 0s infinite;
  76. }
  77. .loading i:nth-child(2) {
  78. top: 17px;
  79. left: 17px;
  80. -webkit-animation: loading 1s ease 0.12s infinite;
  81. }
  82. .loading i:nth-child(3) {
  83. top: 0;
  84. left: 25px;
  85. -webkit-animation: loading 1s ease 0.24s infinite;
  86. }
  87. .loading i:nth-child(4) {
  88. top: -17px;
  89. left: 17px;
  90. -webkit-animation: loading 1s ease 0.36s infinite;
  91. }
  92. .loading i:nth-child(5) {
  93. top: -25px;
  94. left: 0;
  95. -webkit-animation: loading 1s ease 0.48s infinite;
  96. }
  97. .loading i:nth-child(6) {
  98. top: -17px;
  99. left: -17px;
  100. -webkit-animation: loading 1s ease 0.6s infinite;
  101. }
  102. .loading i:nth-child(7) {
  103. top: 0;
  104. left: -25px;
  105. -webkit-animation: loading 1s ease 0.72s infinite;
  106. }
  107. .loading i:nth-child(8) {
  108. top: 17px;
  109. left: -17px;
  110. -webkit-animation: loading 1s ease 0.84s infinite;
  111. }
  112. </style>
  113. </head>
  114. <body>
  115. <div id="app">
  116. <div class="bg">
  117. <div class="top">
  118. <div>政务服务之窗</div>
  119. </div>
  120. </div>
  121. <div class="loader">
  122. <div class="loading">
  123. <i></i>
  124. <i></i>
  125. <i></i>
  126. <i></i>
  127. <i></i>
  128. <i></i>
  129. <i></i>
  130. <i></i>
  131. </div>
  132. </div>
  133. </div>
  134. </body>
  135. </html>