-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
executable file
·60 lines (56 loc) · 1.68 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
<!doctype html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8">
<link rel="icon" type="image/svg+xml" href="%V_LOGO%">
<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no,viewport-fit=cover">
<title>%V_TITLE%</title>
<meta name="description" content="%V_DESCRIPTION%">
<meta name="keywords" content="%V_KEYWORDS%">
<link rel="stylesheet" href="https://cdn.bootcdn.net/ajax/libs/font-awesome/6.4.2/css/all.min.css">
</head>
<body>
<div id="app">
<style>
.loading-wrap {
position: fixed;
inset: 0;
display: flex;
align-items: center;
justify-content: center;
text-align: center;
color: #888;
}
.loading-wrap p {
animation: textLoadingAn 1s infinite ease-in-out;
}
.loading-wrap .loading {
width: 50px;
height: 50px;
border-radius: 50%;
margin: 3em;
display: inline-block;
position: relative;
vertical-align: middle;
background-color: #888;
animation: loaderAn 1s infinite ease-in-out;
}
@keyframes loaderAn {
from { transform: scale(0); opacity: 1; }
to { transform: scale(1); opacity: 0; }
}
@keyframes textLoadingAn {
0% { opacity: 0; }
100% { opacity: 1; }
}
</style>
<div class="loading-wrap">
<div>
<p>加载中...</p>
<div class="loading"></div>
</div>
</div>
</div>
<script type="module" src="/src/main.ts"></script>
</body>
</html>