-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
68 lines (68 loc) · 1.8 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
61
62
63
64
65
66
67
68
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="author" content="Allen" />
<link rel="icon" href="/favicon.ico" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="theme-color" content="#fefefe" />
<meta name="msapplication-TileColor" content="#fefefe" />
<meta name="revisit-after" content="7 days" />
<meta http-equiv="X-UA-Compatible" content="chrome=1" />
<title>vue3-template</title>
</head>
<body>
<div id="app">
<style>
.loading-wrap {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
width: 100%;
height: 90vh;
}
.dot {
display: flex;
flex-wrap: wrap;
width: 36px;
height: 36px;
transform: rotate(45deg);
animation: ant-rotate 1.2s infinite linear;
}
.dot i {
margin: 2px;
border-radius: 50%;
width: 14px;
height: 14px;
background-color: #1890ff;
opacity: 0.3;
animation: ant-spin-move 1s infinite linear alternate;
}
.dot i:nth-child(2) {
animation-delay: 0.4s;
}
.dot i:nth-child(3) {
animation-delay: 0.8s;
}
.dot i:nth-child(4) {
animation-delay: 1.2s;
}
@keyframes ant-rotate {
to {
transform: rotate(405deg);
}
}
@keyframes ant-spin-move {
to {
opacity: 1;
}
}
</style>
<div class="loading-wrap">
<div class="dot"><i></i><i></i><i></i><i></i></div>
</div>
</div>
<script type="module" src="/src/main.ts"></script>
</body>
</html>