-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
131 lines (120 loc) · 3.29 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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<link rel="icon" href="/favicon.ico">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Vite App</title>
<style>
.first-loading-wrp {
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
min-height: 420px;
height: 100%
}
.first-loading-wrp>.loading-wrp {
padding: 50px 98px;
display: flex;
justify-content: center;
align-items: center
}
.first-loading-wrp>.loading-wrp>.dot {
animation: antRotate 1.2s infinite linear;
transform: rotate(45deg);
position: relative;
display: inline-block;
font-size: 32px;
width: 32px;
height: 32px;
box-sizing: border-box
}
.first-loading-wrp>.loading-wrp>.dot i {
width: 14px;
height: 14px;
position: absolute;
display: block;
background-color: #3370ff;
border-radius: 100%;
transform: scale(.75);
transform-origin: 50% 50%;
opacity: .3;
animation: antSpinMove 1s infinite linear alternate
}
.first-loading-wrp>.loading-wrp>.dot i:nth-child(1) {
top: 0;
left: 0
}
.first-loading-wrp>.loading-wrp>.dot i:nth-child(2) {
top: 0;
right: 0;
-webkit-animation-delay: .4s;
animation-delay: .4s
}
.first-loading-wrp>.loading-wrp>.dot i:nth-child(3) {
right: 0;
bottom: 0;
-webkit-animation-delay: .8s;
animation-delay: .8s
}
.first-loading-wrp>.loading-wrp>.dot i:nth-child(4) {
bottom: 0;
left: 0;
-webkit-animation-delay: 1.2s;
animation-delay: 1.2s
}
@keyframes antRotate {
to {
-webkit-transform: rotate(405deg);
transform: rotate(405deg)
}
}
@-webkit-keyframes antRotate {
to {
-webkit-transform: rotate(405deg);
transform: rotate(405deg)
}
}
@keyframes antSpinMove {
to {
opacity: 1
}
}
@-webkit-keyframes antSpinMove {
to {
opacity: 1
}
}
.first-loading-wrp>.loading-text {
display: flex;
justify-content: center;
align-items: center;
background-color: #fff;
border: 1px solid #3370ff;
margin: 0;
color: #333;
font-size: 14px;
font-variant: tabular-nums;
list-style: none;
font-feature-settings: "tnum";
position: relative;
padding: 8px 15px;
word-wrap: break-word;
border-radius: 4px;
}
</style>
<script type="text/javascript" src="https://webapi.amap.com/maps?v=1.4.15&key=3b84db9596cde50baa52589e209e7fa3"></script>
</head>
<body>
<div id="app">
<div class="first-loading-wrp">
<div class="loading-wrp">
<span class="dot"><i></i><i></i><i></i><i></i></span>
</div>
<div class="loading-text">欢迎使用《Vite App》,数据正在拼命加载中,请稍候...</div>
</div>
</div>
<script type="module" src="/src/main.ts"></script>
</body>
</html>