mirror of
https://github.com/youzan/vant.git
synced 2025-10-21 19:24:16 +00:00
[breaking change] rebuild style struct (#2021)
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@@ -84,7 +84,7 @@ export default {
|
||||
};
|
||||
</script>
|
||||
|
||||
<style lang="postcss">
|
||||
<style lang="less">
|
||||
.van-doc-demo-pages {
|
||||
&__gallery {
|
||||
margin-top: 30px;
|
||||
|
@@ -28,7 +28,7 @@ export default {
|
||||
};
|
||||
</script>
|
||||
|
||||
<style lang="postcss">
|
||||
<style lang="less">
|
||||
.mobile-nav {
|
||||
&__item {
|
||||
margin-bottom: 20px;
|
||||
|
Reference in New Issue
Block a user