[new feature] List: add finished-text prop (#2131)

This commit is contained in:
neverland
2018-11-24 08:10:34 +08:00
committed by GitHub
parent 58f3bddbaa
commit c8967fc8ed
8 changed files with 80 additions and 52 deletions
+13 -11
View File
@@ -1,25 +1,27 @@
@import '../style/var';
.van-list {
&__loading-text,
&__finished-text {
color: @list-text-color;
font-size: @list-text-font-size;
line-height: @list-text-line-height;
text-align: center;
}
&__loading {
text-align: center;
.van-loading,
&-icon,
&-text {
display: inline-block;
vertical-align: middle;
}
.van-loading {
width: 16px;
height: 16px;
margin-right: 5px;
}
&-text {
font-size: 13px;
color: @gray-dark;
line-height: 50px;
&-icon {
width: @list-icon-size;
height: @list-icon-size;
margin-right: @list-icon-margin-right;
}
}
}