document.ejs 6.6 KB

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