mirror of
https://gitee.com/vant-contrib/vant-weapp.git
synced 2025-04-06 03:58:05 +08:00
[bugfix] Button: fix plain button loading color (#760)
This commit is contained in:
parent
6bec99306d
commit
fd7fce15ea
@ -30,7 +30,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
&:active::after {
|
&:active::after {
|
||||||
opacity: .3;
|
opacity: .15;
|
||||||
}
|
}
|
||||||
|
|
||||||
&--unclickable::after {
|
&--unclickable::after {
|
||||||
|
@ -23,7 +23,7 @@
|
|||||||
wx:if="{{ loading }}"
|
wx:if="{{ loading }}"
|
||||||
size="20px"
|
size="20px"
|
||||||
custom-class="loading-class"
|
custom-class="loading-class"
|
||||||
color="{{ type === 'default' ? '#c9c9c9' : '#fff' }}"
|
color="{{ type === 'default' ? '#c9c9c9' : '' }}"
|
||||||
/>
|
/>
|
||||||
<slot wx:else />
|
<slot wx:else />
|
||||||
</button>
|
</button>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user