mirror of
https://github.com/youzan/vant.git
synced 2025-10-19 18:14:13 +00:00
[Improvement] Radio & Checkbox disabled color (#383)
This commit is contained in:
@@ -5,7 +5,8 @@
|
||||
</demo-block>
|
||||
|
||||
<demo-block :title="$t('disabled')">
|
||||
<van-checkbox v-model="checkbox2" disabled>{{ $t('checkbox') }} 2</van-checkbox>
|
||||
<van-checkbox :value="false" disabled>{{ $t('checkbox') }} 2</van-checkbox>
|
||||
<van-checkbox :value="true" disabled>{{ $t('checkbox') }} 2</van-checkbox>
|
||||
</demo-block>
|
||||
|
||||
<demo-block :title="$t('title3')">
|
||||
@@ -64,6 +65,8 @@ export default {
|
||||
|
||||
<style lang="postcss">
|
||||
.demo-checkbox {
|
||||
background: #fff;
|
||||
|
||||
.van-checkbox {
|
||||
margin: 10px 0 0 20px;
|
||||
}
|
||||
|
@@ -66,6 +66,8 @@ export default {
|
||||
|
||||
<style lang="postcss">
|
||||
.demo-radio {
|
||||
background: #fff;
|
||||
|
||||
.van-radios {
|
||||
padding: 0 20px;
|
||||
|
||||
|
Reference in New Issue
Block a user