mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +08:00
style(Cascader): using primary color by default
This commit is contained in:
parent
4e89e88845
commit
84b90b1f4c
@ -83,7 +83,7 @@ export default {
|
||||
v-model="cascaderValue"
|
||||
title="Select Area"
|
||||
:options="options"
|
||||
active-color="#1989fa"
|
||||
active-color="#ee0a24"
|
||||
@close="show = false"
|
||||
@finish="onFinish"
|
||||
/>
|
||||
@ -250,7 +250,7 @@ export default {
|
||||
| value | Value of selected option | _string \| number_ | - |
|
||||
| options | Options | _CascaderOption[]_ | `[]` |
|
||||
| placeholder | Placeholder of unselected tab | _string_ | `Select` |
|
||||
| active-color | Active color | _string_ | `#ee0a24` |
|
||||
| active-color | Active color | _string_ | `#1989fa` |
|
||||
| swipeable `v3.0.11` | Whether to enable gestures to slide left and right | _boolean_ | `false` |
|
||||
| closeable | Whether to show close icon | _boolean_ | `true` |
|
||||
| show-header `v3.4.2` | Whether to show header | _boolean_ | `true` |
|
||||
|
@ -89,7 +89,7 @@ export default {
|
||||
v-model="cascaderValue"
|
||||
title="请选择所在地区"
|
||||
:options="options"
|
||||
active-color="#1989fa"
|
||||
active-color="#ee0a24"
|
||||
@close="show = false"
|
||||
@finish="onFinish"
|
||||
/>
|
||||
@ -260,7 +260,7 @@ export default {
|
||||
| value | 选中项的值 | _string \| number_ | - |
|
||||
| options | 可选项数据源 | _CascaderOption[]_ | `[]` |
|
||||
| placeholder | 未选中时的提示文案 | _string_ | `请选择` |
|
||||
| active-color | 选中状态的高亮颜色 | _string_ | `#ee0a24` |
|
||||
| active-color | 选中状态的高亮颜色 | _string_ | `#1989fa` |
|
||||
| swipeable `v3.0.11` | 是否开启手势左右滑动切换 | _boolean_ | `false` |
|
||||
| closeable | 是否显示关闭图标 | _boolean_ | `true` |
|
||||
| show-header `v3.4.2` | 是否展示标题栏 | _boolean_ | `true` |
|
||||
|
@ -186,7 +186,7 @@ const onFinish = (
|
||||
v-model="customColorState.value"
|
||||
:title="t('selectArea')"
|
||||
:options="t('options')"
|
||||
active-color="#1989fa"
|
||||
active-color="#ee0a24"
|
||||
@close="customColorState.show = false"
|
||||
@finish="onFinish(customColorState, $event)"
|
||||
/>
|
||||
|
Loading…
x
Reference in New Issue
Block a user