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(() => { Vue.nextTick(() => {
document.body.scrollTop = indexScrollTop; document.body.scrollTop = indexScrollTop;
}); });
} }
}); });

View File

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

View File

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

View File

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