You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

223 lines
4.5 KiB

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