uni-load-more.wxss 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138
  1. @charset "UTF-8";
  2. .uni-load-more {
  3. display: -webkit-box;
  4. display: -webkit-flex;
  5. display: flex;
  6. -webkit-box-orient: horizontal;
  7. -webkit-box-direction: normal;
  8. -webkit-flex-direction: row;
  9. flex-direction: row;
  10. height: 80rpx;
  11. -webkit-box-align: center;
  12. -webkit-align-items: center;
  13. align-items: center;
  14. -webkit-box-pack: center;
  15. -webkit-justify-content: center;
  16. justify-content: center
  17. }
  18. .uni-load-more__text {
  19. font-size: 28rpx;
  20. color: #999
  21. }
  22. .uni-load-more__img {
  23. height: 24px;
  24. width: 24px;
  25. margin-right: 10px
  26. }
  27. .uni-load-more__img>.load {
  28. position: absolute
  29. }
  30. .uni-load-more__img>.load .item {
  31. width: 6px;
  32. height: 2px;
  33. -webkit-border-top-left-radius: 1px;
  34. border-top-left-radius: 1px;
  35. -webkit-border-bottom-left-radius: 1px;
  36. border-bottom-left-radius: 1px;
  37. background: #999;
  38. position: absolute;
  39. opacity: .2;
  40. -webkit-transform-origin: 50%;
  41. transform-origin: 50%;
  42. -webkit-animation: load 1.56s ease infinite;
  43. animation: load 1.56s ease infinite
  44. }
  45. .uni-load-more__img>.load .item:nth-child(1) {
  46. -webkit-transform: rotate(90deg);
  47. transform: rotate(90deg);
  48. top: 2px;
  49. left: 9px
  50. }
  51. .uni-load-more__img>.load .item:nth-child(2) {
  52. -webkit-transform: rotate(180deg);
  53. transform: rotate(180deg);
  54. top: 11px;
  55. right: 0
  56. }
  57. .uni-load-more__img>.load .item:nth-child(3) {
  58. -webkit-transform: rotate(270deg);
  59. transform: rotate(270deg);
  60. bottom: 2px;
  61. left: 9px
  62. }
  63. .uni-load-more__img>.load .item:nth-child(4) {
  64. top: 11px;
  65. left: 0
  66. }
  67. .load1,
  68. .load2,
  69. .load3 {
  70. height: 24px;
  71. width: 24px
  72. }
  73. .load2 {
  74. -webkit-transform: rotate(30deg);
  75. transform: rotate(30deg)
  76. }
  77. .load3 {
  78. -webkit-transform: rotate(60deg);
  79. transform: rotate(60deg)
  80. }
  81. .load1 .item:nth-child(1) {
  82. -webkit-animation-delay: 0s;
  83. animation-delay: 0s
  84. }
  85. .load2 .item:nth-child(1) {
  86. -webkit-animation-delay: .13s;
  87. animation-delay: .13s
  88. }
  89. .load3 .item:nth-child(1) {
  90. -webkit-animation-delay: .26s;
  91. animation-delay: .26s
  92. }
  93. .load1 .item:nth-child(2) {
  94. -webkit-animation-delay: .39s;
  95. animation-delay: .39s
  96. }
  97. .load2 .item:nth-child(2) {
  98. -webkit-animation-delay: .52s;
  99. animation-delay: .52s
  100. }
  101. .load3 .item:nth-child(2) {
  102. -webkit-animation-delay: .65s;
  103. animation-delay: .65s
  104. }
  105. .load1 .item:nth-child(3) {
  106. -webkit-animation-delay: .78s;
  107. animation-delay: .78s
  108. }
  109. .load2 .item:nth-child(3) {
  110. -webkit-animation-delay: .91s;
  111. animation-delay: .91s
  112. }
  113. .load3 .item:nth-child(3) {
  114. -webkit-animation-delay: 1.04s;
  115. animation-delay: 1.04s
  116. }
  117. .load1 .item:nth-child(4) {
  118. -webkit-animation-delay: 1.17s;
  119. animation-delay: 1.17s
  120. }
  121. .load2 .item:nth-child(4) {
  122. -webkit-animation-delay: 1.3s;
  123. animation-delay: 1.3s
  124. }
  125. .load3 .item:nth-child(4) {
  126. -webkit-animation-delay: 1.43s;
  127. animation-delay: 1.43s
  128. }
  129. @-webkit-keyframes load {
  130. 0% {
  131. opacity: 1
  132. }
  133. 100% {
  134. opacity: .2
  135. }
  136. }