Skip to content

Commit 1c7a67d

Browse files
author
wangyaqi
committed
update: 更新部分样式
1 parent a9f11fa commit 1c7a67d

3 files changed

Lines changed: 24 additions & 12 deletions

File tree

‎components/uni-collapse-item/uni-collapse-item.vue‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,7 @@
9797
}
9898
this.isOpen = !this.isOpen
9999
this.collapse.onChange && this.collapse.onChange()
100+
this.$forceUpdate()
100101
}
101102
}
102103
}

‎components/uni-fav/uni-fav.vue‎

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,17 @@
5555
}
5656
}
5757
},
58+
watch: {
59+
checked() {
60+
if (uni.report) {
61+
if (this.checked) {
62+
uni.report("收藏", "收藏")
63+
} else {
64+
uni.report("取消收藏", "取消收藏")
65+
}
66+
}
67+
}
68+
},
5869
methods: {
5970
onClick() {
6071
this.$emit('click')

‎components/uni-load-more/uni-load-more.vue‎

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@
106106
position: absolute;
107107
opacity: .2;
108108
transform-origin: 50%;
109-
animation: load 1.56s ease infinite
109+
animation: load .72s ease infinite
110110
}
111111
112112
.uni-load-more__img>.load .uni-load-view_wrapper:nth-child(1) {
@@ -165,47 +165,47 @@
165165
}
166166
167167
.load2 .uni-load-view_wrapper:nth-child(1) {
168-
animation-delay: .13s
168+
animation-delay: 60ms
169169
}
170170
171171
.load3 .uni-load-view_wrapper:nth-child(1) {
172-
animation-delay: .26s
172+
animation-delay: .12s
173173
}
174174
175175
.load1 .uni-load-view_wrapper:nth-child(2) {
176-
animation-delay: .39s
176+
animation-delay: .18s
177177
}
178178
179179
.load2 .uni-load-view_wrapper:nth-child(2) {
180-
animation-delay: .52s
180+
animation-delay: .24s
181181
}
182182
183183
.load3 .uni-load-view_wrapper:nth-child(2) {
184-
animation-delay: .65s
184+
animation-delay: .3s
185185
}
186186
187187
.load1 .uni-load-view_wrapper:nth-child(3) {
188-
animation-delay: .78s
188+
animation-delay: .36s
189189
}
190190
191191
.load2 .uni-load-view_wrapper:nth-child(3) {
192-
animation-delay: .91s
192+
animation-delay: .42s
193193
}
194194
195195
.load3 .uni-load-view_wrapper:nth-child(3) {
196-
animation-delay: 1.04s
196+
animation-delay: .48s
197197
}
198198
199199
.load1 .uni-load-view_wrapper:nth-child(4) {
200-
animation-delay: 1.17s
200+
animation-delay: .54s
201201
}
202202
203203
.load2 .uni-load-view_wrapper:nth-child(4) {
204-
animation-delay: 1.3s
204+
animation-delay: .6s
205205
}
206206
207207
.load3 .uni-load-view_wrapper:nth-child(4) {
208-
animation-delay: 1.43s
208+
animation-delay: .66s
209209
}
210210
211211
@-webkit-keyframes load {

0 commit comments

Comments
 (0)