document.ejs 6.6 KB
Newer Older
愚道 已提交
1 2
<!DOCTYPE html>
<html lang="en">
Y
Yu 已提交
3 4 5
  <head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
6 7
    <meta
      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 11 12 13 14 15 16 17
    />
    <meta
      name="description"
      content="
    An out-of-box UI solution for enterprise applications as a React boilerplate."
    />
    <meta
      name="description"
      content="
18
      Out-of-the-box mid-stage front-end/design solution."
19
    />
Y
Yu 已提交
20 21 22 23 24
    <meta
      name="viewport"
      content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0"
    />
    <title>Ant Design Pro</title>
C
chenshuai2144 已提交
25
    <link rel="icon" href="<%= context.config.publicPath +'favicon.ico'%>" type="image/x-icon" />
Y
Yu 已提交
26 27
  </head>
  <body>
28 29 30 31 32 33 34 35
    <noscript>
      <div class="noscript-container">
        Hi there! Please
        <div class="noscript-enableJS">
          <a href="https://www.enablejavascript.io/en" target="_blank" rel="noopener noreferrer">
            <b>enable Javascript</b>
          </a>
        </div>
黄威 已提交
36
        in your browser to use Ant Design, Out-of-the-box mid-stage front/design solution!
37 38
      </div>
    </noscript>
陈帅 已提交
39 40
    <div id="root">
      <style>
陈帅 已提交
41 42 43 44 45 46 47 48 49 50 51
        html,
        body,
        #root {
          height: 100%;
          margin: 0;
          padding: 0;
        }
        #root {
          background-repeat: no-repeat;
          background-size: 100% auto;
        }
52 53 54 55 56 57 58 59 60 61 62 63 64
        .noscript-container {
          display: flex;
          align-content: center;
          justify-content: center;
          margin-top: 90px;
          font-size: 20px;
          font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode',
            Geneva, Verdana, sans-serif;
        }
        .noscript-enableJS {
          padding-right: 3px;
          padding-left: 3px;
        }
