11<template >
22 <view class =" uni-load-more" >
33 <view v-show =" status === 'loading' && showIcon" class =" uni-load-more__img" >
4- <view class =" load1" >
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} " />
4+ <view class =" load1 load " >
5+ <view :style =" { background: color } " class = " uni-load-view_wrapper " />
6+ <view :style =" { background: color } " class = " uni-load-view_wrapper " />
7+ <view :style =" { background: color } " class = " uni-load-view_wrapper " />
8+ <view :style =" { background: color } " class = " uni-load-view_wrapper " />
99 </view >
10- <view class =" load2" >
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} " />
10+ <view class =" load2 load " >
11+ <view :style =" { background: color } " class = " uni-load-view_wrapper " />
12+ <view :style =" { background: color } " class = " uni-load-view_wrapper " />
13+ <view :style =" { background: color } " class = " uni-load-view_wrapper " />
14+ <view :style =" { background: color } " class = " uni-load-view_wrapper " />
1515 </view >
16- <view class =" load3" >
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} " />
16+ <view class =" load3 load " >
17+ <view :style =" { background: color } " class = " uni-load-view_wrapper " />
18+ <view :style =" { background: color } " class = " uni-load-view_wrapper " />
19+ <view :style =" { background: color } " class = " uni-load-view_wrapper " />
20+ <view :style =" { background: color } " class = " uni-load-view_wrapper " />
2121 </view >
2222 </view >
23- <text :style =" {color:color}" class =" uni-load-more__text" >{{ status === 'more' ? contentText.contentdown : (status === 'loading' ? contentText.contentrefresh : contentText.contentnomore) }}</text >
23+ <text :style =" { color: color }" class =" uni-load-more__text" >
24+ {{ status === 'more' ? contentText.contentdown : status === 'loading' ? contentText.contentrefresh : contentText.contentnomore }}
25+ </text >
2426 </view >
2527</template >
2628
8082 margin-right : 10px
8183 }
8284
83- .uni-load-more__img > .uni- load-view_wrapper {
85+ .uni-load-more__img > .load {
8486 position : absolute
8587 }
8688
87- .uni-load-more__img > .uni- load-view_wrapper .uni-load-view_wrapper {
89+ .uni-load-more__img > .load .uni-load-view_wrapper {
8890 width : 6px ;
8991 height : 2px ;
9092 border-top-left-radius : 1px ;
9698 animation : load 1.56s ease infinite
9799 }
98100
99- .uni-load-more__img > .uni- load-view_wrapper .uni-load-view_wrapper :nth-child (1 ) {
101+ .uni-load-more__img > .load .uni-load-view_wrapper :nth-child (1 ) {
100102 transform : rotate (90deg );
101103 top : 2px ;
102104 left : 9px
103105 }
104106
105- .uni-load-more__img > .uni- load-view_wrapper .uni-load-view_wrapper :nth-child (2 ) {
107+ .uni-load-more__img > .load .uni-load-view_wrapper :nth-child (2 ) {
106108 transform : rotate (180deg );
107109 top : 11px ;
108110 right : 0
109111 }
110112
111- .uni-load-more__img > .uni- load-view_wrapper .uni-load-view_wrapper :nth-child (3 ) {
113+ .uni-load-more__img > .load .uni-load-view_wrapper :nth-child (3 ) {
112114 transform : rotate (270deg );
113115 bottom : 2px ;
114116 left : 9px
115117 }
116118
117- .uni-load-more__img > .uni- load-view_wrapper .uni-load-view_wrapper :nth-child (4 ) {
119+ .uni-load-more__img > .load .uni-load-view_wrapper :nth-child (4 ) {
118120 top : 11px ;
119121 left : 0
120122 }
191193 opacity : .2
192194 }
193195 }
194- </style >
196+ </style >
0 commit comments