Merge branch 'master' of gitlab.qima-inc.com:fe/zanui-vue

This commit is contained in:
cookfront 2017-03-02 16:07:11 +08:00
commit 50f2fd88e2
4 changed files with 6 additions and 6 deletions

View File

@ -38,7 +38,6 @@ router.afterEach(route => {
Vue.nextTick(() => {
document.body.scrollTop = indexScrollTop;
});
}
});

View File

@ -61,9 +61,9 @@ export default {
'zan-button--' + type,
'zan-button--' + size,
{
'is-disabled': disabled,
'is-loading': loading,
'is-block': block
'z-button--disabled': disabled,
'z-button--loading': loading,
'z-button--block': block
}
]}
onClick={this.handleClick}

View File

@ -75,13 +75,13 @@
font-size: 10px;
}
@when disabled {
@m disabled {
color: $button-disabled-color;
background-color: $button-disabled-background-color;
border: 1px solid $button-disabled-border-color;
}
@when block {
@m block {
display: block;
}
}

View File

@ -2,6 +2,7 @@
display: inline-block;
box-sizing: border-box;
padding-right: 10px;
vertical-align: middle;
&:last-child {
padding-right: 0;
}