commit | author | age
|
e3ba12
|
1 |
<template> |
Z |
2 |
<view class="container loading6"> |
|
3 |
<view class="shape shape1"></view> |
|
4 |
<view class="shape shape2"></view> |
|
5 |
<view class="shape shape3"></view> |
|
6 |
<view class="shape shape4"></view> |
|
7 |
</view> |
|
8 |
</template> |
|
9 |
|
|
10 |
<script> |
|
11 |
export default { |
|
12 |
name: 'loading6', |
|
13 |
data() { |
|
14 |
return { |
|
15 |
|
|
16 |
}; |
|
17 |
} |
|
18 |
} |
|
19 |
</script> |
|
20 |
<style scoped="true"> |
|
21 |
.container { |
|
22 |
width: 30px; |
|
23 |
height: 30px; |
|
24 |
position: relative; |
|
25 |
} |
|
26 |
|
|
27 |
.container.loading6 { |
|
28 |
-webkit-animation: rotation 1s infinite; |
|
29 |
animation: rotation 1s infinite; |
|
30 |
} |
|
31 |
.container.loading6 .shape { |
|
32 |
width: 12px; |
|
33 |
height: 12px; |
|
34 |
border-radius: 2px; |
|
35 |
} |
|
36 |
.container .shape { |
|
37 |
position: absolute; |
|
38 |
width: 10px; |
|
39 |
height: 10px; |
|
40 |
border-radius: 1px; |
|
41 |
} |
|
42 |
.container .shape.shape1 { |
|
43 |
left: 0; |
|
44 |
background-color: #1890FF; |
|
45 |
} |
|
46 |
.container .shape.shape2 { |
|
47 |
right: 0; |
|
48 |
background-color: #91CB74; |
|
49 |
} |
|
50 |
.container .shape.shape3 { |
|
51 |
bottom: 0; |
|
52 |
background-color: #FAC858; |
|
53 |
} |
|
54 |
.container .shape.shape4 { |
|
55 |
bottom: 0; |
|
56 |
right: 0; |
|
57 |
background-color: #EE6666; |
|
58 |
} |
|
59 |
|
|
60 |
|
|
61 |
.loading6 .shape1 { |
|
62 |
-webkit-animation: animation6shape1 2s linear 0s infinite normal; |
|
63 |
animation: animation6shape1 2s linear 0s infinite normal; |
|
64 |
} |
|
65 |
|
|
66 |
@-webkit-keyframes animation6shape1 { |
|
67 |
0% { |
|
68 |
-webkit-transform: translate(0, 0); |
|
69 |
transform: translate(0, 0); |
|
70 |
} |
|
71 |
25% { |
|
72 |
-webkit-transform: translate(0, 18px); |
|
73 |
transform: translate(0, 18px); |
|
74 |
} |
|
75 |
50% { |
|
76 |
-webkit-transform: translate(18px, 18px); |
|
77 |
transform: translate(18px, 18px); |
|
78 |
} |
|
79 |
75% { |
|
80 |
-webkit-transform: translate(18px, 0); |
|
81 |
transform: translate(18px, 0); |
|
82 |
} |
|
83 |
} |
|
84 |
|
|
85 |
@keyframes animation6shape1 { |
|
86 |
0% { |
|
87 |
-webkit-transform: translate(0, 0); |
|
88 |
transform: translate(0, 0); |
|
89 |
} |
|
90 |
25% { |
|
91 |
-webkit-transform: translate(0, 18px); |
|
92 |
transform: translate(0, 18px); |
|
93 |
} |
|
94 |
50% { |
|
95 |
-webkit-transform: translate(18px, 18px); |
|
96 |
transform: translate(18px, 18px); |
|
97 |
} |
|
98 |
75% { |
|
99 |
-webkit-transform: translate(18px, 0); |
|
100 |
transform: translate(18px, 0); |
|
101 |
} |
|
102 |
} |
|
103 |
.loading6 .shape2 { |
|
104 |
-webkit-animation: animation6shape2 2s linear 0s infinite normal; |
|
105 |
animation: animation6shape2 2s linear 0s infinite normal; |
|
106 |
} |
|
107 |
|
|
108 |
@-webkit-keyframes animation6shape2 { |
|
109 |
0% { |
|
110 |
-webkit-transform: translate(0, 0); |
|
111 |
transform: translate(0, 0); |
|
112 |
} |
|
113 |
25% { |
|
114 |
-webkit-transform: translate(-18px, 0); |
|
115 |
transform: translate(-18px, 0); |
|
116 |
} |
|
117 |
50% { |
|
118 |
-webkit-transform: translate(-18px, 18px); |
|
119 |
transform: translate(-18px, 18px); |
|
120 |
} |
|
121 |
75% { |
|
122 |
-webkit-transform: translate(0, 18px); |
|
123 |
transform: translate(0, 18px); |
|
124 |
} |
|
125 |
} |
|
126 |
|
|
127 |
@keyframes animation6shape2 { |
|
128 |
0% { |
|
129 |
-webkit-transform: translate(0, 0); |
|
130 |
transform: translate(0, 0); |
|
131 |
} |
|
132 |
25% { |
|
133 |
-webkit-transform: translate(-18px, 0); |
|
134 |
transform: translate(-18px, 0); |
|
135 |
} |
|
136 |
50% { |
|
137 |
-webkit-transform: translate(-18px, 18px); |
|
138 |
transform: translate(-18px, 18px); |
|
139 |
} |
|
140 |
75% { |
|
141 |
-webkit-transform: translate(0, 18px); |
|
142 |
transform: translate(0, 18px); |
|
143 |
} |
|
144 |
} |
|
145 |
.loading6 .shape3 { |
|
146 |
-webkit-animation: animation6shape3 2s linear 0s infinite normal; |
|
147 |
animation: animation6shape3 2s linear 0s infinite normal; |
|
148 |
} |
|
149 |
|
|
150 |
@-webkit-keyframes animation6shape3 { |
|
151 |
0% { |
|
152 |
-webkit-transform: translate(0, 0); |
|
153 |
transform: translate(0, 0); |
|
154 |
} |
|
155 |
25% { |
|
156 |
-webkit-transform: translate(18px, 0); |
|
157 |
transform: translate(18px, 0); |
|
158 |
} |
|
159 |
50% { |
|
160 |
-webkit-transform: translate(18px, -18px); |
|
161 |
transform: translate(18px, -18px); |
|
162 |
} |
|
163 |
75% { |
|
164 |
-webkit-transform: translate(0, -18px); |
|
165 |
transform: translate(0, -18px); |
|
166 |
} |
|
167 |
} |
|
168 |
|
|
169 |
@keyframes animation6shape3 { |
|
170 |
0% { |
|
171 |
-webkit-transform: translate(0, 0); |
|
172 |
transform: translate(0, 0); |
|
173 |
} |
|
174 |
25% { |
|
175 |
-webkit-transform: translate(18px, 0); |
|
176 |
transform: translate(18px, 0); |
|
177 |
} |
|
178 |
50% { |
|
179 |
-webkit-transform: translate(18px, -18px); |
|
180 |
transform: translate(18px, -18px); |
|
181 |
} |
|
182 |
75% { |
|
183 |
-webkit-transform: translate(0, -18px); |
|
184 |
transform: translate(0, -18px); |
|
185 |
} |
|
186 |
} |
|
187 |
.loading6 .shape4 { |
|
188 |
-webkit-animation: animation6shape4 2s linear 0s infinite normal; |
|
189 |
animation: animation6shape4 2s linear 0s infinite normal; |
|
190 |
} |
|
191 |
|
|
192 |
@-webkit-keyframes animation6shape4 { |
|
193 |
0% { |
|
194 |
-webkit-transform: translate(0, 0); |
|
195 |
transform: translate(0, 0); |
|
196 |
} |
|
197 |
25% { |
|
198 |
-webkit-transform: translate(0, -18px); |
|
199 |
transform: translate(0, -18px); |
|
200 |
} |
|
201 |
50% { |
|
202 |
-webkit-transform: translate(-18px, -18px); |
|
203 |
transform: translate(-18px, -18px); |
|
204 |
} |
|
205 |
75% { |
|
206 |
-webkit-transform: translate(-18px, 0); |
|
207 |
transform: translate(-18px, 0); |
|
208 |
} |
|
209 |
} |
|
210 |
|
|
211 |
@keyframes animation6shape4 { |
|
212 |
0% { |
|
213 |
-webkit-transform: translate(0, 0); |
|
214 |
transform: translate(0, 0); |
|
215 |
} |
|
216 |
25% { |
|
217 |
-webkit-transform: translate(0, -18px); |
|
218 |
transform: translate(0, -18px); |
|
219 |
} |
|
220 |
50% { |
|
221 |
-webkit-transform: translate(-18px, -18px); |
|
222 |
transform: translate(-18px, -18px); |
|
223 |
} |
|
224 |
75% { |
|
225 |
-webkit-transform: translate(-18px, 0); |
|
226 |
transform: translate(-18px, 0); |
|
227 |
} |
|
228 |
} |
|
229 |
</style> |