document.ejs 5.9 KB

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