document.ejs 6.1 KB

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