Skip to content

Commit 3b90236

Browse files
committed
update loading
1 parent ffc8a5e commit 3b90236

11 files changed

+356
-145
lines changed

loading/index.html

Lines changed: 356 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,359 @@
11
<!DOCTYPE html>
22
<html>
3-
<head>
3+
<head>
44
<meta charset="utf-8">
5-
<meta name="apple-mobile-web-app-title" content="友阿微店">
6-
<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no">
7-
<meta name="apple-touch-fullscreen" content="yes">
8-
<meta name="apple-mobile-web-app-capable" content="yes">
9-
<meta name="format-detection" content="telephone=no, address=no">
10-
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
11-
<meta http-equiv="Expires" content="-1">
12-
<meta http-equiv="pragram" content="no-cache">
13-
<meta http-equiv="Cache-Control" content="no-cache,must-revalidate">
14-
<script src="static/lib.min.js"></script>
15-
<title>ak</title>
16-
<link href="static/css/app.a5b3ca0f5ce331166ccf966d61387747.css" rel="stylesheet"></head>
17-
<body>
18-
<div id="app"></div>
19-
20-
<script type="text/javascript" src="static/js/manifest.db1b7248cf6988ff35ef.js"></script>
21-
<script type="text/javascript" src="static/js/vendor.9baeef453ba99a70f46a.js"></script>
22-
<script type="text/javascript" src="static/js/app.2d388f7494b1daabf899.js"></script></body>
23-
</html>
5+
<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no">
6+
<meta name="format-detection" content="telephone=no, address=no">
7+
<meta name="apple-mobile-web-app-capable" content="yes">
8+
<meta name="apple-mobile-web-app-status-bar-style" content="black">
9+
<style>
10+
.spinner {
11+
width: 60px;
12+
height: 60px;
13+
14+
position: relative;
15+
margin: 100px auto;
16+
}
17+
18+
.double-bounce1, .double-bounce2 {
19+
width: 100%;
20+
height: 100%;
21+
border-radius: 50%;
22+
background-color: #67CF22;
23+
opacity: 0.6;
24+
position: absolute;
25+
top: 0;
26+
left: 0;
27+
28+
-webkit-animation: bounce 2.0s infinite ease-in-out;
29+
animation: bounce 2.0s infinite ease-in-out;
30+
}
31+
32+
.double-bounce2 {
33+
-webkit-animation-delay: -1.0s;
34+
animation-delay: -1.0s;
35+
}
36+
37+
@-webkit-keyframes bounce {
38+
0%, 100% { -webkit-transform: scale(0.0) }
39+
50% { -webkit-transform: scale(1.0) }
40+
}
41+
42+
@keyframes bounce {
43+
0%, 100% {
44+
transform: scale(0.0);
45+
-webkit-transform: scale(0.0);
46+
} 50% {
47+
transform: scale(1.0);
48+
-webkit-transform: scale(1.0);
49+
}
50+
}
51+
52+
53+
.spinner-2 {
54+
margin: 100px auto;
55+
width: 32px;
56+
height: 32px;
57+
position: relative;
58+
}
59+
60+
.cube1, .cube2 {
61+
background-color: #67CF22;
62+
width: 30px;
63+
height: 30px;
64+
position: absolute;
65+
top: 0;
66+
left: 0;
67+
68+
-webkit-animation: cubemove 1.8s infinite ease-in-out;
69+
animation: cubemove 1.8s infinite ease-in-out;
70+
}
71+
72+
.cube2 {
73+
-webkit-animation-delay: -0.9s;
74+
animation-delay: -0.9s;
75+
}
76+
77+
@-webkit-keyframes cubemove {
78+
25% { -webkit-transform: translateX(42px) rotate(-90deg) scale(0.5) }
79+
50% { -webkit-transform: translateX(42px) translateY(42px) rotate(-180deg) }
80+
75% { -webkit-transform: translateX(0px) translateY(42px) rotate(-270deg) scale(0.5) }
81+
100% { -webkit-transform: rotate(-360deg) }
82+
}
83+
84+
@keyframes cubemove {
85+
25% {
86+
transform: translateX(42px) rotate(-90deg) scale(0.5);
87+
-webkit-transform: translateX(42px) rotate(-90deg) scale(0.5);
88+
} 50% {
89+
transform: translateX(42px) translateY(42px) rotate(-179deg);
90+
-webkit-transform: translateX(42px) translateY(42px) rotate(-179deg);
91+
} 50.1% {
92+
transform: translateX(42px) translateY(42px) rotate(-180deg);
93+
-webkit-transform: translateX(42px) translateY(42px) rotate(-180deg);
94+
} 75% {
95+
transform: translateX(0px) translateY(42px) rotate(-270deg) scale(0.5);
96+
-webkit-transform: translateX(0px) translateY(42px) rotate(-270deg) scale(0.5);
97+
} 100% {
98+
transform: rotate(-360deg);
99+
-webkit-transform: rotate(-360deg);
100+
}
101+
}
102+
103+
104+
.spinner-3 {
105+
margin: 100px auto;
106+
width: 90px;
107+
height: 90px;
108+
position: relative;
109+
text-align: center;
110+
111+
-webkit-animation: rotate 2.0s infinite linear;
112+
animation: rotate 2.0s infinite linear;
113+
}
114+
115+
.dot1, .dot2 {
116+
width: 60%;
117+
height: 60%;
118+
display: inline-block;
119+
position: absolute;
120+
top: 0;
121+
background-color: #67CF22;
122+
border-radius: 100%;
123+
124+
-webkit-animation: bounce 2.0s infinite ease-in-out;
125+
animation: bounce 2.0s infinite ease-in-out;
126+
}
127+
128+
.dot2 {
129+
top: auto;
130+
bottom: 0px;
131+
-webkit-animation-delay: -1.0s;
132+
animation-delay: -1.0s;
133+
}
134+
135+
@-webkit-keyframes rotate { 100% { -webkit-transform: rotate(360deg) }}
136+
@keyframes rotate { 100% { transform: rotate(360deg); -webkit-transform: rotate(360deg) }}
137+
138+
@-webkit-keyframes bounce {
139+
0%, 100% { -webkit-transform: scale(0.0) }
140+
50% { -webkit-transform: scale(1.0) }
141+
}
142+
143+
@keyframes bounce {
144+
0%, 100% {
145+
transform: scale(0.0);
146+
-webkit-transform: scale(0.0);
147+
} 50% {
148+
transform: scale(1.0);
149+
-webkit-transform: scale(1.0);
150+
}
151+
}
152+
153+
.spinner-4 {
154+
margin: 100px auto 0;
155+
width: 150px;
156+
text-align: center;
157+
}
158+
159+
.spinner-4 > div {
160+
width: 30px;
161+
height: 30px;
162+
background-color: #67CF22;
163+
164+
border-radius: 100%;
165+
display: inline-block;
166+
-webkit-animation: bouncedelay 1.4s infinite ease-in-out;
167+
animation: bouncedelay 1.4s infinite ease-in-out;
168+
/* Prevent first frame from flickering when animation starts */
169+
-webkit-animation-fill-mode: both;
170+
animation-fill-mode: both;
171+
}
172+
173+
.spinner-4 .bounce1 {
174+
-webkit-animation-delay: -0.32s;
175+
animation-delay: -0.32s;
176+
}
177+
178+
.spinner-4 .bounce2 {
179+
-webkit-animation-delay: -0.16s;
180+
animation-delay: -0.16s;
181+
}
182+
183+
@-webkit-keyframes bouncedelay {
184+
0%, 80%, 100% { -webkit-transform: scale(0.0) }
185+
40% { -webkit-transform: scale(1.0) }
186+
}
187+
188+
@keyframes bouncedelay {
189+
0%, 80%, 100% {
190+
transform: scale(0.0);
191+
-webkit-transform: scale(0.0);
192+
} 40% {
193+
transform: scale(1.0);
194+
-webkit-transform: scale(1.0);
195+
}
196+
}
197+
198+
.spinner-5 {
199+
margin: 100px auto;
200+
width: 60px;
201+
height: 60px;
202+
position: relative;
203+
}
204+
205+
206+
.container1 > div, .container2 > div, .container3 > div {
207+
width: 16px;
208+
height: 16px;
209+
background-color: #67CF22;
210+
211+
border-radius: 100%;
212+
position: absolute;
213+
-webkit-animation: bouncedelay 1.2s infinite ease-in-out;
214+
animation: bouncedelay 1.2s infinite ease-in-out;
215+
-webkit-animation-fill-mode: both;
216+
animation-fill-mode: both;
217+
}
218+
219+
.spinner-5 .spinner-container {
220+
position: absolute;
221+
width: 100%;
222+
height: 100%;
223+
}
224+
225+
.container2 {
226+
-webkit-transform: rotateZ(45deg);
227+
transform: rotateZ(45deg);
228+
}
229+
230+
.container3 {
231+
-webkit-transform: rotateZ(90deg);
232+
transform: rotateZ(90deg);
233+
}
234+
235+
.circle1 { top: 0; left: 0; }
236+
.circle2 { top: 0; right: 0; }
237+
.circle3 { right: 0; bottom: 0; }
238+
.circle4 { left: 0; bottom: 0; }
239+
240+
.container2 .circle1 {
241+
-webkit-animation-delay: -1.1s;
242+
animation-delay: -1.1s;
243+
}
244+
245+
.container3 .circle1 {
246+
-webkit-animation-delay: -1.0s;
247+
animation-delay: -1.0s;
248+
}
249+
250+
.container1 .circle2 {
251+
-webkit-animation-delay: -0.9s;
252+
animation-delay: -0.9s;
253+
}
254+
255+
.container2 .circle2 {
256+
-webkit-animation-delay: -0.8s;
257+
animation-delay: -0.8s;
258+
}
259+
260+
.container3 .circle2 {
261+
-webkit-animation-delay: -0.7s;
262+
animation-delay: -0.7s;
263+
}
264+
265+
.container1 .circle3 {
266+
-webkit-animation-delay: -0.6s;
267+
animation-delay: -0.6s;
268+
}
269+
270+
.container2 .circle3 {
271+
-webkit-animation-delay: -0.5s;
272+
animation-delay: -0.5s;
273+
}
274+
275+
.container3 .circle3 {
276+
-webkit-animation-delay: -0.4s;
277+
animation-delay: -0.4s;
278+
}
279+
280+
.container1 .circle4 {
281+
-webkit-animation-delay: -0.3s;
282+
animation-delay: -0.3s;
283+
}
284+
285+
.container2 .circle4 {
286+
-webkit-animation-delay: -0.2s;
287+
animation-delay: -0.2s;
288+
}
289+
290+
.container3 .circle4 {
291+
-webkit-animation-delay: -0.1s;
292+
animation-delay: -0.1s;
293+
}
294+
295+
@-webkit-keyframes bouncedelay {
296+
0%, 80%, 100% { -webkit-transform: scale(0.0) }
297+
40% { -webkit-transform: scale(1.0) }
298+
}
299+
300+
@keyframes bouncedelay {
301+
0%, 80%, 100% {
302+
transform: scale(0.0);
303+
-webkit-transform: scale(0.0);
304+
} 40% {
305+
transform: scale(1.0);
306+
-webkit-transform: scale(1.0);
307+
}
308+
}
309+
310+
</style>
311+
<title>loading</title>
312+
</head>
313+
<body>
314+
315+
316+
<div class="spinner">
317+
<div class="double-bounce1"></div>
318+
<div class="double-bounce2"></div>
319+
</div>
320+
321+
<div class="spinner-2">
322+
<div class="cube1"></div>
323+
<div class="cube2"></div>
324+
</div>
325+
326+
<div class="spinner-3">
327+
<div class="dot1"></div>
328+
<div class="dot2"></div>
329+
</div>
330+
331+
<div class="spinner-4">
332+
<div class="bounce1"></div>
333+
<div class="bounce2"></div>
334+
<div class="bounce3"></div>
335+
</div>
336+
337+
338+
<div class="spinner-5">
339+
<div class="spinner-container container1">
340+
<div class="circle1"></div>
341+
<div class="circle2"></div>
342+
<div class="circle3"></div>
343+
<div class="circle4"></div>
344+
</div>
345+
<div class="spinner-container container2">
346+
<div class="circle1"></div>
347+
<div class="circle2"></div>
348+
<div class="circle3"></div>
349+
<div class="circle4"></div>
350+
</div>
351+
<div class="spinner-container container3">
352+
<div class="circle1"></div>
353+
<div class="circle2"></div>
354+
<div class="circle3"></div>
355+
<div class="circle4"></div>
356+
</div>
357+
</div>
358+
</body>
359+
</html>

loading/static/.DS_Store

-6 KB
Binary file not shown.

loading/static/css/.DS_Store

-6 KB
Binary file not shown.

0 commit comments

Comments
 (0)