|
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229 |
- <template>
- <view class="container loading6">
- <view class="shape shape1"></view>
- <view class="shape shape2"></view>
- <view class="shape shape3"></view>
- <view class="shape shape4"></view>
- </view>
- </template>
-
- <script>
- export default {
- name: 'loading6',
- data() {
- return {
-
- };
- }
- }
- </script>
- <style scoped="true">
- .container {
- width: 30px;
- height: 30px;
- position: relative;
- }
-
- .container.loading6 {
- -webkit-animation: rotation 1s infinite;
- animation: rotation 1s infinite;
- }
- .container.loading6 .shape {
- width: 12px;
- height: 12px;
- border-radius: 2px;
- }
- .container .shape {
- position: absolute;
- width: 10px;
- height: 10px;
- border-radius: 1px;
- }
- .container .shape.shape1 {
- left: 0;
- background-color: #1890FF;
- }
- .container .shape.shape2 {
- right: 0;
- background-color: #91CB74;
- }
- .container .shape.shape3 {
- bottom: 0;
- background-color: #FAC858;
- }
- .container .shape.shape4 {
- bottom: 0;
- right: 0;
- background-color: #EE6666;
- }
-
-
- .loading6 .shape1 {
- -webkit-animation: animation6shape1 2s linear 0s infinite normal;
- animation: animation6shape1 2s linear 0s infinite normal;
- }
-
- @-webkit-keyframes animation6shape1 {
- 0% {
- -webkit-transform: translate(0, 0);
- transform: translate(0, 0);
- }
- 25% {
- -webkit-transform: translate(0, 18px);
- transform: translate(0, 18px);
- }
- 50% {
- -webkit-transform: translate(18px, 18px);
- transform: translate(18px, 18px);
- }
- 75% {
- -webkit-transform: translate(18px, 0);
- transform: translate(18px, 0);
- }
- }
-
- @keyframes animation6shape1 {
- 0% {
- -webkit-transform: translate(0, 0);
- transform: translate(0, 0);
- }
- 25% {
- -webkit-transform: translate(0, 18px);
- transform: translate(0, 18px);
- }
- 50% {
- -webkit-transform: translate(18px, 18px);
- transform: translate(18px, 18px);
- }
- 75% {
- -webkit-transform: translate(18px, 0);
- transform: translate(18px, 0);
- }
- }
- .loading6 .shape2 {
- -webkit-animation: animation6shape2 2s linear 0s infinite normal;
- animation: animation6shape2 2s linear 0s infinite normal;
- }
-
- @-webkit-keyframes animation6shape2 {
- 0% {
- -webkit-transform: translate(0, 0);
- transform: translate(0, 0);
- }
- 25% {
- -webkit-transform: translate(-18px, 0);
- transform: translate(-18px, 0);
- }
- 50% {
- -webkit-transform: translate(-18px, 18px);
- transform: translate(-18px, 18px);
- }
- 75% {
- -webkit-transform: translate(0, 18px);
- transform: translate(0, 18px);
- }
- }
-
- @keyframes animation6shape2 {
- 0% {
- -webkit-transform: translate(0, 0);
- transform: translate(0, 0);
- }
- 25% {
- -webkit-transform: translate(-18px, 0);
- transform: translate(-18px, 0);
- }
- 50% {
- -webkit-transform: translate(-18px, 18px);
- transform: translate(-18px, 18px);
- }
- 75% {
- -webkit-transform: translate(0, 18px);
- transform: translate(0, 18px);
- }
- }
- .loading6 .shape3 {
- -webkit-animation: animation6shape3 2s linear 0s infinite normal;
- animation: animation6shape3 2s linear 0s infinite normal;
- }
-
- @-webkit-keyframes animation6shape3 {
- 0% {
- -webkit-transform: translate(0, 0);
- transform: translate(0, 0);
- }
- 25% {
- -webkit-transform: translate(18px, 0);
- transform: translate(18px, 0);
- }
- 50% {
- -webkit-transform: translate(18px, -18px);
- transform: translate(18px, -18px);
- }
- 75% {
- -webkit-transform: translate(0, -18px);
- transform: translate(0, -18px);
- }
- }
-
- @keyframes animation6shape3 {
- 0% {
- -webkit-transform: translate(0, 0);
- transform: translate(0, 0);
- }
- 25% {
- -webkit-transform: translate(18px, 0);
- transform: translate(18px, 0);
- }
- 50% {
- -webkit-transform: translate(18px, -18px);
- transform: translate(18px, -18px);
- }
- 75% {
- -webkit-transform: translate(0, -18px);
- transform: translate(0, -18px);
- }
- }
- .loading6 .shape4 {
- -webkit-animation: animation6shape4 2s linear 0s infinite normal;
- animation: animation6shape4 2s linear 0s infinite normal;
- }
-
- @-webkit-keyframes animation6shape4 {
- 0% {
- -webkit-transform: translate(0, 0);
- transform: translate(0, 0);
- }
- 25% {
- -webkit-transform: translate(0, -18px);
- transform: translate(0, -18px);
- }
- 50% {
- -webkit-transform: translate(-18px, -18px);
- transform: translate(-18px, -18px);
- }
- 75% {
- -webkit-transform: translate(-18px, 0);
- transform: translate(-18px, 0);
- }
- }
-
- @keyframes animation6shape4 {
- 0% {
- -webkit-transform: translate(0, 0);
- transform: translate(0, 0);
- }
- 25% {
- -webkit-transform: translate(0, -18px);
- transform: translate(0, -18px);
- }
- 50% {
- -webkit-transform: translate(-18px, -18px);
- transform: translate(-18px, -18px);
- }
- 75% {
- -webkit-transform: translate(-18px, 0);
- transform: translate(-18px, 0);
- }
- }
- </style>
|