[bugfix] Button: fix plain button loading color (#760)

This commit is contained in:
neverland 2018-10-15 11:01:30 +08:00 committed by GitHub
parent 6bec99306d
commit fd7fce15ea
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -30,7 +30,7 @@
}
&:active::after {
opacity: .3;
opacity: .15;
}
&--unclickable::after {

View File

@ -23,7 +23,7 @@
wx:if="{{ loading }}"
size="20px"
custom-class="loading-class"
color="{{ type === 'default' ? '#c9c9c9' : '#fff' }}"
color="{{ type === 'default' ? '#c9c9c9' : '' }}"
/>
<slot wx:else />
</button>