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