|
2 | 2 | <view class="uni-load-more"> |
3 | 3 | <view v-show="status === 'loading' && showIcon" class="uni-load-more__img"> |
4 | 4 | <view class="load1"> |
5 | | - <view :style="{background:color}" /> |
6 | | - <view :style="{background:color}" /> |
7 | | - <view :style="{background:color}" /> |
8 | | - <view :style="{background:color}" /> |
| 5 | + <view class="uni-load-view_wrapper" :style="{background:color}" /> |
| 6 | + <view class="uni-load-view_wrapper" :style="{background:color}" /> |
| 7 | + <view class="uni-load-view_wrapper" :style="{background:color}" /> |
| 8 | + <view class="uni-load-view_wrapper" :style="{background:color}" /> |
9 | 9 | </view> |
10 | 10 | <view class="load2"> |
11 | | - <view :style="{background:color}" /> |
12 | | - <view :style="{background:color}" /> |
13 | | - <view :style="{background:color}" /> |
14 | | - <view :style="{background:color}" /> |
| 11 | + <view class="uni-load-view_wrapper" :style="{background:color}" /> |
| 12 | + <view class="uni-load-view_wrapper" :style="{background:color}" /> |
| 13 | + <view class="uni-load-view_wrapper" :style="{background:color}" /> |
| 14 | + <view class="uni-load-view_wrapper" :style="{background:color}" /> |
15 | 15 | </view> |
16 | 16 | <view class="load3"> |
17 | | - <view :style="{background:color}" /> |
18 | | - <view :style="{background:color}" /> |
19 | | - <view :style="{background:color}" /> |
20 | | - <view :style="{background:color}" /> |
| 17 | + <view class="uni-load-view_wrapper" :style="{background:color}" /> |
| 18 | + <view class="uni-load-view_wrapper" :style="{background:color}" /> |
| 19 | + <view class="uni-load-view_wrapper" :style="{background:color}" /> |
| 20 | + <view class="uni-load-view_wrapper" :style="{background:color}" /> |
21 | 21 | </view> |
22 | 22 | </view> |
23 | 23 | <text :style="{color:color}" class="uni-load-more__text">{{ status === 'more' ? contentText.contentdown : (status === 'loading' ? contentText.contentrefresh : contentText.contentnomore) }}</text> |
|
80 | 80 | margin-right: 10px |
81 | 81 | } |
82 | 82 |
|
83 | | - .uni-load-more__img>view { |
| 83 | + .uni-load-more__img>.uni-load-view_wrapper { |
84 | 84 | position: absolute |
85 | 85 | } |
86 | 86 |
|
87 | | - .uni-load-more__img>view view { |
| 87 | + .uni-load-more__img>.uni-load-view_wrapper .uni-load-view_wrapper { |
88 | 88 | width: 6px; |
89 | 89 | height: 2px; |
90 | 90 | border-top-left-radius: 1px; |
|
96 | 96 | animation: load 1.56s ease infinite |
97 | 97 | } |
98 | 98 |
|
99 | | - .uni-load-more__img>view view:nth-child(1) { |
| 99 | + .uni-load-more__img>.uni-load-view_wrapper .uni-load-view_wrapper:nth-child(1) { |
100 | 100 | transform: rotate(90deg); |
101 | 101 | top: 2px; |
102 | 102 | left: 9px |
103 | 103 | } |
104 | 104 |
|
105 | | - .uni-load-more__img>view view:nth-child(2) { |
| 105 | + .uni-load-more__img>.uni-load-view_wrapper .uni-load-view_wrapper:nth-child(2) { |
106 | 106 | transform: rotate(180deg); |
107 | 107 | top: 11px; |
108 | 108 | right: 0 |
109 | 109 | } |
110 | 110 |
|
111 | | - .uni-load-more__img>view view:nth-child(3) { |
| 111 | + .uni-load-more__img>.uni-load-view_wrapper .uni-load-view_wrapper:nth-child(3) { |
112 | 112 | transform: rotate(270deg); |
113 | 113 | bottom: 2px; |
114 | 114 | left: 9px |
115 | 115 | } |
116 | 116 |
|
117 | | - .uni-load-more__img>view view:nth-child(4) { |
| 117 | + .uni-load-more__img>.uni-load-view_wrapper .uni-load-view_wrapper:nth-child(4) { |
118 | 118 | top: 11px; |
119 | 119 | left: 0 |
120 | 120 | } |
|
134 | 134 | transform: rotate(60deg) |
135 | 135 | } |
136 | 136 |
|
137 | | - .load1 view:nth-child(1) { |
| 137 | + .load1 .uni-load-view_wrapper:nth-child(1) { |
138 | 138 | animation-delay: 0s |
139 | 139 | } |
140 | 140 |
|
141 | | - .load2 view:nth-child(1) { |
| 141 | + .load2 .uni-load-view_wrapper:nth-child(1) { |
142 | 142 | animation-delay: .13s |
143 | 143 | } |
144 | 144 |
|
145 | | - .load3 view:nth-child(1) { |
| 145 | + .load3 .uni-load-view_wrapper:nth-child(1) { |
146 | 146 | animation-delay: .26s |
147 | 147 | } |
148 | 148 |
|
149 | | - .load1 view:nth-child(2) { |
| 149 | + .load1 .uni-load-view_wrapper:nth-child(2) { |
150 | 150 | animation-delay: .39s |
151 | 151 | } |
152 | 152 |
|
153 | | - .load2 view:nth-child(2) { |
| 153 | + .load2 .uni-load-view_wrapper:nth-child(2) { |
154 | 154 | animation-delay: .52s |
155 | 155 | } |
156 | 156 |
|
157 | | - .load3 view:nth-child(2) { |
| 157 | + .load3 .uni-load-view_wrapper:nth-child(2) { |
158 | 158 | animation-delay: .65s |
159 | 159 | } |
160 | 160 |
|
161 | | - .load1 view:nth-child(3) { |
| 161 | + .load1 .uni-load-view_wrapper:nth-child(3) { |
162 | 162 | animation-delay: .78s |
163 | 163 | } |
164 | 164 |
|
165 | | - .load2 view:nth-child(3) { |
| 165 | + .load2 .uni-load-view_wrapper:nth-child(3) { |
166 | 166 | animation-delay: .91s |
167 | 167 | } |
168 | 168 |
|
169 | | - .load3 view:nth-child(3) { |
| 169 | + .load3 .uni-load-view_wrapper:nth-child(3) { |
170 | 170 | animation-delay: 1.04s |
171 | 171 | } |
172 | 172 |
|
173 | | - .load1 view:nth-child(4) { |
| 173 | + .load1 .uni-load-view_wrapper:nth-child(4) { |
174 | 174 | animation-delay: 1.17s |
175 | 175 | } |
176 | 176 |
|
177 | | - .load2 view:nth-child(4) { |
| 177 | + .load2 .uni-load-view_wrapper:nth-child(4) { |
178 | 178 | animation-delay: 1.3s |
179 | 179 | } |
180 | 180 |
|
181 | | - .load3 view:nth-child(4) { |
| 181 | + .load3 .uni-load-view_wrapper:nth-child(4) { |
182 | 182 | animation-delay: 1.43s |
183 | 183 | } |
184 | 184 |
|
|
0 commit comments