index.html 5.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211
  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
  8. name="viewport"
  9. content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" />
  10. <link rel="icon" href="<%= BASE_URL %>favicon.ico" />
  11. <title>数据可视化大屏</title>
  12. <!--[if lt IE 11]>
  13. <script>
  14. window.location.href = "/html/ie.html";
  15. </script>
  16. <![endif]-->
  17. <style>
  18. html,
  19. body,
  20. #app {
  21. height: 100%;
  22. margin: 0px;
  23. padding: 0px;
  24. }
  25. .chromeframe {
  26. margin: 0.2em 0;
  27. background: #ccc;
  28. color: #000;
  29. padding: 0.2em 0;
  30. }
  31. #loader-wrapper {
  32. position: fixed;
  33. top: 0;
  34. left: 0;
  35. width: 100%;
  36. height: 100%;
  37. z-index: 999999;
  38. }
  39. #loader {
  40. display: block;
  41. position: relative;
  42. left: 50%;
  43. top: 50%;
  44. width: 150px;
  45. height: 150px;
  46. margin: -75px 0 0 -75px;
  47. border-radius: 50%;
  48. border: 3px solid transparent;
  49. border-top-color: #fff;
  50. -webkit-animation: spin 2s linear infinite;
  51. -ms-animation: spin 2s linear infinite;
  52. -moz-animation: spin 2s linear infinite;
  53. -o-animation: spin 2s linear infinite;
  54. animation: spin 2s linear infinite;
  55. z-index: 1001;
  56. }
  57. #loader:before {
  58. content: "";
  59. position: absolute;
  60. top: 5px;
  61. left: 5px;
  62. right: 5px;
  63. bottom: 5px;
  64. border-radius: 50%;
  65. border: 3px solid transparent;
  66. border-top-color: #fff;
  67. -webkit-animation: spin 3s linear infinite;
  68. -moz-animation: spin 3s linear infinite;
  69. -o-animation: spin 3s linear infinite;
  70. -ms-animation: spin 3s linear infinite;
  71. animation: spin 3s linear infinite;
  72. }
  73. #loader:after {
  74. content: "";
  75. position: absolute;
  76. top: 15px;
  77. left: 15px;
  78. right: 15px;
  79. bottom: 15px;
  80. border-radius: 50%;
  81. border: 3px solid transparent;
  82. border-top-color: #fff;
  83. -moz-animation: spin 1.5s linear infinite;
  84. -o-animation: spin 1.5s linear infinite;
  85. -ms-animation: spin 1.5s linear infinite;
  86. -webkit-animation: spin 1.5s linear infinite;
  87. animation: spin 1.5s linear infinite;
  88. }
  89. @-webkit-keyframes spin {
  90. 0% {
  91. -webkit-transform: rotate(0deg);
  92. -ms-transform: rotate(0deg);
  93. transform: rotate(0deg);
  94. }
  95. 100% {
  96. -webkit-transform: rotate(360deg);
  97. -ms-transform: rotate(360deg);
  98. transform: rotate(360deg);
  99. }
  100. }
  101. @keyframes spin {
  102. 0% {
  103. -webkit-transform: rotate(0deg);
  104. -ms-transform: rotate(0deg);
  105. transform: rotate(0deg);
  106. }
  107. 100% {
  108. -webkit-transform: rotate(360deg);
  109. -ms-transform: rotate(360deg);
  110. transform: rotate(360deg);
  111. }
  112. }
  113. #loader-wrapper .loader-section {
  114. position: fixed;
  115. top: 0;
  116. width: 51%;
  117. height: 100%;
  118. background: #7171c6;
  119. z-index: 1000;
  120. -webkit-transform: translateX(0);
  121. -ms-transform: translateX(0);
  122. transform: translateX(0);
  123. }
  124. #loader-wrapper .loader-section.section-left {
  125. left: 0;
  126. }
  127. #loader-wrapper .loader-section.section-right {
  128. right: 0;
  129. }
  130. .loaded #loader-wrapper .loader-section.section-left {
  131. -webkit-transform: translateX(-100%);
  132. -ms-transform: translateX(-100%);
  133. transform: translateX(-100%);
  134. -webkit-transition: all 0.7s 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
  135. transition: all 0.7s 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
  136. }
  137. .loaded #loader-wrapper .loader-section.section-right {
  138. -webkit-transform: translateX(100%);
  139. -ms-transform: translateX(100%);
  140. transform: translateX(100%);
  141. -webkit-transition: all 0.7s 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
  142. transition: all 0.7s 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
  143. }
  144. .loaded #loader {
  145. opacity: 0;
  146. -webkit-transition: all 0.3s ease-out;
  147. transition: all 0.3s ease-out;
  148. }
  149. .loaded #loader-wrapper {
  150. visibility: hidden;
  151. -webkit-transform: translateY(-100%);
  152. -ms-transform: translateY(-100%);
  153. transform: translateY(-100%);
  154. -webkit-transition: all 0.3s 1s ease-out;
  155. transition: all 0.3s 1s ease-out;
  156. }
  157. .no-js #loader-wrapper {
  158. display: none;
  159. }
  160. .no-js h1 {
  161. color: #222222;
  162. }
  163. #loader-wrapper .load_title {
  164. font-family: "Open Sans";
  165. color: #fff;
  166. font-size: 19px;
  167. width: 100%;
  168. text-align: center;
  169. z-index: 9999999999999;
  170. position: absolute;
  171. top: 60%;
  172. opacity: 1;
  173. line-height: 30px;
  174. }
  175. #loader-wrapper .load_title span {
  176. font-weight: normal;
  177. font-style: italic;
  178. font-size: 13px;
  179. color: #fff;
  180. opacity: 0.5;
  181. }
  182. </style>
  183. </head>
  184. <body>
  185. <div id="app">
  186. <div id="loader-wrapper">
  187. <div id="loader"></div>
  188. <div class="loader-section section-left"></div>
  189. <div class="loader-section section-right"></div>
  190. <div class="load_title">正在加载系统资源,请耐心等待</div>
  191. </div>
  192. </div>
  193. </body>
  194. </html>