陈帅 已提交
65 66 67
        .page-loading-warp {
          display: flex;
          align-items: center;
C
chenshuai2144 已提交
68 69
          justify-content: center;
          padding: 98px;
陈帅 已提交
70 71
        }
        .ant-spin {
C
chenshuai2144 已提交
72 73
          position: absolute;
          display: none;
陈帅 已提交
74 75 76 77 78
          -webkit-box-sizing: border-box;
          box-sizing: border-box;
          margin: 0;
          padding: 0;
          color: rgba(0, 0, 0, 0.65);
C
chenshuai2144 已提交
79
          color: #1890ff;
陈帅 已提交
80 81 82 83
          font-size: 14px;
          font-variant: tabular-nums;
          line-height: 1.5;
          text-align: center;
C
chenshuai2144 已提交
84
          list-style: none;
陈帅 已提交
85
          opacity: 0;
陈帅 已提交
86 87
          -webkit-transition: -webkit-transform 0.3s cubic-bezier(0.78, 0.14, 0.15, 0.86);
          transition: -webkit-transform 0.3s cubic-bezier(0.78, 0.14, 0.15, 0.86);
陈帅 已提交
88 89 90
          transition: transform 0.3s cubic-bezier(0.78, 0.14, 0.15, 0.86);
          transition: transform 0.3s cubic-bezier(0.78, 0.14, 0.15, 0.86),
            -webkit-transform 0.3s cubic-bezier(0.78, 0.14, 0.15, 0.86);
C
chenshuai2144 已提交
91 92
          -webkit-font-feature-settings: 'tnum';
          font-feature-settings: 'tnum';
陈帅 已提交
93 94 95 96 97 98 99 100 101 102 103 104 105
        }

        .ant-spin-spinning {
          position: static;
          display: inline-block;
          opacity: 1;
        }

        .ant-spin-dot {
          position: relative;
          display: inline-block;
          width: 20px;
          height: 20px;
C
chenshuai2144 已提交
106
          font-size: 20px;
陈帅 已提交
107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122
        }

        .ant-spin-dot-item {
          position: absolute;
          display: block;
          width: 9px;
          height: 9px;
          background-color: #1890ff;
          border-radius: 100%;
          -webkit-transform: scale(0.75);
          -ms-transform: scale(0.75);
          transform: scale(0.75);
          -webkit-transform-origin: 50% 50%;
          -ms-transform-origin: 50% 50%;
          transform-origin: 50% 50%;
          opacity: 0.3;
C
chenshuai2144 已提交
123
          -webkit-animation: antspinmove 1s infinite linear alternate;
陈帅 已提交
124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156
          animation: antSpinMove 1s infinite linear alternate;
        }

        .ant-spin-dot-item:nth-child(1) {
          top: 0;
          left: 0;
        }

        .ant-spin-dot-item:nth-child(2) {
          top: 0;
          right: 0;
          -webkit-animation-delay: 0.4s;
          animation-delay: 0.4s;
        }

        .ant-spin-dot-item:nth-child(3) {
          right: 0;
          bottom: 0;
          -webkit-animation-delay: 0.8s;
          animation-delay: 0.8s;
        }

        .ant-spin-dot-item:nth-child(4) {
          bottom: 0;
          left: 0;
          -webkit-animation-delay: 1.2s;
          animation-delay: 1.2s;
        }

        .ant-spin-dot-spin {
          -webkit-transform: rotate(45deg);
          -ms-transform: rotate(45deg);
          transform: rotate(45deg);
C
chenshuai2144 已提交
157
          -webkit-animation: antrotate 1.2s infinite linear;
陈帅 已提交
158 159 160 161 162 163
          animation: antRotate 1.2s infinite linear;
        }

        .ant-spin-lg .ant-spin-dot {
          width: 32px;
          height: 32px;
C
chenshuai2144 已提交
164
          font-size: 32px;
陈帅 已提交
165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204
        }

        .ant-spin-lg .ant-spin-dot i {
          width: 14px;
          height: 14px;
        }

        @media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
          .ant-spin-blur {
            background: #fff;
            opacity: 0.5;
          }
        }

        @-webkit-keyframes antSpinMove {
          to {
            opacity: 1;
          }
        }

        @keyframes antSpinMove {
          to {
            opacity: 1;
          }
        }

        @-webkit-keyframes antRotate {
          to {
            -webkit-transform: rotate(405deg);
            transform: rotate(405deg);
          }
        }

        @keyframes antRotate {
          to {
            -webkit-transform: rotate(405deg);
            transform: rotate(405deg);
          }
        }
      </style>
陈帅 已提交
205
      <div
206 207 208
        style="
          display: flex;
          flex-direction: column;
C
chenshuai2144 已提交
209 210
          align-items: center;
          justify-content: center;
211
          height: 100%;
C
chenshuai2144 已提交
212
          min-height: 420px;
213
        "
陈帅 已提交
214
      >
海军 已提交
215
        <img src="<%= context.config.publicPath +'pro_icon.svg'%>" alt="logo" width="256" />
陈帅 已提交
216 217 218 219 220 221 222 223
        <div class="page-loading-warp">
          <div class="ant-spin ant-spin-lg ant-spin-spinning">
            <span class="ant-spin-dot ant-spin-dot-spin"
              ><i class="ant-spin-dot-item"></i><i class="ant-spin-dot-item"></i
              ><i class="ant-spin-dot-item"></i><i class="ant-spin-dot-item"></i
            ></span>
          </div>
        </div>
C
chenshuai2144 已提交
224
        <div style="display: flex; align-items: center; justify-content: center">
陈帅 已提交
225 226 227
          <img
            src="https://gw.alipayobjects.com/zos/rmsportal/KDpgvguMpGfqaHPjicRK.svg"
            width="32"
C
chenshuai2144 已提交
228
            style="margin-right: 8px"
陈帅 已提交
229 230
          />
          Ant Design
陈帅 已提交
231 232 233
        </div>
      </div>
    </div>
Y
Yu 已提交
234
  </body>
愚道 已提交
235
</html>