[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

View File

@@ -56,8 +56,8 @@ export default {
};
</script>
<style lang="postcss">
@import '../../../packages/vant-css/src/common/var.css';
<style lang="less">
@import '../../../packages/style/var';
.side-nav {
width: 100%;
@@ -103,9 +103,9 @@ export default {
top: 15px;
right: 15px;
font-size: 11px;
border: 1px solid $blue;
border: 1px solid @blue;
border-radius: 3px;
color: $blue;
color: @blue;
cursor: pointer;
span {
@@ -116,7 +116,7 @@ export default {
&.active {
color: #fff;
background-color: $blue;
background-color: @blue;
}
}
}

View File

@@ -84,7 +84,7 @@ export default {
};
</script>
<style lang="postcss">
<style lang="less">
.van-doc-demo-pages {
&__gallery {
margin-top: 30px;

View File

@@ -28,7 +28,7 @@ export default {
};
</script>
<style lang="postcss">
<style lang="less">
.mobile-nav {
&__item {
margin-bottom: 20px;