[breaking change] rebuild style struct (#2021)

This commit is contained in:
neverland
2018-11-03 21:08:06 +08:00
committed by GitHub
parent a5576762d8
commit 11ce2a602f
165 changed files with 1371 additions and 4729 deletions
+1 -1
View File
@@ -40,7 +40,7 @@ export default {
};
</script>
<style lang="postcss">
<style lang="less">
.demo-pull-refresh {
.van-pull-refresh {
&,
+41
View File
@@ -0,0 +1,41 @@
@import '../style/var';
.van-pull-refresh {
user-select: none;
overflow: hidden;
&__track {
position: relative;
}
&__head {
width: 100%;
height: 50px;
left: 0;
overflow: hidden;
position: absolute;
text-align: center;
top: -50px;
font-size: 14px;
color: @gray-dark;
line-height: 50px;
}
&__loading {
.van-loading {
width: 16px;
height: 16px;
margin-right: 5px;
}
span,
.van-loading {
vertical-align: middle;
display: inline-block;
}
}
&__text {
display: block;
}
}