引入vue-jsx, 按钮完善

This commit is contained in:
niunai
2017-02-20 01:10:00 +08:00
parent e415d039f0
commit 9a4ac14066
10 changed files with 170 additions and 77 deletions
+29
View File
@@ -0,0 +1,29 @@
@define-mixin button-wrap {
display: inline-block;
box-sizing: border-box;
padding-right: 10px;
&:last-child {
padding-right: 0;
}
.z-button {
width: 100%;
}
}
@component-namespace z {
@b button-group {
font-size: 0;
}
@b button-1-1 {
@mixin button-wrap;
width: 100%;
}
@b button-2-1 {
@mixin button-wrap;
width: 50%;
}
@b button-3-1 {
@mixin button-wrap;
width: 33.33%;
}
}