document.ejs 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168
  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="viewport"
  8. content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0"
  9. />
  10. <title>Ant Design Pro</title>
  11. <link rel="icon" href="/favicon.png" type="image/x-icon" />
  12. </head>
  13. <body>
  14. <noscript>Sorry, we need js to run correctly!</noscript>
  15. <div id="root">
  16. <style>
  17. .page-loading-warp {
  18. padding: 120px;
  19. display: flex;
  20. justify-content: center;
  21. align-items: center;
  22. }
  23. .ant-spin {
  24. -webkit-box-sizing: border-box;
  25. box-sizing: border-box;
  26. margin: 0;
  27. padding: 0;
  28. color: rgba(0, 0, 0, 0.65);
  29. font-size: 14px;
  30. font-variant: tabular-nums;
  31. line-height: 1.5;
  32. list-style: none;
  33. -webkit-font-feature-settings: 'tnum';
  34. font-feature-settings: 'tnum';
  35. position: absolute;
  36. display: none;
  37. color: #1890ff;
  38. text-align: center;
  39. vertical-align: middle;
  40. opacity: 0;
  41. -webkit-transition: -webkit-transform 0.3s cubic-bezier(0.78, 0.14, 0.15, 0.86);
  42. transition: -webkit-transform 0.3s cubic-bezier(0.78, 0.14, 0.15, 0.86);
  43. transition: transform 0.3s cubic-bezier(0.78, 0.14, 0.15, 0.86);
  44. transition: transform 0.3s cubic-bezier(0.78, 0.14, 0.15, 0.86),
  45. -webkit-transform 0.3s cubic-bezier(0.78, 0.14, 0.15, 0.86);
  46. }
  47. .ant-spin-spinning {
  48. position: static;
  49. display: inline-block;
  50. opacity: 1;
  51. }
  52. .ant-spin-dot {
  53. position: relative;
  54. display: inline-block;
  55. font-size: 20px;
  56. width: 20px;
  57. height: 20px;
  58. }
  59. .ant-spin-dot-item {
  60. position: absolute;
  61. display: block;
  62. width: 9px;
  63. height: 9px;
  64. background-color: #1890ff;
  65. border-radius: 100%;
  66. -webkit-transform: scale(0.75);
  67. -ms-transform: scale(0.75);
  68. transform: scale(0.75);
  69. -webkit-transform-origin: 50% 50%;
  70. -ms-transform-origin: 50% 50%;
  71. transform-origin: 50% 50%;
  72. opacity: 0.3;
  73. -webkit-animation: antSpinMove 1s infinite linear alternate;
  74. animation: antSpinMove 1s infinite linear alternate;
  75. }
  76. .ant-spin-dot-item:nth-child(1) {
  77. top: 0;
  78. left: 0;
  79. }
  80. .ant-spin-dot-item:nth-child(2) {
  81. top: 0;
  82. right: 0;
  83. -webkit-animation-delay: 0.4s;
  84. animation-delay: 0.4s;
  85. }
  86. .ant-spin-dot-item:nth-child(3) {
  87. right: 0;
  88. bottom: 0;
  89. -webkit-animation-delay: 0.8s;
  90. animation-delay: 0.8s;
  91. }
  92. .ant-spin-dot-item:nth-child(4) {
  93. bottom: 0;
  94. left: 0;
  95. -webkit-animation-delay: 1.2s;
  96. animation-delay: 1.2s;
  97. }
  98. .ant-spin-dot-spin {
  99. -webkit-transform: rotate(45deg);
  100. -ms-transform: rotate(45deg);
  101. transform: rotate(45deg);
  102. -webkit-animation: antRotate 1.2s infinite linear;
  103. animation: antRotate 1.2s infinite linear;
  104. }
  105. .ant-spin-lg .ant-spin-dot {
  106. font-size: 32px;
  107. width: 32px;
  108. height: 32px;
  109. }
  110. .ant-spin-lg .ant-spin-dot i {
  111. width: 14px;
  112. height: 14px;
  113. }
  114. @media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
  115. .ant-spin-blur {
  116. background: #fff;
  117. opacity: 0.5;
  118. }
  119. }
  120. @-webkit-keyframes antSpinMove {
  121. to {
  122. opacity: 1;
  123. }
  124. }
  125. @keyframes antSpinMove {
  126. to {
  127. opacity: 1;
  128. }
  129. }
  130. @-webkit-keyframes antRotate {
  131. to {
  132. -webkit-transform: rotate(405deg);
  133. transform: rotate(405deg);
  134. }
  135. }
  136. @keyframes antRotate {
  137. to {
  138. -webkit-transform: rotate(405deg);
  139. transform: rotate(405deg);
  140. }
  141. }
  142. </style>
  143. <div class="page-loading-warp">
  144. <div class="ant-spin ant-spin-lg ant-spin-spinning">
  145. <span class="ant-spin-dot ant-spin-dot-spin"
  146. ><i class="ant-spin-dot-item"></i><i class="ant-spin-dot-item"></i
  147. ><i class="ant-spin-dot-item"></i><i class="ant-spin-dot-item"></i
  148. ></span>
  149. </div>
  150. </div>
  151. </div>
  152. </body>
  153. </html>