提交 | 用户 | age
|
626c54
|
1 |
<!doctype html> |
X |
2 |
<html lang="zh" id="htmlRoot"> |
2f6253
|
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 |
/> |
5e9946
|
11 |
<title><%= VITE_GLOB_APP_TITLE %></title> |
2f6253
|
12 |
<link rel="icon" href="/favicon.ico" /> |
陈 |
13 |
</head> |
|
14 |
<body> |
4811cc
|
15 |
<div id="app"> |
5db3ce
|
16 |
<style> |
c715d3
|
17 |
html { |
X |
18 |
/* same as ant-design-vue/dist/reset.css setting, avoid the title line-height changed */ |
|
19 |
line-height: 1.15; |
|
20 |
} |
|
21 |
|
5b8eb4
|
22 |
html[data-theme='dark'] .app-loading { |
2cdf2c
|
23 |
background-color: #2c344a; |
5b8eb4
|
24 |
} |
V |
25 |
|
|
26 |
html[data-theme='dark'] .app-loading .app-loading-title { |
c2b207
|
27 |
color: rgb(255 255 255 / 85%); |
5b8eb4
|
28 |
} |
V |
29 |
|
5db3ce
|
30 |
.app-loading { |
V |
31 |
display: flex; |
ba2415
|
32 |
flex-direction: column; |
V |
33 |
align-items: center; |
|
34 |
justify-content: center; |
5db3ce
|
35 |
width: 100%; |
V |
36 |
height: 100%; |
2cdf2c
|
37 |
background-color: #f4f7f9; |
5db3ce
|
38 |
} |
V |
39 |
|
|
40 |
.app-loading .app-loading-wrap { |
ba2415
|
41 |
display: flex; |
5db3ce
|
42 |
position: absolute; |
V |
43 |
top: 50%; |
|
44 |
left: 50%; |
|
45 |
flex-direction: column; |
ba2415
|
46 |
align-items: center; |
V |
47 |
justify-content: center; |
|
48 |
transform: translate3d(-50%, -50%, 0); |
5db3ce
|
49 |
} |
V |
50 |
|
|
51 |
.app-loading .dots { |
|
52 |
display: flex; |
|
53 |
align-items: center; |
ba2415
|
54 |
justify-content: center; |
V |
55 |
padding: 98px; |
5db3ce
|
56 |
} |
V |
57 |
|
|
58 |
.app-loading .app-loading-title { |
|
59 |
display: flex; |
|
60 |
align-items: center; |
ba2415
|
61 |
justify-content: center; |
V |
62 |
margin-top: 30px; |
|
63 |
color: rgb(0 0 0 / 85%); |
|
64 |
font-size: 30px; |
5db3ce
|
65 |
} |
V |
66 |
|
|
67 |
.app-loading .app-loading-logo { |
|
68 |
display: block; |
|
69 |
width: 90px; |
|
70 |
margin: 0 auto; |
|
71 |
margin-bottom: 20px; |
|
72 |
} |
|
73 |
|
|
74 |
.dot { |
|
75 |
display: inline-block; |
ba2415
|
76 |
position: relative; |
V |
77 |
box-sizing: border-box; |
5db3ce
|
78 |
width: 48px; |
V |
79 |
height: 48px; |
|
80 |
margin-top: 30px; |
|
81 |
transform: rotate(45deg); |
ba2415
|
82 |
animation: ant-rotate 1.2s infinite linear; |
V |
83 |
font-size: 32px; |
5db3ce
|
84 |
} |
V |
85 |
|
|
86 |
.dot i { |
|
87 |
display: block; |
ba2415
|
88 |
position: absolute; |
5db3ce
|
89 |
width: 20px; |
V |
90 |
height: 20px; |
|
91 |
transform: scale(0.75); |
|
92 |
transform-origin: 50% 50%; |
ba2415
|
93 |
animation: ant-spin-move 1s infinite linear alternate; |
V |
94 |
border-radius: 100%; |
|
95 |
opacity: 0.3; |
|
96 |
background-color: #0065cc; |
5db3ce
|
97 |
} |
V |
98 |
|
|
99 |
.dot i:nth-child(1) { |
|
100 |
top: 0; |
|
101 |
left: 0; |
|
102 |
} |
|
103 |
|
|
104 |
.dot i:nth-child(2) { |
|
105 |
top: 0; |
|
106 |
right: 0; |
c2b207
|
107 |
animation-delay: 0.4s; |
5db3ce
|
108 |
} |
V |
109 |
|
|
110 |
.dot i:nth-child(3) { |
|
111 |
right: 0; |
|
112 |
bottom: 0; |
|
113 |
animation-delay: 0.8s; |
|
114 |
} |
|
115 |
|
|
116 |
.dot i:nth-child(4) { |
|
117 |
bottom: 0; |
|
118 |
left: 0; |
c2b207
|
119 |
animation-delay: 1.2s; |
5db3ce
|
120 |
} |
ba2415
|
121 |
|
V |
122 |
@keyframes ant-rotate { |
5db3ce
|
123 |
to { |
V |
124 |
transform: rotate(405deg); |
|
125 |
} |
|
126 |
} |
ba2415
|
127 |
|
V |
128 |
@keyframes ant-rotate { |
5db3ce
|
129 |
to { |
V |
130 |
transform: rotate(405deg); |
|
131 |
} |
|
132 |
} |
ba2415
|
133 |
|
V |
134 |
@keyframes ant-spin-move { |
5db3ce
|
135 |
to { |
ba2415
|
136 |
opacity: 1; |
5db3ce
|
137 |
} |
V |
138 |
} |
ba2415
|
139 |
|
V |
140 |
@keyframes ant-spin-move { |
5db3ce
|
141 |
to { |
ba2415
|
142 |
opacity: 1; |
5db3ce
|
143 |
} |
V |
144 |
} |
|
145 |
</style> |
|
146 |
<div class="app-loading"> |
|
147 |
<div class="app-loading-wrap"> |
5e9946
|
148 |
<img src="/logo.png" class="app-loading-logo" alt="Logo" /> |
5db3ce
|
149 |
<div class="app-loading-dots"> |
V |
150 |
<span class="dot dot-spin"><i></i><i></i><i></i><i></i></span> |
|
151 |
</div> |
5e9946
|
152 |
<div class="app-loading-title"><%= VITE_GLOB_APP_TITLE %></div> |
5db3ce
|
153 |
</div> |
V |
154 |
</div> |
4811cc
|
155 |
</div> |
2f6253
|
156 |
<script type="module" src="/src/main.ts"></script> |
陈 |
157 |
</body> |
|
158 |
</html> |