高级计划前端
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

185 lines
4.6 KiB

3 years ago
3 years ago
3 years ago
  1. <!DOCTYPE html>
  2. <html lang="">
  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. <title>生产计划管理系统</title>
  9. <style>
  10. html,
  11. body,
  12. #app {
  13. height: 100%;
  14. margin: 0px;
  15. padding: 0px;
  16. }
  17. .chromeframe {
  18. margin: 0.2em 0;
  19. background: #ccc;
  20. color: #000;
  21. padding: 0.2em 0;
  22. }
  23. #loader-wrapper {
  24. position: fixed;
  25. top: 0;
  26. left: 0;
  27. width: 100%;
  28. height: 100%;
  29. z-index: 999999;
  30. }
  31. #loader {
  32. display: block;
  33. position: relative;
  34. left: 50%;
  35. top: 50%;
  36. width: 150px;
  37. height: 150px;
  38. margin: -75px 0 0 -75px;
  39. border-radius: 50%;
  40. border: 3px solid transparent;
  41. border-top-color: #409eff;
  42. -webkit-animation: spin 2s linear infinite;
  43. -ms-animation: spin 2s linear infinite;
  44. -moz-animation: spin 2s linear infinite;
  45. -o-animation: spin 2s linear infinite;
  46. animation: spin 2s linear infinite;
  47. z-index: 1001;
  48. }
  49. #loader:before {
  50. content: "";
  51. position: absolute;
  52. top: 5px;
  53. left: 5px;
  54. right: 5px;
  55. bottom: 5px;
  56. border-radius: 50%;
  57. border: 3px solid transparent;
  58. border-top-color: #409eff;
  59. -webkit-animation: spin 3s linear infinite;
  60. -moz-animation: spin 3s linear infinite;
  61. -o-animation: spin 3s linear infinite;
  62. -ms-animation: spin 3s linear infinite;
  63. animation: spin 3s linear infinite;
  64. }
  65. #loader:after {
  66. content: "";
  67. position: absolute;
  68. top: 15px;
  69. left: 15px;
  70. right: 15px;
  71. bottom: 15px;
  72. border-radius: 50%;
  73. border: 3px solid transparent;
  74. border-top-color: #409eff;
  75. -moz-animation: spin 1.5s linear infinite;
  76. -o-animation: spin 1.5s linear infinite;
  77. -ms-animation: spin 1.5s linear infinite;
  78. -webkit-animation: spin 1.5s linear infinite;
  79. animation: spin 1.5s linear infinite;
  80. }
  81. @-webkit-keyframes spin {
  82. 0% {
  83. -webkit-transform: rotate(0deg);
  84. -ms-transform: rotate(0deg);
  85. transform: rotate(0deg);
  86. }
  87. 100% {
  88. -webkit-transform: rotate(360deg);
  89. -ms-transform: rotate(360deg);
  90. transform: rotate(360deg);
  91. }
  92. }
  93. @keyframes spin {
  94. 0% {
  95. -webkit-transform: rotate(0deg);
  96. -ms-transform: rotate(0deg);
  97. transform: rotate(0deg);
  98. }
  99. 100% {
  100. -webkit-transform: rotate(360deg);
  101. -ms-transform: rotate(360deg);
  102. transform: rotate(360deg);
  103. }
  104. }
  105. #loader-wrapper .loader-section {
  106. position: fixed;
  107. top: 0;
  108. width: 51%;
  109. height: 100%;
  110. background: linear-gradient(180deg, #327e77, #2c9b92 46%, #1e524d);
  111. z-index: 1000;
  112. -webkit-transform: translateX(0);
  113. -ms-transform: translateX(0);
  114. transform: translateX(0);
  115. }
  116. #loader-wrapper .loader-section.section-left {
  117. left: 0;
  118. }
  119. #loader-wrapper .loader-section.section-right {
  120. right: 0;
  121. }
  122. .loaded #loader-wrapper .loader-section.section-left {
  123. -webkit-transform: translateX(-100%);
  124. -ms-transform: translateX(-100%);
  125. transform: translateX(-100%);
  126. -webkit-transition: all 0.7s 0.3s cubic-bezier(0.645, 0.045, 0.355, 1.000);
  127. transition: all 0.7s 0.3s cubic-bezier(0.645, 0.045, 0.355, 1.000);
  128. }
  129. .loaded #loader-wrapper .loader-section.section-right {
  130. -webkit-transform: translateX(100%);
  131. -ms-transform: translateX(100%);
  132. transform: translateX(100%);
  133. -webkit-transition: all 0.7s 0.3s cubic-bezier(0.645, 0.045, 0.355, 1.000);
  134. transition: all 0.7s 0.3s cubic-bezier(0.645, 0.045, 0.355, 1.000);
  135. }
  136. .loaded #loader {
  137. opacity: 0;
  138. -webkit-transition: all 0.3s ease-out;
  139. transition: all 0.3s ease-out;
  140. }
  141. .loaded #loader-wrapper {
  142. visibility: hidden;
  143. -webkit-transform: translateY(-100%);
  144. -ms-transform: translateY(-100%);
  145. transform: translateY(-100%);
  146. -webkit-transition: all 0.3s 1s ease-out;
  147. transition: all 0.3s 1s ease-out;
  148. }
  149. .no-js #loader-wrapper {
  150. display: none;
  151. }
  152. .no-js h1 {
  153. color: #222222;
  154. }
  155. #loader-wrapper .load_title {
  156. font-family: 'PingFangSC-Semibold, PingFang SC';
  157. color: #409eff;
  158. font-size: 19px;
  159. width: 100%;
  160. text-align: center;
  161. z-index: 9999999999999;
  162. position: absolute;
  163. top: 60%;
  164. opacity: 1;
  165. line-height: 30px;
  166. }
  167. </style>
  168. </head>
  169. <body>
  170. <noscript>
  171. <strong>We're sorry but <%= htmlWebpackPlugin.options.title %> doesn't work properly without JavaScript enabled.
  172. Please enable it to continue.</strong>
  173. </noscript>
  174. <div id="app">
  175. <div id="loader-wrapper">
  176. <div id="loader"></div>
  177. <div class="loader-section section-left"></div>
  178. <div class="loader-section section-right"></div>
  179. <div class="load_title">正在加载系统资源,请耐心等待</div>
  180. </div>
  181. </div>
  182. </body>
  183. </html>