Vben
2021-03-17 e12c588c0abb8d639babd7f4b62abec111187302
提交 | 用户 | age
2f6253 1 <!DOCTYPE html>
2 <html lang="en">
3   <head>
4     <meta charset="UTF-8" />
bb3b8f 5     <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
N 6     <meta name="renderer" content="webkit" />
7     <meta
8       name="viewport"
9       content="width=device-width,initial-scale=1.0,minimum-scale=1.0,maximum-scale=1.0,user-scalable=0"
10     />
4f9897 11
99ac30 12     <title><%= title %></title>
2f6253 13     <link rel="icon" href="/favicon.ico" />
14   </head>
15   <body>
4811cc 16     <div id="app">
5db3ce 17       <style>
V 18         .app-loading {
19           display: flex;
20           width: 100%;
21           height: 100%;
22           justify-content: center;
23           align-items: center;
24           flex-direction: column;
a1c3c5 25           background: #f4f7f9;
5db3ce 26         }
V 27
28         .app-loading .app-loading-wrap {
29           position: absolute;
30           top: 50%;
31           left: 50%;
32           display: flex;
33           -webkit-transform: translate3d(-50%, -50%, 0);
34           transform: translate3d(-50%, -50%, 0);
35           justify-content: center;
36           align-items: center;
37           flex-direction: column;
38         }
39
40         .app-loading .dots {
41           display: flex;
42           padding: 98px;
43           justify-content: center;
44           align-items: center;
45         }
46
47         .app-loading .app-loading-title {
48           display: flex;
49           margin-top: 30px;
50           font-size: 30px;
51           color: rgba(0, 0, 0, 0.85);
52           justify-content: center;
53           align-items: center;
54         }
55
56         .app-loading .app-loading-logo {
57           display: block;
58           width: 90px;
59           margin: 0 auto;
60           margin-bottom: 20px;
61         }
62
63         .dot {
64           position: relative;
65           display: inline-block;
66           width: 48px;
67           height: 48px;
68           margin-top: 30px;
69           font-size: 32px;
70           transform: rotate(45deg);
71           box-sizing: border-box;
72           animation: antRotate 1.2s infinite linear;
73         }
74
75         .dot i {
76           position: absolute;
77           display: block;
78           width: 20px;
79           height: 20px;
80           background-color: #0065cc;
81           border-radius: 100%;
82           opacity: 0.3;
83           transform: scale(0.75);
84           animation: antSpinMove 1s infinite linear alternate;
85           transform-origin: 50% 50%;
86         }
87
88         .dot i:nth-child(1) {
89           top: 0;
90           left: 0;
91         }
92
93         .dot i:nth-child(2) {
94           top: 0;
95           right: 0;
96           -webkit-animation-delay: 0.4s;
97           animation-delay: 0.4s;
98         }
99
100         .dot i:nth-child(3) {
101           right: 0;
102           bottom: 0;
103           -webkit-animation-delay: 0.8s;
104           animation-delay: 0.8s;
105         }
106
107         .dot i:nth-child(4) {
108           bottom: 0;
109           left: 0;
110           -webkit-animation-delay: 1.2s;
111           animation-delay: 1.2s;
112         }
113         @keyframes antRotate {
114           to {
115             -webkit-transform: rotate(405deg);
116             transform: rotate(405deg);
117           }
118         }
119         @-webkit-keyframes antRotate {
120           to {
121             -webkit-transform: rotate(405deg);
122             transform: rotate(405deg);
123           }
124         }
125         @keyframes antSpinMove {
126           to {
127             opacity: 1;
128           }
129         }
130         @-webkit-keyframes antSpinMove {
131           to {
132             opacity: 1;
133           }
134         }
135       </style>
136       <div class="app-loading">
137         <div class="app-loading-wrap">
99ac30 138           <img src="/resource/img/logo.png" class="app-loading-logo" alt="Logo" />
5db3ce 139           <div class="app-loading-dots">
V 140             <span class="dot dot-spin"><i></i><i></i><i></i><i></i></span>
141           </div>
99ac30 142           <div class="app-loading-title"><%= title %></div>
5db3ce 143         </div>
V 144       </div>
4811cc 145     </div>
2f6253 146     <script type="module" src="/src/main.ts"></script>
147   </body>
148 </html>