AI销管
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.

2 vuotta sitten
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173
  1. <template>
  2. <view class="container loading3">
  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: 'loading3',
  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.loading3 {
  25. -webkit-animation: rotation 1s infinite;
  26. animation: rotation 1s infinite;
  27. }
  28. .container.loading3 .shape1 {
  29. border-top-left-radius: 10px;
  30. }
  31. .container.loading3 .shape2 {
  32. border-top-right-radius: 10px;
  33. }
  34. .container.loading3 .shape3 {
  35. border-bottom-left-radius: 10px;
  36. }
  37. .container.loading3 .shape4 {
  38. border-bottom-right-radius: 10px;
  39. }
  40. .container .shape {
  41. position: absolute;
  42. width: 10px;
  43. height: 10px;
  44. border-radius: 1px;
  45. }
  46. .container .shape.shape1 {
  47. left: 0;
  48. background-color: #1890FF;
  49. }
  50. .container .shape.shape2 {
  51. right: 0;
  52. background-color: #91CB74;
  53. }
  54. .container .shape.shape3 {
  55. bottom: 0;
  56. background-color: #FAC858;
  57. }
  58. .container .shape.shape4 {
  59. bottom: 0;
  60. right: 0;
  61. background-color: #EE6666;
  62. }
  63. .loading3 .shape1 {
  64. -webkit-animation: animation3shape1 0.5s ease 0s infinite alternate;
  65. animation: animation3shape1 0.5s ease 0s infinite alternate;
  66. }
  67. @-webkit-keyframes animation3shape1 {
  68. from {
  69. -webkit-transform: translate(0, 0);
  70. transform: translate(0, 0);
  71. }
  72. to {
  73. -webkit-transform: translate(5px, 5px);
  74. transform: translate(5px, 5px);
  75. }
  76. }
  77. @keyframes animation3shape1 {
  78. from {
  79. -webkit-transform: translate(0, 0);
  80. transform: translate(0, 0);
  81. }
  82. to {
  83. -webkit-transform: translate(5px, 5px);
  84. transform: translate(5px, 5px);
  85. }
  86. }
  87. .loading3 .shape2 {
  88. -webkit-animation: animation3shape2 0.5s ease 0s infinite alternate;
  89. animation: animation3shape2 0.5s ease 0s infinite alternate;
  90. }
  91. @-webkit-keyframes animation3shape2 {
  92. from {
  93. -webkit-transform: translate(0, 0);
  94. transform: translate(0, 0);
  95. }
  96. to {
  97. -webkit-transform: translate(-5px, 5px);
  98. transform: translate(-5px, 5px);
  99. }
  100. }
  101. @keyframes animation3shape2 {
  102. from {
  103. -webkit-transform: translate(0, 0);
  104. transform: translate(0, 0);
  105. }
  106. to {
  107. -webkit-transform: translate(-5px, 5px);
  108. transform: translate(-5px, 5px);
  109. }
  110. }
  111. .loading3 .shape3 {
  112. -webkit-animation: animation3shape3 0.5s ease 0s infinite alternate;
  113. animation: animation3shape3 0.5s ease 0s infinite alternate;
  114. }
  115. @-webkit-keyframes animation3shape3 {
  116. from {
  117. -webkit-transform: translate(0, 0);
  118. transform: translate(0, 0);
  119. }
  120. to {
  121. -webkit-transform: translate(5px, -5px);
  122. transform: translate(5px, -5px);
  123. }
  124. }
  125. @keyframes animation3shape3 {
  126. from {
  127. -webkit-transform: translate(0, 0);
  128. transform: translate(0, 0);
  129. }
  130. to {
  131. -webkit-transform: translate(5px, -5px);
  132. transform: translate(5px, -5px);
  133. }
  134. }
  135. .loading3 .shape4 {
  136. -webkit-animation: animation3shape4 0.5s ease 0s infinite alternate;
  137. animation: animation3shape4 0.5s ease 0s infinite alternate;
  138. }
  139. @-webkit-keyframes animation3shape4 {
  140. from {
  141. -webkit-transform: translate(0, 0);
  142. transform: translate(0, 0);
  143. }
  144. to {
  145. -webkit-transform: translate(-5px, -5px);
  146. transform: translate(-5px, -5px);
  147. }
  148. }
  149. @keyframes animation3shape4 {
  150. from {
  151. -webkit-transform: translate(0, 0);
  152. transform: translate(0, 0);
  153. }
  154. to {
  155. -webkit-transform: translate(-5px, -5px);
  156. transform: translate(-5px, -5px);
  157. }
  158. }
  159. </style>