document.ejs 6.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="UTF-8" />
  5. <meta name="theme-color" content="#1890ff" />
  6. <meta http-equiv="X-UA-Compatible" content="IE=edge" />
  7. <meta
  8. name="keywords"
  9. content="antd,umi,umijs,ant design,Scaffolding, layout, Ant Design, project, Pro, admin, console, homepage, out-of-the-box, middle and back office, solution, component library"
  10. />
  11. <meta
  12. name="description"
  13. content="
  14. An out-of-box UI solution for enterprise applications as a React boilerplate."
  15. />
  16. <meta
  17. name="description"
  18. content="
  19. Out-of-the-box mid-stage front-end/design solution."
  20. />
  21. <title>永续绿建管理平台</title>
  22. <link rel="icon" href="<%= context.config.publicPath +'favicon.ico'%>" type="image/x-icon" />
  23. </head>
  24. <body>
  25. <noscript>
  26. <div class="noscript-container">
  27. Hi there! Please
  28. <div class="noscript-enableJS">
  29. <a href="https://www.enablejavascript.io/en" target="_blank" rel="noopener noreferrer">
  30. <b>enable Javascript</b>
  31. </a>
  32. </div>
  33. in your browser to use Ant Design, Out-of-the-box mid-stage front/design solution!
  34. </div>
  35. </noscript>
  36. <div id="root">
  37. <style>
  38. html,
  39. body,
  40. #root {
  41. height: 100%;
  42. margin: 0;
  43. padding: 0;
  44. }
  45. #root {
  46. background-repeat: no-repeat;
  47. background-size: 100% auto;
  48. }
  49. .noscript-container {
  50. display: flex;
  51. align-content: center;
  52. justify-content: center;
  53. margin-top: 90px;
  54. font-size: 20px;
  55. font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode',
  56. Geneva, Verdana, sans-serif;
  57. }
  58. .noscript-enableJS {
  59. padding-right: 3px;
  60. padding-left: 3px;
  61. }
  62. .page-loading-warp {
  63. display: flex;
  64. align-items: center;
  65. justify-content: center;
  66. padding: 98px;
  67. }
  68. .ant-spin {
  69. position: absolute;
  70. display: none;
  71. -webkit-box-sizing: border-box;
  72. box-sizing: border-box;
  73. margin: 0;
  74. padding: 0;
  75. color: rgba(0, 0, 0, 0.65);
  76. color: #1890ff;
  77. font-size: 14px;
  78. font-variant: tabular-nums;
  79. line-height: 1.5;
  80. text-align: center;
  81. list-style: none;
  82. opacity: 0;
  83. -webkit-transition: -webkit-transform 0.3s cubic-bezier(0.78, 0.14, 0.15, 0.86);
  84. transition: -webkit-transform 0.3s cubic-bezier(0.78, 0.14, 0.15, 0.86);
  85. -webkit-font-feature-settings: 'tnum';
  86. font-feature-settings: 'tnum';
  87. }
  88. .ant-spin-spinning {
  89. position: static;
  90. display: inline-block;
  91. opacity: 1;
  92. }
  93. .ant-spin-dot {
  94. position: relative;
  95. display: inline-block;
  96. width: 20px;
  97. height: 20px;
  98. font-size: 20px;
  99. }
  100. .ant-spin-dot-item {
  101. position: absolute;
  102. display: block;
  103. width: 9px;
  104. height: 9px;
  105. background-color: #1890ff;
  106. border-radius: 100%;
  107. -webkit-transform: scale(0.75);
  108. -ms-transform: scale(0.75);
  109. transform: scale(0.75);
  110. -webkit-transform-origin: 50% 50%;
  111. -ms-transform-origin: 50% 50%;
  112. transform-origin: 50% 50%;
  113. opacity: 0.3;
  114. -webkit-animation: antspinmove 1s infinite linear alternate;
  115. animation: antSpinMove 1s infinite linear alternate;
  116. }
  117. .ant-spin-dot-item:nth-child(1) {
  118. top: 0;
  119. left: 0;
  120. }
  121. .ant-spin-dot-item:nth-child(2) {
  122. top: 0;
  123. right: 0;
  124. -webkit-animation-delay: 0.4s;
  125. animation-delay: 0.4s;
  126. }
  127. .ant-spin-dot-item:nth-child(3) {
  128. right: 0;
  129. bottom: 0;
  130. -webkit-animation-delay: 0.8s;
  131. animation-delay: 0.8s;
  132. }
  133. .ant-spin-dot-item:nth-child(4) {
  134. bottom: 0;
  135. left: 0;
  136. -webkit-animation-delay: 1.2s;
  137. animation-delay: 1.2s;
  138. }
  139. .ant-spin-dot-spin {
  140. -webkit-transform: rotate(45deg);
  141. -ms-transform: rotate(45deg);
  142. transform: rotate(45deg);
  143. -webkit-animation: antrotate 1.2s infinite linear;
  144. animation: antRotate 1.2s infinite linear;
  145. }
  146. .ant-spin-lg .ant-spin-dot {
  147. width: 32px;
  148. height: 32px;
  149. font-size: 32px;
  150. }
  151. .ant-spin-lg .ant-spin-dot i {
  152. width: 14px;
  153. height: 14px;
  154. }
  155. @media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
  156. .ant-spin-blur {
  157. background: #fff;
  158. opacity: 0.5;
  159. }
  160. }
  161. @-webkit-keyframes antSpinMove {
  162. to {
  163. opacity: 1;
  164. }
  165. }
  166. @keyframes antSpinMove {
  167. to {
  168. opacity: 1;
  169. }
  170. }
  171. @-webkit-keyframes antRotate {
  172. to {
  173. -webkit-transform: rotate(405deg);
  174. transform: rotate(405deg);
  175. }
  176. }
  177. @keyframes antRotate {
  178. to {
  179. -webkit-transform: rotate(405deg);
  180. transform: rotate(405deg);
  181. }
  182. }
  183. </style>
  184. <div
  185. style="
  186. display: flex;
  187. flex-direction: column;
  188. align-items: center;
  189. justify-content: center;
  190. height: 100%;
  191. min-height: 420px;
  192. "
  193. >
  194. <div class="page-loading-warp">
  195. <div class="ant-spin ant-spin-lg ant-spin-spinning">
  196. <span class="ant-spin-dot ant-spin-dot-spin"
  197. ><i class="ant-spin-dot-item"></i><i class="ant-spin-dot-item"></i
  198. ><i class="ant-spin-dot-item"></i><i class="ant-spin-dot-item"></i
  199. ></span>
  200. </div>
  201. </div>
  202. </div>
  203. </div>
  204. </body>
  205. </html>