-
Notifications
You must be signed in to change notification settings - Fork 26
/
index.html
182 lines (157 loc) · 5.05 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
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
<!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>若依V3</title>
<!-- [if lt IE 11]><script>window.location.href='./public/ie.html';</script>![endif] -->
<style>
html,
body {
width: 100%;
height: 100%;
margin: 0;
}
#loading-wrapper {
width: 100vw;
height: 100vh;
background-color: #080915;
}
.loader {
left: 50%;
top: 50%;
margin-left: -30px;
margin-top: -30px;
animation: stars-rotate-reverse 2s ease infinite;
position: relative;
width: 60px;
height: 60px;
border-radius: 50%;
display: inline-block;
vertical-align: middle;
}
.text{
text-align: center;
position: relative;
top: 50%;
color: #fff;
}
.loader-star {
position: absolute;
}
.loader-star polygon {
fill: #d500f9 !important;
}
.loader .star1 {
top: 0px;
right: -7px;
}
.loader .star2 {
right: 9px;
top: -12px;
position: absolute;
transform: scale(0.8);
animation: stars-catch 2s 0.1s ease infinite;
}
.loader .star3 {
right: 27px;
top: -11px;
position: absolute;
transform: scale(0.7);
animation: stars-catch 2s 0.15s ease infinite;
}
.loader .star4 {
right: 41px;
top: -2px;
position: absolute;
transform: scale(0.6);
animation: stars-catch 2s 0.2s ease infinite;
}
.loader .star5 {
right: 47px;
top: 10px;
position: absolute;
transform: scale(0.5);
-webkit-animation: stars-catch 2s 0.25s ease infinite;
animation: stars-catch 2s 0.25s ease infinite;
}
.loader .star6 {
right: 47px;
top: 21px;
position: absolute;
transform: scale(0.4);
animation: stars-catch 2s 0.3s ease infinite;
}
@keyframes stars-catch {
75% {
top: -2px;
right: -11px;
opacity: 0;
}
}
@keyframes stars-rotate-reverse {
0% {
transform: rotate(0deg);
}
100% {
transform: rotate(360deg);
}
}
</style>
</head>
<body>
<div id="app">
<div id="loading-wrapper">
<div class="loader">
<svg class="loader-star star1" version="1.1" xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="35px" height="35px"
viewBox="0 0 23.172 23.346" xml:space="preserve">
<polygon
points="11.586,0 8.864,8.9 0,8.9 7.193,14.447 4.471,23.346 11.586,17.84 18.739,23.346 16.77,14.985 23.172,8.9 14.306,8.9">
</polygon>
</svg>
<svg class="loader-star star2" version="1.1" xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="35px" height="35px"
viewBox="0 0 23.172 23.346" xml:space="preserve">
<polygon
points="11.586,0 8.864,8.9 0,8.9 7.193,14.447 4.471,23.346 11.586,17.84 18.739,23.346 16.77,14.985 23.172,8.9 14.306,8.9">
</polygon>
</svg>
<svg class="loader-star star3" version="1.1" xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="35px" height="35px"
viewBox="0 0 23.172 23.346" xml:space="preserve">
<polygon
points="11.586,0 8.864,8.9 0,8.9 7.193,14.447 4.471,23.346 11.586,17.84 18.739,23.346 16.77,14.985 23.172,8.9 14.306,8.9">
</polygon>
</svg>
<svg class="loader-star star4" version="1.1" xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="35px" height="35px"
viewBox="0 0 23.172 23.346" xml:space="preserve">
<polygon
points="11.586,0 8.864,8.9 0,8.9 7.193,14.447 4.471,23.346 11.586,17.84 18.739,23.346 16.77,14.985 23.172,8.9 14.306,8.9">
</polygon>
</svg>
<svg class="loader-star star5" version="1.1" xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="35px" height="35px"
viewBox="0 0 23.172 23.346" xml:space="preserve">
<polygon
points="11.586,0 8.864,8.9 0,8.9 7.193,14.447 4.471,23.346 11.586,17.84 18.739,23.346 16.77,14.985 23.172,8.9 14.306,8.9">
</polygon>
</svg>
<svg class="loader-star star6" version="1.1" xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="35px" height="35px"
viewBox="0 0 23.172 23.346" xml:space="preserve">
<polygon
points="11.586,0 8.864,8.9 0,8.9 7.193,14.447 4.471,23.346 11.586,17.84 18.739,23.346 16.77,14.985 23.172,8.9 14.306,8.9">
</polygon>
</svg>
</div>
<div class="text">
玩命加载中……
</div>
</div>
</div>
<script type="module" src="/src/main.js"></script>
</body>
</html>