index.html 6.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="utf-8" />
  5. <meta
  6. http-equiv="cache-control"
  7. content="no-cache, no-store, must-revalidate"
  8. />
  9. <meta http-equiv="pragma" content="no-cache" />
  10. <meta http-equiv="expires" content="0" />
  11. <meta http-equiv="x-dns-prefetch-control" content="on" />
  12. <meta name="referrer" content="no-referrer" />
  13. <meta name="robots" content="index, follow" />
  14. <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
  15. <meta name="renderer" content="webkit" />
  16. <meta
  17. name="viewport"
  18. content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no"
  19. />
  20. <link
  21. rel="icon"
  22. type="image/png"
  23. href="/platform/<%= htmlWebpackPlugin.options.platform %>/favicon.ico?${+new Date()}"
  24. />
  25. <title><%= htmlWebpackPlugin.options.title %></title>
  26. <!--[if lt IE 11
  27. ]><script>
  28. window.location.href = "/html/ie.html";
  29. </script><!
  30. [endif]-->
  31. <style>
  32. html,
  33. body,
  34. #app {
  35. height: 100%;
  36. margin: 0px;
  37. padding: 0px;
  38. }
  39. .chromeframe {
  40. margin: 0.2em 0;
  41. background: #ccc;
  42. color: #000;
  43. padding: 0.2em 0;
  44. }
  45. #loader-wrapper {
  46. position: fixed;
  47. top: 0;
  48. left: 0;
  49. width: 100%;
  50. height: 100%;
  51. z-index: 999999;
  52. }
  53. #loader {
  54. display: block;
  55. position: relative;
  56. left: 50%;
  57. top: 50%;
  58. width: 150px;
  59. height: 150px;
  60. margin: -75px 0 0 -75px;
  61. border-radius: 50%;
  62. border: 3px solid transparent;
  63. border-top-color: #fff;
  64. -webkit-animation: spin 2s linear infinite;
  65. -ms-animation: spin 2s linear infinite;
  66. -moz-animation: spin 2s linear infinite;
  67. -o-animation: spin 2s linear infinite;
  68. animation: spin 2s linear infinite;
  69. z-index: 1001;
  70. }
  71. #loader:before {
  72. content: "";
  73. position: absolute;
  74. top: 5px;
  75. left: 5px;
  76. right: 5px;
  77. bottom: 5px;
  78. border-radius: 50%;
  79. border: 3px solid transparent;
  80. border-top-color: #fff;
  81. -webkit-animation: spin 3s linear infinite;
  82. -moz-animation: spin 3s linear infinite;
  83. -o-animation: spin 3s linear infinite;
  84. -ms-animation: spin 3s linear infinite;
  85. animation: spin 3s linear infinite;
  86. }
  87. #loader:after {
  88. content: "";
  89. position: absolute;
  90. top: 15px;
  91. left: 15px;
  92. right: 15px;
  93. bottom: 15px;
  94. border-radius: 50%;
  95. border: 3px solid transparent;
  96. border-top-color: #fff;
  97. -moz-animation: spin 1.5s linear infinite;
  98. -o-animation: spin 1.5s linear infinite;
  99. -ms-animation: spin 1.5s linear infinite;
  100. -webkit-animation: spin 1.5s linear infinite;
  101. animation: spin 1.5s linear infinite;
  102. }
  103. @-webkit-keyframes spin {
  104. 0% {
  105. -webkit-transform: rotate(0deg);
  106. -ms-transform: rotate(0deg);
  107. transform: rotate(0deg);
  108. }
  109. 100% {
  110. -webkit-transform: rotate(360deg);
  111. -ms-transform: rotate(360deg);
  112. transform: rotate(360deg);
  113. }
  114. }
  115. @keyframes spin {
  116. 0% {
  117. -webkit-transform: rotate(0deg);
  118. -ms-transform: rotate(0deg);
  119. transform: rotate(0deg);
  120. }
  121. 100% {
  122. -webkit-transform: rotate(360deg);
  123. -ms-transform: rotate(360deg);
  124. transform: rotate(360deg);
  125. }
  126. }
  127. #loader-wrapper .loader-section {
  128. position: fixed;
  129. top: 0;
  130. width: 51%;
  131. height: 100%;
  132. background: #71aef6;
  133. z-index: 1000;
  134. -webkit-transform: translateX(0);
  135. -ms-transform: translateX(0);
  136. transform: translateX(0);
  137. }
  138. #loader-wrapper .loader-section.section-left {
  139. left: 0;
  140. }
  141. #loader-wrapper .loader-section.section-right {
  142. right: 0;
  143. }
  144. .loaded #loader-wrapper .loader-section.section-left {
  145. -webkit-transform: translateX(-100%);
  146. -ms-transform: translateX(-100%);
  147. transform: translateX(-100%);
  148. -webkit-transition: all 0.7s 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
  149. transition: all 0.7s 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
  150. }
  151. .loaded #loader-wrapper .loader-section.section-right {
  152. -webkit-transform: translateX(100%);
  153. -ms-transform: translateX(100%);
  154. transform: translateX(100%);
  155. -webkit-transition: all 0.7s 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
  156. transition: all 0.7s 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
  157. }
  158. .loaded #loader {
  159. opacity: 0;
  160. -webkit-transition: all 0.3s ease-out;
  161. transition: all 0.3s ease-out;
  162. }
  163. .loaded #loader-wrapper {
  164. visibility: hidden;
  165. -webkit-transform: translateY(-100%);
  166. -ms-transform: translateY(-100%);
  167. transform: translateY(-100%);
  168. -webkit-transition: all 0.3s 1s ease-out;
  169. transition: all 0.3s 1s ease-out;
  170. }
  171. .no-js #loader-wrapper {
  172. display: none;
  173. }
  174. .no-js h1 {
  175. color: #222222;
  176. }
  177. #loader-wrapper .load_title {
  178. font-family: "Open Sans";
  179. color: #fff;
  180. font-size: 19px;
  181. width: 100%;
  182. text-align: center;
  183. z-index: 9999999999999;
  184. position: absolute;
  185. top: 60%;
  186. opacity: 1;
  187. line-height: 30px;
  188. }
  189. #loader-wrapper .load_title span {
  190. font-weight: normal;
  191. font-style: italic;
  192. font-size: 13px;
  193. color: #fff;
  194. opacity: 0.5;
  195. }
  196. </style>
  197. </head>
  198. <body>
  199. <div id="app">
  200. <div id="loader-wrapper">
  201. <div id="loader"></div>
  202. <div class="loader-section section-left"></div>
  203. <div class="loader-section section-right"></div>
  204. <div class="load_title">Loading...</div>
  205. </div>
  206. </div>
  207. </body>
  208. </html>