document.ejs 6.7KB

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