vant 3.2.8 → 3.3.3-beta.nuxt3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/address-edit/AddressEdit.js +154 -180
- package/es/address-edit/AddressEditDetail.d.ts +10 -9
- package/es/address-edit/AddressEditDetail.js +6 -6
- package/es/button/Button.js +2 -2
- package/es/calendar/Calendar.js +8 -14
- package/es/calendar/CalendarHeader.js +1 -3
- package/es/calendar/CalendarMonth.js +11 -10
- package/es/calendar/types.d.ts +1 -1
- package/es/cascader/Cascader.js +10 -2
- package/es/checkbox/Checker.js +1 -1
- package/es/checkbox/types.d.ts +2 -6
- package/es/composables/use-id.d.ts +1 -0
- package/es/composables/use-id.js +14 -0
- package/es/composables/use-route.d.ts +1 -1
- package/es/composables/use-route.js +4 -4
- package/es/count-down/CountDown.js +1 -0
- package/es/coupon-list/CouponList.js +40 -24
- package/es/coupon-list/index.css +1 -1
- package/es/coupon-list/index.less +0 -5
- package/es/dropdown-item/DropdownItem.js +7 -2
- package/es/dropdown-item/types.d.ts +2 -6
- package/es/dropdown-menu/DropdownMenu.js +7 -3
- package/es/dropdown-menu/types.d.ts +1 -0
- package/es/empty/Network.js +22 -34
- package/es/field/Field.d.ts +1 -1
- package/es/field/Field.js +13 -5
- package/es/field/index.d.ts +2 -2
- package/es/field/types.d.ts +7 -6
- package/es/form/Form.js +2 -2
- package/es/image/Image.js +4 -9
- package/es/image-preview/ImagePreview.js +3 -4
- package/es/index.d.ts +1 -1
- package/es/index.js +1 -1
- package/es/lazyload/index.d.ts +1 -1
- package/es/lazyload/index.js +1 -1
- package/es/lazyload/vue-lazyload/index.d.ts +55 -0
- package/es/lazyload/vue-lazyload/index.js +46 -0
- package/es/lazyload/vue-lazyload/lazy-component.js +53 -0
- package/es/lazyload/vue-lazyload/lazy-container.js +98 -0
- package/es/lazyload/vue-lazyload/lazy-image.js +115 -0
- package/es/lazyload/vue-lazyload/lazy.js +507 -0
- package/es/lazyload/vue-lazyload/listener.js +241 -0
- package/es/lazyload/vue-lazyload/util.js +183 -0
- package/es/list/List.js +3 -1
- package/es/locale/lang/pt-BR.d.ts +73 -0
- package/es/locale/lang/pt-BR.js +72 -0
- package/es/number-keyboard/NumberKeyboardKey.js +4 -4
- package/es/pagination/Pagination.js +67 -49
- package/es/pagination/index.css +1 -1
- package/es/pagination/index.less +32 -31
- package/es/password-input/PasswordInput.d.ts +1 -1
- package/es/password-input/index.d.ts +1 -1
- package/es/popover/Popover.js +2 -0
- package/es/popup/Popup.d.ts +1 -2
- package/es/popup/Popup.js +2 -5
- package/es/popup/index.d.ts +1 -2
- package/es/rate/Rate.js +5 -3
- package/es/search/Search.js +8 -2
- package/es/sidebar/Sidebar.js +1 -0
- package/es/sidebar-item/SidebarItem.js +4 -1
- package/es/slider/Slider.js +5 -3
- package/es/stepper/Stepper.js +11 -8
- package/es/swipe/Swipe.js +11 -6
- package/es/swipe/index.css +1 -1
- package/es/swipe/index.less +2 -0
- package/es/swipe/types.d.ts +1 -3
- package/es/switch/Switch.js +1 -0
- package/es/switch/index.css +1 -1
- package/es/switch/index.less +2 -0
- package/es/tab/Tab.js +18 -5
- package/es/tab/index.css +1 -1
- package/es/tab/index.less +1 -1
- package/es/tabbar/Tabbar.d.ts +1 -1
- package/es/tabbar/Tabbar.js +10 -10
- package/es/tabbar-item/TabbarItem.js +16 -7
- package/es/tabs/Tabs.js +10 -5
- package/es/tabs/TabsTitle.d.ts +6 -0
- package/es/tabs/TabsTitle.js +7 -1
- package/es/tabs/types.d.ts +1 -0
- package/es/uploader/UploaderPreviewItem.js +4 -1
- package/es/uploader/utils.d.ts +2 -2
- package/es/uploader/utils.js +2 -2
- package/es/utils/dom.d.ts +1 -0
- package/es/utils/dom.js +6 -2
- package/es/utils/format.js +6 -5
- package/es/vue-tsx-shim.d.ts +1 -0
- package/lib/address-edit/AddressEdit.js +155 -180
- package/lib/address-edit/AddressEditDetail.d.ts +10 -9
- package/lib/address-edit/AddressEditDetail.js +6 -6
- package/lib/button/Button.js +1 -1
- package/lib/calendar/Calendar.js +8 -14
- package/lib/calendar/CalendarHeader.js +1 -3
- package/lib/calendar/CalendarMonth.js +11 -10
- package/lib/calendar/types.d.ts +1 -1
- package/lib/cascader/Cascader.js +10 -2
- package/lib/checkbox/Checker.js +1 -1
- package/lib/checkbox/types.d.ts +2 -6
- package/lib/composables/use-id.d.ts +1 -0
- package/lib/composables/use-id.js +21 -0
- package/lib/composables/use-route.d.ts +1 -1
- package/lib/composables/use-route.js +4 -4
- package/lib/count-down/CountDown.js +1 -0
- package/lib/coupon-list/CouponList.js +39 -22
- package/lib/coupon-list/index.css +1 -1
- package/lib/coupon-list/index.less +0 -5
- package/lib/dropdown-item/DropdownItem.js +7 -2
- package/lib/dropdown-item/types.d.ts +2 -6
- package/lib/dropdown-menu/DropdownMenu.js +7 -2
- package/lib/dropdown-menu/types.d.ts +1 -0
- package/lib/empty/Network.js +22 -34
- package/lib/field/Field.d.ts +1 -1
- package/lib/field/Field.js +14 -5
- package/lib/field/index.d.ts +2 -2
- package/lib/field/types.d.ts +7 -6
- package/lib/form/Form.js +1 -1
- package/lib/image/Image.js +4 -9
- package/lib/image-preview/ImagePreview.js +1 -2
- package/lib/index.css +1 -1
- package/lib/index.d.ts +1 -1
- package/lib/index.js +1 -1
- package/lib/lazyload/index.d.ts +1 -1
- package/lib/lazyload/index.js +3 -3
- package/lib/lazyload/vue-lazyload/index.d.ts +55 -0
- package/lib/lazyload/vue-lazyload/index.js +58 -0
- package/lib/lazyload/vue-lazyload/lazy-component.js +62 -0
- package/lib/lazyload/vue-lazyload/lazy-container.js +106 -0
- package/lib/lazyload/vue-lazyload/lazy-image.js +125 -0
- package/lib/lazyload/vue-lazyload/lazy.js +520 -0
- package/lib/lazyload/vue-lazyload/listener.js +251 -0
- package/lib/lazyload/vue-lazyload/util.js +213 -0
- package/lib/list/List.js +3 -1
- package/lib/locale/lang/pt-BR.d.ts +73 -0
- package/lib/locale/lang/pt-BR.js +77 -0
- package/lib/number-keyboard/NumberKeyboardKey.js +3 -3
- package/lib/pagination/Pagination.js +65 -47
- package/lib/pagination/index.css +1 -1
- package/lib/pagination/index.less +32 -31
- package/lib/password-input/PasswordInput.d.ts +1 -1
- package/lib/password-input/index.d.ts +1 -1
- package/lib/popover/Popover.js +2 -0
- package/lib/popup/Popup.d.ts +1 -2
- package/lib/popup/Popup.js +2 -5
- package/lib/popup/index.d.ts +1 -2
- package/lib/rate/Rate.js +5 -3
- package/lib/search/Search.js +9 -2
- package/lib/sidebar/Sidebar.js +1 -0
- package/lib/sidebar-item/SidebarItem.js +4 -1
- package/lib/slider/Slider.js +5 -3
- package/lib/ssr.js +7 -0
- package/lib/ssr.mjs +1 -0
- package/lib/stepper/Stepper.js +11 -8
- package/lib/swipe/Swipe.js +9 -4
- package/lib/swipe/index.css +1 -1
- package/lib/swipe/index.less +2 -0
- package/lib/swipe/types.d.ts +1 -3
- package/lib/switch/Switch.js +1 -0
- package/lib/switch/index.css +1 -1
- package/lib/switch/index.less +2 -0
- package/lib/tab/Tab.js +20 -5
- package/lib/tab/index.css +1 -1
- package/lib/tab/index.less +1 -1
- package/lib/tabbar/Tabbar.d.ts +1 -1
- package/lib/tabbar/Tabbar.js +10 -10
- package/lib/tabbar-item/TabbarItem.js +16 -7
- package/lib/tabs/Tabs.js +9 -3
- package/lib/tabs/TabsTitle.d.ts +6 -0
- package/lib/tabs/TabsTitle.js +7 -1
- package/lib/tabs/types.d.ts +1 -0
- package/lib/uploader/UploaderPreviewItem.js +3 -0
- package/lib/uploader/utils.d.ts +2 -2
- package/lib/uploader/utils.js +3 -2
- package/lib/utils/dom.d.ts +1 -0
- package/lib/utils/dom.js +9 -2
- package/lib/utils/format.js +7 -5
- package/lib/vant.cjs.js +14407 -0
- package/lib/vant.cjs.min.js +1 -0
- package/lib/vant.es.js +1125 -2186
- package/lib/vant.es.min.js +1125 -2186
- package/lib/vant.js +1109 -1089
- package/lib/vant.min.js +1 -1
- package/lib/vue-tsx-shim.d.ts +1 -0
- package/package.json +26 -11
- package/vetur/attributes.json +557 -557
- package/vetur/tags.json +183 -183
- package/vetur/web-types.json +1577 -1577
- package/es/composables/use-link-field.d.ts +0 -0
- package/es/composables/use-link-field.js +0 -0
- package/lib/composables/use-link-field.d.ts +0 -0
- package/lib/composables/use-link-field.js +0 -1
package/vetur/attributes.json
CHANGED
@@ -1,87 +1,4 @@
|
|
1
1
|
{
|
2
|
-
"van-action-sheet/v-model:show": {
|
3
|
-
"type": "boolean",
|
4
|
-
"description": "是否显示动作面板, 默认值: `false`"
|
5
|
-
},
|
6
|
-
"van-action-sheet/actions": {
|
7
|
-
"type": "ActionSheetAction[]",
|
8
|
-
"description": "面板选项列表, 默认值: `[]`"
|
9
|
-
},
|
10
|
-
"van-action-sheet/title": {
|
11
|
-
"type": "string",
|
12
|
-
"description": "顶部标题, 默认值: -"
|
13
|
-
},
|
14
|
-
"van-action-sheet/cancel-text": {
|
15
|
-
"type": "string",
|
16
|
-
"description": "取消按钮文字, 默认值: -"
|
17
|
-
},
|
18
|
-
"van-action-sheet/description": {
|
19
|
-
"type": "string",
|
20
|
-
"description": "选项上方的描述信息, 默认值: -"
|
21
|
-
},
|
22
|
-
"van-action-sheet/closeable": {
|
23
|
-
"type": "boolean",
|
24
|
-
"description": "是否显示关闭图标, 默认值: `true`"
|
25
|
-
},
|
26
|
-
"van-action-sheet/close-icon": {
|
27
|
-
"type": "string",
|
28
|
-
"description": "关闭[图标名称](#/zh-CN/icon)或图片链接, 默认值: `cross`"
|
29
|
-
},
|
30
|
-
"van-action-sheet/duration": {
|
31
|
-
"type": "number | string",
|
32
|
-
"description": "动画时长,单位秒,设置为 0 可以禁用动画, 默认值: `0.3`"
|
33
|
-
},
|
34
|
-
"van-action-sheet/round": {
|
35
|
-
"type": "boolean",
|
36
|
-
"description": "是否显示圆角, 默认值: `true`"
|
37
|
-
},
|
38
|
-
"van-action-sheet/overlay": {
|
39
|
-
"type": "boolean",
|
40
|
-
"description": "是否显示遮罩层, 默认值: `true`"
|
41
|
-
},
|
42
|
-
"van-action-sheet/overlay-class": {
|
43
|
-
"type": "string | Array \\",
|
44
|
-
"description": "自定义遮罩层类名, 默认值: object_",
|
45
|
-
"options": [
|
46
|
-
"-"
|
47
|
-
]
|
48
|
-
},
|
49
|
-
"van-action-sheet/overlay-style": {
|
50
|
-
"type": "object",
|
51
|
-
"description": "自定义遮罩层样式, 默认值: -"
|
52
|
-
},
|
53
|
-
"van-action-sheet/lock-scroll": {
|
54
|
-
"type": "boolean",
|
55
|
-
"description": "是否锁定背景滚动, 默认值: `true`"
|
56
|
-
},
|
57
|
-
"van-action-sheet/lazy-render": {
|
58
|
-
"type": "boolean",
|
59
|
-
"description": "是否在显示弹层时才渲染节点, 默认值: `true`"
|
60
|
-
},
|
61
|
-
"van-action-sheet/close-on-popstate": {
|
62
|
-
"type": "boolean",
|
63
|
-
"description": "是否在页面回退时自动关闭, 默认值: `true`"
|
64
|
-
},
|
65
|
-
"van-action-sheet/close-on-click-action": {
|
66
|
-
"type": "boolean",
|
67
|
-
"description": "是否在点击选项后关闭, 默认值: `false`"
|
68
|
-
},
|
69
|
-
"van-action-sheet/close-on-click-overlay": {
|
70
|
-
"type": "boolean",
|
71
|
-
"description": "是否在点击遮罩层后关闭, 默认值: `true`"
|
72
|
-
},
|
73
|
-
"van-action-sheet/safe-area-inset-bottom": {
|
74
|
-
"type": "boolean",
|
75
|
-
"description": "是否开启[底部安全区适配](#/zh-CN/advanced-usage#di-bu-an-quan-qu-gua-pei), 默认值: `true`"
|
76
|
-
},
|
77
|
-
"van-action-sheet/teleport": {
|
78
|
-
"type": "string | Element",
|
79
|
-
"description": "指定挂载的节点,等同于 Teleport 组件的 [to 属性](https://v3.cn.vuejs.org/api/built-in-components.html#teleport), 默认值: -"
|
80
|
-
},
|
81
|
-
"van-action-sheet/before-close": {
|
82
|
-
"type": "(action: string) => boolean | Promise\\<boolean\\>",
|
83
|
-
"description": "关闭前的回调函数,返回 `false` 可阻止关闭,支持返回 Promise, 默认值: -"
|
84
|
-
},
|
85
2
|
"van-action-bar/safe-area-inset-bottom": {
|
86
3
|
"type": "boolean",
|
87
4
|
"description": "是否开启[底部安全区适配](#/zh-CN/advanced-usage#di-bu-an-quan-qu-gua-pei), 默认值: `true`"
|
@@ -165,6 +82,89 @@
|
|
165
82
|
"type": "boolean",
|
166
83
|
"description": "是否在跳转时替换当前页面历史, 默认值: `false`"
|
167
84
|
},
|
85
|
+
"van-action-sheet/v-model:show": {
|
86
|
+
"type": "boolean",
|
87
|
+
"description": "是否显示动作面板, 默认值: `false`"
|
88
|
+
},
|
89
|
+
"van-action-sheet/actions": {
|
90
|
+
"type": "ActionSheetAction[]",
|
91
|
+
"description": "面板选项列表, 默认值: `[]`"
|
92
|
+
},
|
93
|
+
"van-action-sheet/title": {
|
94
|
+
"type": "string",
|
95
|
+
"description": "顶部标题, 默认值: -"
|
96
|
+
},
|
97
|
+
"van-action-sheet/cancel-text": {
|
98
|
+
"type": "string",
|
99
|
+
"description": "取消按钮文字, 默认值: -"
|
100
|
+
},
|
101
|
+
"van-action-sheet/description": {
|
102
|
+
"type": "string",
|
103
|
+
"description": "选项上方的描述信息, 默认值: -"
|
104
|
+
},
|
105
|
+
"van-action-sheet/closeable": {
|
106
|
+
"type": "boolean",
|
107
|
+
"description": "是否显示关闭图标, 默认值: `true`"
|
108
|
+
},
|
109
|
+
"van-action-sheet/close-icon": {
|
110
|
+
"type": "string",
|
111
|
+
"description": "关闭[图标名称](#/zh-CN/icon)或图片链接, 默认值: `cross`"
|
112
|
+
},
|
113
|
+
"van-action-sheet/duration": {
|
114
|
+
"type": "number | string",
|
115
|
+
"description": "动画时长,单位秒,设置为 0 可以禁用动画, 默认值: `0.3`"
|
116
|
+
},
|
117
|
+
"van-action-sheet/round": {
|
118
|
+
"type": "boolean",
|
119
|
+
"description": "是否显示圆角, 默认值: `true`"
|
120
|
+
},
|
121
|
+
"van-action-sheet/overlay": {
|
122
|
+
"type": "boolean",
|
123
|
+
"description": "是否显示遮罩层, 默认值: `true`"
|
124
|
+
},
|
125
|
+
"van-action-sheet/overlay-class": {
|
126
|
+
"type": "string | Array \\",
|
127
|
+
"description": "自定义遮罩层类名, 默认值: object_",
|
128
|
+
"options": [
|
129
|
+
"-"
|
130
|
+
]
|
131
|
+
},
|
132
|
+
"van-action-sheet/overlay-style": {
|
133
|
+
"type": "object",
|
134
|
+
"description": "自定义遮罩层样式, 默认值: -"
|
135
|
+
},
|
136
|
+
"van-action-sheet/lock-scroll": {
|
137
|
+
"type": "boolean",
|
138
|
+
"description": "是否锁定背景滚动, 默认值: `true`"
|
139
|
+
},
|
140
|
+
"van-action-sheet/lazy-render": {
|
141
|
+
"type": "boolean",
|
142
|
+
"description": "是否在显示弹层时才渲染节点, 默认值: `true`"
|
143
|
+
},
|
144
|
+
"van-action-sheet/close-on-popstate": {
|
145
|
+
"type": "boolean",
|
146
|
+
"description": "是否在页面回退时自动关闭, 默认值: `true`"
|
147
|
+
},
|
148
|
+
"van-action-sheet/close-on-click-action": {
|
149
|
+
"type": "boolean",
|
150
|
+
"description": "是否在点击选项后关闭, 默认值: `false`"
|
151
|
+
},
|
152
|
+
"van-action-sheet/close-on-click-overlay": {
|
153
|
+
"type": "boolean",
|
154
|
+
"description": "是否在点击遮罩层后关闭, 默认值: `true`"
|
155
|
+
},
|
156
|
+
"van-action-sheet/safe-area-inset-bottom": {
|
157
|
+
"type": "boolean",
|
158
|
+
"description": "是否开启[底部安全区适配](#/zh-CN/advanced-usage#di-bu-an-quan-qu-gua-pei), 默认值: `true`"
|
159
|
+
},
|
160
|
+
"van-action-sheet/teleport": {
|
161
|
+
"type": "string | Element",
|
162
|
+
"description": "指定挂载的节点,等同于 Teleport 组件的 [to 属性](https://v3.cn.vuejs.org/api/built-in-components.html#teleport), 默认值: -"
|
163
|
+
},
|
164
|
+
"van-action-sheet/before-close": {
|
165
|
+
"type": "(action: string) => boolean | Promise\\<boolean\\>",
|
166
|
+
"description": "关闭前的回调函数,返回 `false` 可阻止关闭,支持返回 Promise, 默认值: -"
|
167
|
+
},
|
168
168
|
"van-address-edit/area-list": {
|
169
169
|
"type": "object",
|
170
170
|
"description": "地区列表, 默认值: -"
|
@@ -747,6 +747,66 @@
|
|
747
747
|
"-"
|
748
748
|
]
|
749
749
|
},
|
750
|
+
"van-checkbox/v-model": {
|
751
|
+
"type": "boolean",
|
752
|
+
"description": "是否为选中状态, 默认值: `false`"
|
753
|
+
},
|
754
|
+
"van-checkbox/name": {
|
755
|
+
"type": "any",
|
756
|
+
"description": "标识符, 默认值: -"
|
757
|
+
},
|
758
|
+
"van-checkbox/shape": {
|
759
|
+
"type": "string",
|
760
|
+
"description": "形状,可选值为 `square`, 默认值: `round`"
|
761
|
+
},
|
762
|
+
"van-checkbox/disabled": {
|
763
|
+
"type": "boolean",
|
764
|
+
"description": "是否禁用复选框, 默认值: `false`"
|
765
|
+
},
|
766
|
+
"van-checkbox/label-disabled": {
|
767
|
+
"type": "boolean",
|
768
|
+
"description": "是否禁用复选框文本点击, 默认值: `false`"
|
769
|
+
},
|
770
|
+
"van-checkbox/label-position": {
|
771
|
+
"type": "string",
|
772
|
+
"description": "文本位置,可选值为 `left`, 默认值: `right`"
|
773
|
+
},
|
774
|
+
"van-checkbox/icon-size": {
|
775
|
+
"type": "number | string",
|
776
|
+
"description": "图标大小,默认单位为 `px`, 默认值: `20px`"
|
777
|
+
},
|
778
|
+
"van-checkbox/checked-color": {
|
779
|
+
"type": "string",
|
780
|
+
"description": "选中状态颜色, 默认值: `#1989fa`"
|
781
|
+
},
|
782
|
+
"van-checkbox/bind-group": {
|
783
|
+
"type": "boolean",
|
784
|
+
"description": "是否与复选框组绑定, 默认值: `true`"
|
785
|
+
},
|
786
|
+
"van-checkbox-group/v-model": {
|
787
|
+
"type": "any[]",
|
788
|
+
"description": "所有选中项的标识符, 默认值: -"
|
789
|
+
},
|
790
|
+
"van-checkbox-group/disabled": {
|
791
|
+
"type": "boolean",
|
792
|
+
"description": "是否禁用所有复选框, 默认值: `false`"
|
793
|
+
},
|
794
|
+
"van-checkbox-group/max": {
|
795
|
+
"type": "number | string",
|
796
|
+
"description": "最大可选数,`0` 为无限制, 默认值: `0`"
|
797
|
+
},
|
798
|
+
"van-checkbox-group/direction": {
|
799
|
+
"type": "string",
|
800
|
+
"description": "排列方向,可选值为 `horizontal`, 默认值: `vertical`"
|
801
|
+
},
|
802
|
+
"van-checkbox-group/icon-size": {
|
803
|
+
"type": "number | string",
|
804
|
+
"description": "所有复选框的图标大小,默认单位为 `px`, 默认值: `20px`"
|
805
|
+
},
|
806
|
+
"van-checkbox-group/checked-color": {
|
807
|
+
"type": "string",
|
808
|
+
"description": "所有复选框的选中状态颜色, 默认值: `#1989fa`"
|
809
|
+
},
|
750
810
|
"van-circle/v-model:current-rate": {
|
751
811
|
"type": "number",
|
752
812
|
"description": "当前进度, 默认值: -"
|
@@ -827,80 +887,20 @@
|
|
827
887
|
"type": "string",
|
828
888
|
"description": "自定义元素标签, 默认值: `div`"
|
829
889
|
},
|
830
|
-
"van-
|
831
|
-
"type": "
|
832
|
-
"description": "
|
833
|
-
|
834
|
-
|
835
|
-
|
836
|
-
"description": "标识符, 默认值: -"
|
837
|
-
},
|
838
|
-
"van-checkbox/shape": {
|
839
|
-
"type": "string",
|
840
|
-
"description": "形状,可选值为 `square`, 默认值: `round`"
|
890
|
+
"van-collapse/v-model": {
|
891
|
+
"type": "手风琴模式:_number | string_<br>非手风琴模式:_(number \\",
|
892
|
+
"description": "当前展开面板的 name, 默认值: string)[]_",
|
893
|
+
"options": [
|
894
|
+
"-"
|
895
|
+
]
|
841
896
|
},
|
842
|
-
"van-
|
897
|
+
"van-collapse/accordion": {
|
843
898
|
"type": "boolean",
|
844
|
-
"description": "
|
899
|
+
"description": "是否开启手风琴模式, 默认值: `false`"
|
845
900
|
},
|
846
|
-
"van-
|
901
|
+
"van-collapse/border": {
|
847
902
|
"type": "boolean",
|
848
|
-
"description": "
|
849
|
-
},
|
850
|
-
"van-checkbox/label-position": {
|
851
|
-
"type": "string",
|
852
|
-
"description": "文本位置,可选值为 `left`, 默认值: `right`"
|
853
|
-
},
|
854
|
-
"van-checkbox/icon-size": {
|
855
|
-
"type": "number | string",
|
856
|
-
"description": "图标大小,默认单位为 `px`, 默认值: `20px`"
|
857
|
-
},
|
858
|
-
"van-checkbox/checked-color": {
|
859
|
-
"type": "string",
|
860
|
-
"description": "选中状态颜色, 默认值: `#1989fa`"
|
861
|
-
},
|
862
|
-
"van-checkbox/bind-group": {
|
863
|
-
"type": "boolean",
|
864
|
-
"description": "是否与复选框组绑定, 默认值: `true`"
|
865
|
-
},
|
866
|
-
"van-checkbox-group/v-model": {
|
867
|
-
"type": "any[]",
|
868
|
-
"description": "所有选中项的标识符, 默认值: -"
|
869
|
-
},
|
870
|
-
"van-checkbox-group/disabled": {
|
871
|
-
"type": "boolean",
|
872
|
-
"description": "是否禁用所有复选框, 默认值: `false`"
|
873
|
-
},
|
874
|
-
"van-checkbox-group/max": {
|
875
|
-
"type": "number | string",
|
876
|
-
"description": "最大可选数,`0` 为无限制, 默认值: `0`"
|
877
|
-
},
|
878
|
-
"van-checkbox-group/direction": {
|
879
|
-
"type": "string",
|
880
|
-
"description": "排列方向,可选值为 `horizontal`, 默认值: `vertical`"
|
881
|
-
},
|
882
|
-
"van-checkbox-group/icon-size": {
|
883
|
-
"type": "number | string",
|
884
|
-
"description": "所有复选框的图标大小,默认单位为 `px`, 默认值: `20px`"
|
885
|
-
},
|
886
|
-
"van-checkbox-group/checked-color": {
|
887
|
-
"type": "string",
|
888
|
-
"description": "所有复选框的选中状态颜色, 默认值: `#1989fa`"
|
889
|
-
},
|
890
|
-
"van-collapse/v-model": {
|
891
|
-
"type": "手风琴模式:_number | string_<br>非手风琴模式:_(number \\",
|
892
|
-
"description": "当前展开面板的 name, 默认值: string)[]_",
|
893
|
-
"options": [
|
894
|
-
"-"
|
895
|
-
]
|
896
|
-
},
|
897
|
-
"van-collapse/accordion": {
|
898
|
-
"type": "boolean",
|
899
|
-
"description": "是否开启手风琴模式, 默认值: `false`"
|
900
|
-
},
|
901
|
-
"van-collapse/border": {
|
902
|
-
"type": "boolean",
|
903
|
-
"description": "是否显示外边框, 默认值: `true`"
|
903
|
+
"description": "是否显示外边框, 默认值: `true`"
|
904
904
|
},
|
905
905
|
"van-collapse-item/name": {
|
906
906
|
"type": "number | string",
|
@@ -1214,6 +1214,18 @@
|
|
1214
1214
|
"type": "number | string",
|
1215
1215
|
"description": "可选的最大分钟, 默认值: `59`"
|
1216
1216
|
},
|
1217
|
+
"van-divider/dashed": {
|
1218
|
+
"type": "boolean",
|
1219
|
+
"description": "是否使用虚线, 默认值: `false`"
|
1220
|
+
},
|
1221
|
+
"van-divider/hairline": {
|
1222
|
+
"type": "boolean",
|
1223
|
+
"description": "是否使用 0.5px 线, 默认值: `true`"
|
1224
|
+
},
|
1225
|
+
"van-divider/content-position": {
|
1226
|
+
"type": "string",
|
1227
|
+
"description": "内容位置,可选值为 `left` `right`, 默认值: `center`"
|
1228
|
+
},
|
1217
1229
|
"van-dialog/v-model:show": {
|
1218
1230
|
"type": "boolean",
|
1219
1231
|
"description": "是否显示弹窗, 默认值: -"
|
@@ -1306,17 +1318,17 @@
|
|
1306
1318
|
"type": "string | Element",
|
1307
1319
|
"description": "指定挂载的节点,等同于 Teleport 组件的 [to 属性](https://v3.cn.vuejs.org/api/built-in-components.html#teleport), 默认值: -"
|
1308
1320
|
},
|
1309
|
-
"van-
|
1310
|
-
"type": "
|
1311
|
-
"description": "
|
1321
|
+
"van-empty/image": {
|
1322
|
+
"type": "string",
|
1323
|
+
"description": "图片类型,可选值为 `error` `network` `search`,支持传入图片 URL, 默认值: `default`"
|
1312
1324
|
},
|
1313
|
-
"van-
|
1314
|
-
"type": "
|
1315
|
-
"description": "
|
1325
|
+
"van-empty/image-size": {
|
1326
|
+
"type": "number | string",
|
1327
|
+
"description": "图片大小,默认单位为 `px`, 默认值: -"
|
1316
1328
|
},
|
1317
|
-
"van-
|
1329
|
+
"van-empty/description": {
|
1318
1330
|
"type": "string",
|
1319
|
-
"description": "
|
1331
|
+
"description": "图片下方的描述文字, 默认值: -"
|
1320
1332
|
},
|
1321
1333
|
"van-dropdown-menu/active-color": {
|
1322
1334
|
"type": "string",
|
@@ -1377,18 +1389,6 @@
|
|
1377
1389
|
"type": "string | Element",
|
1378
1390
|
"description": "指定挂载的节点,等同于 Teleport 组件的 [to 属性](https://v3.cn.vuejs.org/api/built-in-components.html#teleport), 默认值: -"
|
1379
1391
|
},
|
1380
|
-
"van-empty/image": {
|
1381
|
-
"type": "string",
|
1382
|
-
"description": "图片类型,可选值为 `error` `network` `search`,支持传入图片 URL, 默认值: `default`"
|
1383
|
-
},
|
1384
|
-
"van-empty/image-size": {
|
1385
|
-
"type": "number | string",
|
1386
|
-
"description": "图片大小,默认单位为 `px`, 默认值: -"
|
1387
|
-
},
|
1388
|
-
"van-empty/description": {
|
1389
|
-
"type": "string",
|
1390
|
-
"description": "图片下方的描述文字, 默认值: -"
|
1391
|
-
},
|
1392
1392
|
"van-field/v-model": {
|
1393
1393
|
"type": "number | string",
|
1394
1394
|
"description": "当前输入的值, 默认值: -"
|
@@ -1403,7 +1403,7 @@
|
|
1403
1403
|
},
|
1404
1404
|
"van-field/id": {
|
1405
1405
|
"type": "string",
|
1406
|
-
"description": "输入框 id,同时会设置 label 的 for 属性, 默认值: -"
|
1406
|
+
"description": "输入框 id,同时会设置 label 的 for 属性, 默认值: `van-field-n-input`"
|
1407
1407
|
},
|
1408
1408
|
"van-field/type": {
|
1409
1409
|
"type": "string",
|
@@ -1540,6 +1540,58 @@
|
|
1540
1540
|
"type": "string",
|
1541
1541
|
"description": "input 标签原生的[自动完成属性](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/autocomplete), 默认值: -"
|
1542
1542
|
},
|
1543
|
+
"van-form/label-width": {
|
1544
|
+
"type": "number | string",
|
1545
|
+
"description": "表单项 label 宽度,默认单位为`px`, 默认值: `6.2em`"
|
1546
|
+
},
|
1547
|
+
"van-form/label-align": {
|
1548
|
+
"type": "string",
|
1549
|
+
"description": "\b 表单项 label 对齐方式,可选值为 `center` `right`, 默认值: `left`"
|
1550
|
+
},
|
1551
|
+
"van-form/input-align": {
|
1552
|
+
"type": "string",
|
1553
|
+
"description": "输入框对齐方式,可选值为 `center` `right`, 默认值: `left`"
|
1554
|
+
},
|
1555
|
+
"van-form/error-message-align": {
|
1556
|
+
"type": "string",
|
1557
|
+
"description": "错误提示文案对齐方式,可选值为 `center` `right`, 默认值: `left`"
|
1558
|
+
},
|
1559
|
+
"van-form/validate-trigger": {
|
1560
|
+
"type": "string",
|
1561
|
+
"description": "表单校验触发时机,可选值为 `onChange`、`onSubmit`,详见下表, 默认值: `onBlur`"
|
1562
|
+
},
|
1563
|
+
"van-form/colon": {
|
1564
|
+
"type": "boolean",
|
1565
|
+
"description": "是否在 label 后面添加冒号, 默认值: `false`"
|
1566
|
+
},
|
1567
|
+
"van-form/disabled": {
|
1568
|
+
"type": "boolean",
|
1569
|
+
"description": "是否禁用表单中的所有输入框, 默认值: `false`"
|
1570
|
+
},
|
1571
|
+
"van-form/readonly": {
|
1572
|
+
"type": "boolean",
|
1573
|
+
"description": "是否将表单中的所有输入框设置为只读状态, 默认值: `false`"
|
1574
|
+
},
|
1575
|
+
"van-form/validate-first": {
|
1576
|
+
"type": "boolean",
|
1577
|
+
"description": "是否在某一项校验不通过时停止校验, 默认值: `false`"
|
1578
|
+
},
|
1579
|
+
"van-form/scroll-to-error": {
|
1580
|
+
"type": "boolean",
|
1581
|
+
"description": "是否在提交表单且校验不通过时滚动至错误的表单项, 默认值: `false`"
|
1582
|
+
},
|
1583
|
+
"van-form/show-error": {
|
1584
|
+
"type": "boolean",
|
1585
|
+
"description": "是否在校验不通过时标红输入框, 默认值: `false`"
|
1586
|
+
},
|
1587
|
+
"van-form/show-error-message": {
|
1588
|
+
"type": "boolean",
|
1589
|
+
"description": "是否在校验不通过时在输入框下方展示错误提示, 默认值: `true`"
|
1590
|
+
},
|
1591
|
+
"van-form/submit-on-enter": {
|
1592
|
+
"type": "boolean",
|
1593
|
+
"description": "是否在按下回车键时提交表单, 默认值: `true`"
|
1594
|
+
},
|
1543
1595
|
"van-grid/column-num": {
|
1544
1596
|
"type": "number | string",
|
1545
1597
|
"description": "列数, 默认值: `4`"
|
@@ -1640,57 +1692,33 @@
|
|
1640
1692
|
"type": "string",
|
1641
1693
|
"description": "根节点对应的 HTML 标签名, 默认值: `i`"
|
1642
1694
|
},
|
1643
|
-
"van-
|
1644
|
-
"type": "
|
1645
|
-
"description": "
|
1646
|
-
},
|
1647
|
-
"van-form/label-align": {
|
1648
|
-
"type": "string",
|
1649
|
-
"description": "\b 表单项 label 对齐方式,可选值为 `center` `right`, 默认值: `left`"
|
1650
|
-
},
|
1651
|
-
"van-form/input-align": {
|
1652
|
-
"type": "string",
|
1653
|
-
"description": "输入框对齐方式,可选值为 `center` `right`, 默认值: `left`"
|
1654
|
-
},
|
1655
|
-
"van-form/error-message-align": {
|
1656
|
-
"type": "string",
|
1657
|
-
"description": "错误提示文案对齐方式,可选值为 `center` `right`, 默认值: `left`"
|
1658
|
-
},
|
1659
|
-
"van-form/validate-trigger": {
|
1660
|
-
"type": "string",
|
1661
|
-
"description": "表单校验触发时机,可选值为 `onChange`、`onSubmit`,详见下表, 默认值: `onBlur`"
|
1662
|
-
},
|
1663
|
-
"van-form/colon": {
|
1664
|
-
"type": "boolean",
|
1665
|
-
"description": "是否在 label 后面添加冒号, 默认值: `false`"
|
1666
|
-
},
|
1667
|
-
"van-form/disabled": {
|
1668
|
-
"type": "boolean",
|
1669
|
-
"description": "是否禁用表单中的所有输入框, 默认值: `false`"
|
1695
|
+
"van-index-bar/index-list": {
|
1696
|
+
"type": "string[] | number[]",
|
1697
|
+
"description": "索引字符列表, 默认值: `A-Z`"
|
1670
1698
|
},
|
1671
|
-
"van-
|
1672
|
-
"type": "
|
1673
|
-
"description": "
|
1699
|
+
"van-index-bar/z-index": {
|
1700
|
+
"type": "number | string",
|
1701
|
+
"description": "z-index 层级, 默认值: `1`"
|
1674
1702
|
},
|
1675
|
-
"van-
|
1703
|
+
"van-index-bar/sticky": {
|
1676
1704
|
"type": "boolean",
|
1677
|
-
"description": "
|
1705
|
+
"description": "是否开启锚点自动吸顶, 默认值: `true`"
|
1678
1706
|
},
|
1679
|
-
"van-
|
1680
|
-
"type": "
|
1681
|
-
"description": "
|
1707
|
+
"van-index-bar/sticky-offset-top": {
|
1708
|
+
"type": "number",
|
1709
|
+
"description": "锚点自动吸顶时与顶部的距离, 默认值: `0`"
|
1682
1710
|
},
|
1683
|
-
"van-
|
1684
|
-
"type": "
|
1685
|
-
"description": "
|
1711
|
+
"van-index-bar/highlight-color": {
|
1712
|
+
"type": "string",
|
1713
|
+
"description": "索引字符高亮颜色, 默认值: `#ee0a24`"
|
1686
1714
|
},
|
1687
|
-
"van-
|
1688
|
-
"type": "
|
1689
|
-
"description": "
|
1715
|
+
"van-index-bar/teleport": {
|
1716
|
+
"type": "string | Element",
|
1717
|
+
"description": "指定索引栏挂载的节点, 默认值: -"
|
1690
1718
|
},
|
1691
|
-
"van-
|
1692
|
-
"type": "
|
1693
|
-
"description": "
|
1719
|
+
"van-index-anchor/index": {
|
1720
|
+
"type": "number | string",
|
1721
|
+
"description": "索引字符, 默认值: -"
|
1694
1722
|
},
|
1695
1723
|
"van-image-preview/v-model:show": {
|
1696
1724
|
"type": "boolean",
|
@@ -1767,34 +1795,6 @@
|
|
1767
1795
|
"type": "string | Element",
|
1768
1796
|
"description": "指定挂载的节点,等同于 Teleport 组件的 [to 属性](https://v3.cn.vuejs.org/api/built-in-components.html#teleport), 默认值: -"
|
1769
1797
|
},
|
1770
|
-
"van-index-bar/index-list": {
|
1771
|
-
"type": "string[] | number[]",
|
1772
|
-
"description": "索引字符列表, 默认值: `A-Z`"
|
1773
|
-
},
|
1774
|
-
"van-index-bar/z-index": {
|
1775
|
-
"type": "number | string",
|
1776
|
-
"description": "z-index 层级, 默认值: `1`"
|
1777
|
-
},
|
1778
|
-
"van-index-bar/sticky": {
|
1779
|
-
"type": "boolean",
|
1780
|
-
"description": "是否开启锚点自动吸顶, 默认值: `true`"
|
1781
|
-
},
|
1782
|
-
"van-index-bar/sticky-offset-top": {
|
1783
|
-
"type": "number",
|
1784
|
-
"description": "锚点自动吸顶时与顶部的距离, 默认值: `0`"
|
1785
|
-
},
|
1786
|
-
"van-index-bar/highlight-color": {
|
1787
|
-
"type": "string",
|
1788
|
-
"description": "索引字符高亮颜色, 默认值: `#ee0a24`"
|
1789
|
-
},
|
1790
|
-
"van-index-bar/teleport": {
|
1791
|
-
"type": "string | Element",
|
1792
|
-
"description": "指定索引栏挂载的节点, 默认值: -"
|
1793
|
-
},
|
1794
|
-
"van-index-anchor/index": {
|
1795
|
-
"type": "number | string",
|
1796
|
-
"description": "索引字符, 默认值: -"
|
1797
|
-
},
|
1798
1798
|
"van-image/src": {
|
1799
1799
|
"type": "string",
|
1800
1800
|
"description": "图片链接, 默认值: -"
|
@@ -1851,21 +1851,45 @@
|
|
1851
1851
|
"type": "string",
|
1852
1852
|
"description": "图标类名前缀,等同于 Icon 组件的 [class-prefix 属性](#/zh-CN/icon#props), 默认值: `van-icon`"
|
1853
1853
|
},
|
1854
|
-
"van-
|
1855
|
-
"type": "
|
1856
|
-
"description": "
|
1854
|
+
"van-loading/color": {
|
1855
|
+
"type": "string",
|
1856
|
+
"description": "颜色, 默认值: `#c9c9c9`"
|
1857
1857
|
},
|
1858
|
-
"van-
|
1859
|
-
"type": "
|
1860
|
-
"description": "
|
1858
|
+
"van-loading/type": {
|
1859
|
+
"type": "string",
|
1860
|
+
"description": "类型,可选值为 `spinner`, 默认值: `circular`"
|
1861
1861
|
},
|
1862
|
-
"van-
|
1863
|
-
"type": "
|
1864
|
-
"description": "
|
1862
|
+
"van-loading/size": {
|
1863
|
+
"type": "number | string",
|
1864
|
+
"description": "加载图标大小,默认单位为 `px`, 默认值: `30px`"
|
1865
1865
|
},
|
1866
|
-
"van-
|
1866
|
+
"van-loading/text-size": {
|
1867
1867
|
"type": "number | string",
|
1868
|
-
"description": "
|
1868
|
+
"description": "文字大小,默认单位为 `px`, 默认值: `14px`"
|
1869
|
+
},
|
1870
|
+
"van-loading/text-color": {
|
1871
|
+
"type": "string",
|
1872
|
+
"description": "文字颜色, 默认值: `#c9c9c9`"
|
1873
|
+
},
|
1874
|
+
"van-loading/vertical": {
|
1875
|
+
"type": "boolean",
|
1876
|
+
"description": "是否垂直排列图标和文字内容, 默认值: `false`"
|
1877
|
+
},
|
1878
|
+
"van-list/v-model:loading": {
|
1879
|
+
"type": "boolean",
|
1880
|
+
"description": "是否处于加载状态,加载过程中不触发 `load` 事件, 默认值: `false`"
|
1881
|
+
},
|
1882
|
+
"van-list/v-model:error": {
|
1883
|
+
"type": "boolean",
|
1884
|
+
"description": "是否加载失败,加载失败后点击错误提示可以重新触发 `load` 事件, 默认值: `false`"
|
1885
|
+
},
|
1886
|
+
"van-list/finished": {
|
1887
|
+
"type": "boolean",
|
1888
|
+
"description": "是否已加载完成,加载完成后不再触发 `load` 事件, 默认值: `false`"
|
1889
|
+
},
|
1890
|
+
"van-list/offset": {
|
1891
|
+
"type": "number | string",
|
1892
|
+
"description": "滚动条与底部距离小于 offset 时触发 `load` 事件, 默认值: `300`"
|
1869
1893
|
},
|
1870
1894
|
"van-list/loading-text": {
|
1871
1895
|
"type": "string",
|
@@ -1887,6 +1911,74 @@
|
|
1887
1911
|
"type": "string",
|
1888
1912
|
"description": "滚动触发加载的方向,可选值为 `up`, 默认值: `down`"
|
1889
1913
|
},
|
1914
|
+
"van-number-keyboard/v-model": {
|
1915
|
+
"type": "string",
|
1916
|
+
"description": "当前输入值, 默认值: -"
|
1917
|
+
},
|
1918
|
+
"van-number-keyboard/show": {
|
1919
|
+
"type": "boolean",
|
1920
|
+
"description": "是否显示键盘, 默认值: -"
|
1921
|
+
},
|
1922
|
+
"van-number-keyboard/title": {
|
1923
|
+
"type": "string",
|
1924
|
+
"description": "键盘标题, 默认值: -"
|
1925
|
+
},
|
1926
|
+
"van-number-keyboard/theme": {
|
1927
|
+
"type": "string",
|
1928
|
+
"description": "样式风格,可选值为 `custom`, 默认值: `default`"
|
1929
|
+
},
|
1930
|
+
"van-number-keyboard/maxlength": {
|
1931
|
+
"type": "number | string",
|
1932
|
+
"description": "输入值最大长度, 默认值: `Infinity`"
|
1933
|
+
},
|
1934
|
+
"van-number-keyboard/transition": {
|
1935
|
+
"type": "boolean",
|
1936
|
+
"description": "是否开启过场动画, 默认值: `true`"
|
1937
|
+
},
|
1938
|
+
"van-number-keyboard/z-index": {
|
1939
|
+
"type": "number | string",
|
1940
|
+
"description": "键盘 z-index 层级, 默认值: `100`"
|
1941
|
+
},
|
1942
|
+
"van-number-keyboard/extra-key": {
|
1943
|
+
"type": "string | string[]",
|
1944
|
+
"description": "底部额外按键的内容, 默认值: `''`"
|
1945
|
+
},
|
1946
|
+
"van-number-keyboard/close-button-text": {
|
1947
|
+
"type": "string",
|
1948
|
+
"description": "关闭按钮文字,空则不展示, 默认值: -"
|
1949
|
+
},
|
1950
|
+
"van-number-keyboard/delete-button-text": {
|
1951
|
+
"type": "string",
|
1952
|
+
"description": "删除按钮文字,空则展示删除图标, 默认值: -"
|
1953
|
+
},
|
1954
|
+
"van-number-keyboard/close-button-loading": {
|
1955
|
+
"type": "boolean",
|
1956
|
+
"description": "是否将关闭按钮设置为加载中状态,仅在 `theme=\"custom\"` 时有效, 默认值: `false`"
|
1957
|
+
},
|
1958
|
+
"van-number-keyboard/show-delete-key": {
|
1959
|
+
"type": "boolean",
|
1960
|
+
"description": "是否展示删除图标, 默认值: `true`"
|
1961
|
+
},
|
1962
|
+
"van-number-keyboard/blur-on-close": {
|
1963
|
+
"type": "boolean",
|
1964
|
+
"description": "是否在点击关闭按钮时触发 blur 事件, 默认值: `true`"
|
1965
|
+
},
|
1966
|
+
"van-number-keyboard/hide-on-click-outside": {
|
1967
|
+
"type": "boolean",
|
1968
|
+
"description": "是否在点击外部时收起键盘, 默认值: `true`"
|
1969
|
+
},
|
1970
|
+
"van-number-keyboard/teleport": {
|
1971
|
+
"type": "string | Element",
|
1972
|
+
"description": "指定挂载的节点,等同于 Teleport 组件的 [to 属性](https://v3.cn.vuejs.org/api/built-in-components.html#teleport), 默认值: -"
|
1973
|
+
},
|
1974
|
+
"van-number-keyboard/safe-area-inset-bottom": {
|
1975
|
+
"type": "boolean",
|
1976
|
+
"description": "是否开启[底部安全区适配](#/zh-CN/advanced-usage#di-bu-an-quan-qu-gua-pei), 默认值: `true`"
|
1977
|
+
},
|
1978
|
+
"van-number-keyboard/random-key-order": {
|
1979
|
+
"type": "boolean",
|
1980
|
+
"description": "是否将通过随机顺序展示按键, 默认值: `false`"
|
1981
|
+
},
|
1890
1982
|
"van-nav-bar/title": {
|
1891
1983
|
"type": "string",
|
1892
1984
|
"description": "标题, 默认值: `''`"
|
@@ -1923,30 +2015,6 @@
|
|
1923
2015
|
"type": "boolean",
|
1924
2016
|
"description": "是否开启[顶部安全区适配](#/zh-CN/advanced-usage#di-bu-an-quan-qu-gua-pei), 默认值: `false`"
|
1925
2017
|
},
|
1926
|
-
"van-loading/color": {
|
1927
|
-
"type": "string",
|
1928
|
-
"description": "颜色, 默认值: `#c9c9c9`"
|
1929
|
-
},
|
1930
|
-
"van-loading/type": {
|
1931
|
-
"type": "string",
|
1932
|
-
"description": "类型,可选值为 `spinner`, 默认值: `circular`"
|
1933
|
-
},
|
1934
|
-
"van-loading/size": {
|
1935
|
-
"type": "number | string",
|
1936
|
-
"description": "加载图标大小,默认单位为 `px`, 默认值: `30px`"
|
1937
|
-
},
|
1938
|
-
"van-loading/text-size": {
|
1939
|
-
"type": "number | string",
|
1940
|
-
"description": "文字大小,默认单位为 `px`, 默认值: `14px`"
|
1941
|
-
},
|
1942
|
-
"van-loading/text-color": {
|
1943
|
-
"type": "string",
|
1944
|
-
"description": "文字颜色, 默认值: `#c9c9c9`"
|
1945
|
-
},
|
1946
|
-
"van-loading/vertical": {
|
1947
|
-
"type": "boolean",
|
1948
|
-
"description": "是否垂直排列图标和文字内容, 默认值: `false`"
|
1949
|
-
},
|
1950
2018
|
"van-notice-bar/mode": {
|
1951
2019
|
"type": "string",
|
1952
2020
|
"description": "通知栏模式,可选值为 `closeable` `link`, 默认值: `''`"
|
@@ -1983,74 +2051,6 @@
|
|
1983
2051
|
"type": "boolean",
|
1984
2052
|
"description": "是否开启文本换行,只在禁用滚动时生效, 默认值: `false`"
|
1985
2053
|
},
|
1986
|
-
"van-number-keyboard/v-model": {
|
1987
|
-
"type": "string",
|
1988
|
-
"description": "当前输入值, 默认值: -"
|
1989
|
-
},
|
1990
|
-
"van-number-keyboard/show": {
|
1991
|
-
"type": "boolean",
|
1992
|
-
"description": "是否显示键盘, 默认值: -"
|
1993
|
-
},
|
1994
|
-
"van-number-keyboard/title": {
|
1995
|
-
"type": "string",
|
1996
|
-
"description": "键盘标题, 默认值: -"
|
1997
|
-
},
|
1998
|
-
"van-number-keyboard/theme": {
|
1999
|
-
"type": "string",
|
2000
|
-
"description": "样式风格,可选值为 `custom`, 默认值: `default`"
|
2001
|
-
},
|
2002
|
-
"van-number-keyboard/maxlength": {
|
2003
|
-
"type": "number | string",
|
2004
|
-
"description": "输入值最大长度, 默认值: `Infinity`"
|
2005
|
-
},
|
2006
|
-
"van-number-keyboard/transition": {
|
2007
|
-
"type": "boolean",
|
2008
|
-
"description": "是否开启过场动画, 默认值: `true`"
|
2009
|
-
},
|
2010
|
-
"van-number-keyboard/z-index": {
|
2011
|
-
"type": "number | string",
|
2012
|
-
"description": "键盘 z-index 层级, 默认值: `100`"
|
2013
|
-
},
|
2014
|
-
"van-number-keyboard/extra-key": {
|
2015
|
-
"type": "string | string[]",
|
2016
|
-
"description": "底部额外按键的内容, 默认值: `''`"
|
2017
|
-
},
|
2018
|
-
"van-number-keyboard/close-button-text": {
|
2019
|
-
"type": "string",
|
2020
|
-
"description": "关闭按钮文字,空则不展示, 默认值: -"
|
2021
|
-
},
|
2022
|
-
"van-number-keyboard/delete-button-text": {
|
2023
|
-
"type": "string",
|
2024
|
-
"description": "删除按钮文字,空则展示删除图标, 默认值: -"
|
2025
|
-
},
|
2026
|
-
"van-number-keyboard/close-button-loading": {
|
2027
|
-
"type": "boolean",
|
2028
|
-
"description": "是否将关闭按钮设置为加载中状态,仅在 `theme=\"custom\"` 时有效, 默认值: `false`"
|
2029
|
-
},
|
2030
|
-
"van-number-keyboard/show-delete-key": {
|
2031
|
-
"type": "boolean",
|
2032
|
-
"description": "是否展示删除图标, 默认值: `true`"
|
2033
|
-
},
|
2034
|
-
"van-number-keyboard/blur-on-close": {
|
2035
|
-
"type": "boolean",
|
2036
|
-
"description": "是否在点击关闭按钮时触发 blur 事件, 默认值: `true`"
|
2037
|
-
},
|
2038
|
-
"van-number-keyboard/hide-on-click-outside": {
|
2039
|
-
"type": "boolean",
|
2040
|
-
"description": "是否在点击外部时收起键盘, 默认值: `true`"
|
2041
|
-
},
|
2042
|
-
"van-number-keyboard/teleport": {
|
2043
|
-
"type": "string | Element",
|
2044
|
-
"description": "指定挂载的节点,等同于 Teleport 组件的 [to 属性](https://v3.cn.vuejs.org/api/built-in-components.html#teleport), 默认值: -"
|
2045
|
-
},
|
2046
|
-
"van-number-keyboard/safe-area-inset-bottom": {
|
2047
|
-
"type": "boolean",
|
2048
|
-
"description": "是否开启[底部安全区适配](#/zh-CN/advanced-usage#di-bu-an-quan-qu-gua-pei), 默认值: `true`"
|
2049
|
-
},
|
2050
|
-
"van-number-keyboard/random-key-order": {
|
2051
|
-
"type": "boolean",
|
2052
|
-
"description": "是否将通过随机顺序展示按键, 默认值: `false`"
|
2053
|
-
},
|
2054
2054
|
"van-overlay/show": {
|
2055
2055
|
"type": "boolean",
|
2056
2056
|
"description": "是否展示遮罩层, 默认值: `false`"
|
@@ -2111,34 +2111,6 @@
|
|
2111
2111
|
"type": "boolean",
|
2112
2112
|
"description": "是否显示省略号, 默认值: `false`"
|
2113
2113
|
},
|
2114
|
-
"van-password-input/value": {
|
2115
|
-
"type": "string",
|
2116
|
-
"description": "密码值, 默认值: `''`"
|
2117
|
-
},
|
2118
|
-
"van-password-input/info": {
|
2119
|
-
"type": "string",
|
2120
|
-
"description": "输入框下方文字提示, 默认值: -"
|
2121
|
-
},
|
2122
|
-
"van-password-input/error-info": {
|
2123
|
-
"type": "string",
|
2124
|
-
"description": "输入框下方错误提示, 默认值: -"
|
2125
|
-
},
|
2126
|
-
"van-password-input/length": {
|
2127
|
-
"type": "number | string",
|
2128
|
-
"description": "密码最大长度, 默认值: `6`"
|
2129
|
-
},
|
2130
|
-
"van-password-input/gutter": {
|
2131
|
-
"type": "number | string",
|
2132
|
-
"description": "输入框格子之间的间距,如 `20px` `2em`,默认单位为`px`, 默认值: `0`"
|
2133
|
-
},
|
2134
|
-
"van-password-input/mask": {
|
2135
|
-
"type": "boolean",
|
2136
|
-
"description": "是否隐藏密码内容, 默认值: `true`"
|
2137
|
-
},
|
2138
|
-
"van-password-input/focused": {
|
2139
|
-
"type": "boolean",
|
2140
|
-
"description": "是否已聚焦,聚焦时会显示光标, 默认值: `false`"
|
2141
|
-
},
|
2142
2114
|
"van-picker/columns": {
|
2143
2115
|
"type": "Column[]",
|
2144
2116
|
"description": "对象数组,配置每一列显示的数据, 默认值: `[]`"
|
@@ -2191,6 +2163,34 @@
|
|
2191
2163
|
"type": "number | string",
|
2192
2164
|
"description": "快速滑动时惯性滚动的时长,单位 `ms`, 默认值: `1000`"
|
2193
2165
|
},
|
2166
|
+
"van-password-input/value": {
|
2167
|
+
"type": "string",
|
2168
|
+
"description": "密码值, 默认值: `''`"
|
2169
|
+
},
|
2170
|
+
"van-password-input/info": {
|
2171
|
+
"type": "string",
|
2172
|
+
"description": "输入框下方文字提示, 默认值: -"
|
2173
|
+
},
|
2174
|
+
"van-password-input/error-info": {
|
2175
|
+
"type": "string",
|
2176
|
+
"description": "输入框下方错误提示, 默认值: -"
|
2177
|
+
},
|
2178
|
+
"van-password-input/length": {
|
2179
|
+
"type": "number | string",
|
2180
|
+
"description": "密码最大长度, 默认值: `6`"
|
2181
|
+
},
|
2182
|
+
"van-password-input/gutter": {
|
2183
|
+
"type": "number | string",
|
2184
|
+
"description": "输入框格子之间的间距,如 `20px` `2em`,默认单位为`px`, 默认值: `0`"
|
2185
|
+
},
|
2186
|
+
"van-password-input/mask": {
|
2187
|
+
"type": "boolean",
|
2188
|
+
"description": "是否隐藏密码内容, 默认值: `true`"
|
2189
|
+
},
|
2190
|
+
"van-password-input/focused": {
|
2191
|
+
"type": "boolean",
|
2192
|
+
"description": "是否已聚焦,聚焦时会显示光标, 默认值: `false`"
|
2193
|
+
},
|
2194
2194
|
"van-popover/v-model:show": {
|
2195
2195
|
"type": "boolean",
|
2196
2196
|
"description": "是否展示气泡弹出层, 默认值: `false`"
|
@@ -2258,6 +2258,42 @@
|
|
2258
2258
|
"type": "string",
|
2259
2259
|
"description": "图标类名前缀,等同于 Icon 组件的 [class-prefix 属性](#/zh-CN/icon#props), 默认值: `van-icon`"
|
2260
2260
|
},
|
2261
|
+
"van-progress/percentage": {
|
2262
|
+
"type": "number | string",
|
2263
|
+
"description": "进度百分比, 默认值: `0`"
|
2264
|
+
},
|
2265
|
+
"van-progress/stroke-width": {
|
2266
|
+
"type": "number | string",
|
2267
|
+
"description": "进度条粗细,默认单位为`px`, 默认值: `4px`"
|
2268
|
+
},
|
2269
|
+
"van-progress/color": {
|
2270
|
+
"type": "string",
|
2271
|
+
"description": "进度条颜色, 默认值: `#1989fa`"
|
2272
|
+
},
|
2273
|
+
"van-progress/track-color": {
|
2274
|
+
"type": "string",
|
2275
|
+
"description": "轨道颜色, 默认值: `#e5e5e5`"
|
2276
|
+
},
|
2277
|
+
"van-progress/pivot-text": {
|
2278
|
+
"type": "string",
|
2279
|
+
"description": "进度文字内容, 默认值: 百分比"
|
2280
|
+
},
|
2281
|
+
"van-progress/pivot-color": {
|
2282
|
+
"type": "string",
|
2283
|
+
"description": "进度文字背景色, 默认值: 同进度条颜色"
|
2284
|
+
},
|
2285
|
+
"van-progress/text-color": {
|
2286
|
+
"type": "string",
|
2287
|
+
"description": "进度文字颜色, 默认值: `white`"
|
2288
|
+
},
|
2289
|
+
"van-progress/inactive": {
|
2290
|
+
"type": "boolean",
|
2291
|
+
"description": "是否置灰, 默认值: `false`"
|
2292
|
+
},
|
2293
|
+
"van-progress/show-pivot": {
|
2294
|
+
"type": "boolean",
|
2295
|
+
"description": "是否显示进度文字, 默认值: `true`"
|
2296
|
+
},
|
2261
2297
|
"van-popup/v-model:show": {
|
2262
2298
|
"type": "boolean",
|
2263
2299
|
"description": "是否显示弹出层, 默认值: `false`"
|
@@ -2341,81 +2377,141 @@
|
|
2341
2377
|
"type": "boolean",
|
2342
2378
|
"description": "是否开启[底部安全区适配](#/zh-CN/advanced-usage#di-bu-an-quan-qu-gua-pei), 默认值: `false`"
|
2343
2379
|
},
|
2344
|
-
"van-
|
2380
|
+
"van-pull-refresh/v-model": {
|
2381
|
+
"type": "boolean",
|
2382
|
+
"description": "是否处于加载中状态, 默认值: -"
|
2383
|
+
},
|
2384
|
+
"van-pull-refresh/pulling-text": {
|
2385
|
+
"type": "string",
|
2386
|
+
"description": "下拉过程提示文案, 默认值: `下拉即可刷新...`"
|
2387
|
+
},
|
2388
|
+
"van-pull-refresh/loosing-text": {
|
2389
|
+
"type": "string",
|
2390
|
+
"description": "释放过程提示文案, 默认值: `释放即可刷新...`"
|
2391
|
+
},
|
2392
|
+
"van-pull-refresh/loading-text": {
|
2393
|
+
"type": "string",
|
2394
|
+
"description": "加载过程提示文案, 默认值: `加载中...`"
|
2395
|
+
},
|
2396
|
+
"van-pull-refresh/success-text": {
|
2397
|
+
"type": "string",
|
2398
|
+
"description": "刷新成功提示文案, 默认值: -"
|
2399
|
+
},
|
2400
|
+
"van-pull-refresh/success-duration": {
|
2345
2401
|
"type": "number | string",
|
2346
|
-
"description": "
|
2402
|
+
"description": "刷新成功提示展示时长(ms), 默认值: `500`"
|
2347
2403
|
},
|
2348
|
-
"van-
|
2404
|
+
"van-pull-refresh/animation-duration": {
|
2349
2405
|
"type": "number | string",
|
2350
|
-
"description": "
|
2406
|
+
"description": "动画时长, 默认值: `300`"
|
2407
|
+
},
|
2408
|
+
"van-pull-refresh/head-height": {
|
2409
|
+
"type": "number | string",
|
2410
|
+
"description": "顶部内容高度, 默认值: `50`"
|
2411
|
+
},
|
2412
|
+
"van-pull-refresh/pull-distance": {
|
2413
|
+
"type": "number | string",
|
2414
|
+
"description": "触发下拉刷新的距离, 默认值: 与 `head-height` 一致"
|
2415
|
+
},
|
2416
|
+
"van-pull-refresh/disabled": {
|
2417
|
+
"type": "boolean",
|
2418
|
+
"description": "是否禁用下拉刷新, 默认值: `false`"
|
2419
|
+
},
|
2420
|
+
"van-search/v-model": {
|
2421
|
+
"type": "number | string",
|
2422
|
+
"description": "当前输入的值, 默认值: -"
|
2423
|
+
},
|
2424
|
+
"van-search/label": {
|
2425
|
+
"type": "string",
|
2426
|
+
"description": "搜索框左侧文本, 默认值: -"
|
2427
|
+
},
|
2428
|
+
"van-search/name": {
|
2429
|
+
"type": "string",
|
2430
|
+
"description": "名称,作为提交表单时的标识符, 默认值: -"
|
2431
|
+
},
|
2432
|
+
"van-search/shape": {
|
2433
|
+
"type": "string",
|
2434
|
+
"description": "搜索框形状,可选值为 `round`, 默认值: `square`"
|
2435
|
+
},
|
2436
|
+
"van-search/id": {
|
2437
|
+
"type": "string",
|
2438
|
+
"description": "搜索框 id,同时会设置 label 的 for 属性, 默认值: `van-search-n-input`"
|
2439
|
+
},
|
2440
|
+
"van-search/background": {
|
2441
|
+
"type": "string",
|
2442
|
+
"description": "搜索框外部背景色, 默认值: `#f2f2f2`"
|
2443
|
+
},
|
2444
|
+
"van-search/maxlength": {
|
2445
|
+
"type": "number | string",
|
2446
|
+
"description": "输入的最大字符数, 默认值: -"
|
2351
2447
|
},
|
2352
|
-
"van-
|
2448
|
+
"van-search/placeholder": {
|
2353
2449
|
"type": "string",
|
2354
|
-
"description": "
|
2450
|
+
"description": "占位提示文字, 默认值: -"
|
2355
2451
|
},
|
2356
|
-
"van-
|
2357
|
-
"type": "
|
2358
|
-
"description": "
|
2452
|
+
"van-search/clearable": {
|
2453
|
+
"type": "boolean",
|
2454
|
+
"description": "是否启用清除图标,点击清除图标后会清空输入框, 默认值: `true`"
|
2359
2455
|
},
|
2360
|
-
"van-
|
2456
|
+
"van-search/clear-icon": {
|
2361
2457
|
"type": "string",
|
2362
|
-
"description": "
|
2458
|
+
"description": "清除[图标名称](#/zh-CN/icon)或图片链接, 默认值: `clear`"
|
2363
2459
|
},
|
2364
|
-
"van-
|
2460
|
+
"van-search/clear-trigger": {
|
2365
2461
|
"type": "string",
|
2366
|
-
"description": "
|
2462
|
+
"description": "显示清除图标的时机,`always` 表示输入框不为空时展示,<br>`focus` 表示输入框聚焦且不为空时展示, 默认值: `focus`"
|
2367
2463
|
},
|
2368
|
-
"van-
|
2369
|
-
"type": "
|
2370
|
-
"description": "
|
2464
|
+
"van-search/autofocus": {
|
2465
|
+
"type": "boolean",
|
2466
|
+
"description": "是否自动聚焦,iOS 系统不支持该属性, 默认值: `false`"
|
2371
2467
|
},
|
2372
|
-
"van-
|
2468
|
+
"van-search/show-action": {
|
2373
2469
|
"type": "boolean",
|
2374
|
-
"description": "
|
2470
|
+
"description": "是否在搜索框右侧显示取消按钮, 默认值: `false`"
|
2375
2471
|
},
|
2376
|
-
"van-
|
2472
|
+
"van-search/action-text": {
|
2377
2473
|
"type": "boolean",
|
2378
|
-
"description": "
|
2474
|
+
"description": "取消按钮文字, 默认值: `取消`"
|
2379
2475
|
},
|
2380
|
-
"van-
|
2476
|
+
"van-search/disabled": {
|
2381
2477
|
"type": "boolean",
|
2382
|
-
"description": "
|
2478
|
+
"description": "是否禁用输入框, 默认值: `false`"
|
2383
2479
|
},
|
2384
|
-
"van-
|
2385
|
-
"type": "
|
2386
|
-
"description": "
|
2480
|
+
"van-search/readonly": {
|
2481
|
+
"type": "boolean",
|
2482
|
+
"description": "是否将输入框设为只读状态,只读状态下无法输入内容, 默认值: `false`"
|
2387
2483
|
},
|
2388
|
-
"van-
|
2389
|
-
"type": "
|
2390
|
-
"description": "
|
2484
|
+
"van-search/error": {
|
2485
|
+
"type": "boolean",
|
2486
|
+
"description": "是否将输入内容标红, 默认值: `false`"
|
2391
2487
|
},
|
2392
|
-
"van-
|
2488
|
+
"van-search/error-message": {
|
2393
2489
|
"type": "string",
|
2394
|
-
"description": "
|
2490
|
+
"description": "底部错误提示文案,为空时不展示, 默认值: -"
|
2395
2491
|
},
|
2396
|
-
"van-
|
2397
|
-
"type": "string",
|
2398
|
-
"description": "
|
2492
|
+
"van-search/formatter": {
|
2493
|
+
"type": "(val: string) => string",
|
2494
|
+
"description": "输入内容格式化函数, 默认值: -"
|
2399
2495
|
},
|
2400
|
-
"van-
|
2401
|
-
"type": "
|
2402
|
-
"description": "
|
2496
|
+
"van-search/format-trigger": {
|
2497
|
+
"type": "string",
|
2498
|
+
"description": "格式化函数触发的时机,可选值为 `onBlur`, 默认值: `onChange`"
|
2403
2499
|
},
|
2404
|
-
"van-
|
2405
|
-
"type": "
|
2406
|
-
"description": "
|
2500
|
+
"van-search/input-align": {
|
2501
|
+
"type": "string",
|
2502
|
+
"description": "输入框内容对齐方式,可选值为 `center` `right`, 默认值: `left`"
|
2407
2503
|
},
|
2408
|
-
"van-
|
2409
|
-
"type": "
|
2410
|
-
"description": "
|
2504
|
+
"van-search/left-icon": {
|
2505
|
+
"type": "string",
|
2506
|
+
"description": "输入框左侧[图标名称](#/zh-CN/icon)或图片链接, 默认值: `search`"
|
2411
2507
|
},
|
2412
|
-
"van-
|
2413
|
-
"type": "
|
2414
|
-
"description": "
|
2508
|
+
"van-search/right-icon": {
|
2509
|
+
"type": "string",
|
2510
|
+
"description": "输入框右侧[图标名称](#/zh-CN/icon)或图片链接, 默认值: -"
|
2415
2511
|
},
|
2416
|
-
"van-
|
2417
|
-
"type": "
|
2418
|
-
"description": "
|
2512
|
+
"van-search/autocomplete": {
|
2513
|
+
"type": "string",
|
2514
|
+
"description": "input 标签原生的[自动完成属性](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/autocomplete), 默认值: -"
|
2419
2515
|
},
|
2420
2516
|
"van-radio/name": {
|
2421
2517
|
"type": "any",
|
@@ -2521,102 +2617,6 @@
|
|
2521
2617
|
"type": "boolean",
|
2522
2618
|
"description": "是否可以通过滑动手势选择评分, 默认值: `true`"
|
2523
2619
|
},
|
2524
|
-
"van-search/v-model": {
|
2525
|
-
"type": "number | string",
|
2526
|
-
"description": "当前输入的值, 默认值: -"
|
2527
|
-
},
|
2528
|
-
"van-search/label": {
|
2529
|
-
"type": "string",
|
2530
|
-
"description": "搜索框左侧文本, 默认值: -"
|
2531
|
-
},
|
2532
|
-
"van-search/name": {
|
2533
|
-
"type": "string",
|
2534
|
-
"description": "名称,作为提交表单时的标识符, 默认值: -"
|
2535
|
-
},
|
2536
|
-
"van-search/shape": {
|
2537
|
-
"type": "string",
|
2538
|
-
"description": "搜索框形状,可选值为 `round`, 默认值: `square`"
|
2539
|
-
},
|
2540
|
-
"van-search/id": {
|
2541
|
-
"type": "string",
|
2542
|
-
"description": "搜索框 id,同时会设置 label 的 for 属性, 默认值: -"
|
2543
|
-
},
|
2544
|
-
"van-search/background": {
|
2545
|
-
"type": "string",
|
2546
|
-
"description": "搜索框外部背景色, 默认值: `#f2f2f2`"
|
2547
|
-
},
|
2548
|
-
"van-search/maxlength": {
|
2549
|
-
"type": "number | string",
|
2550
|
-
"description": "输入的最大字符数, 默认值: -"
|
2551
|
-
},
|
2552
|
-
"van-search/placeholder": {
|
2553
|
-
"type": "string",
|
2554
|
-
"description": "占位提示文字, 默认值: -"
|
2555
|
-
},
|
2556
|
-
"van-search/clearable": {
|
2557
|
-
"type": "boolean",
|
2558
|
-
"description": "是否启用清除图标,点击清除图标后会清空输入框, 默认值: `true`"
|
2559
|
-
},
|
2560
|
-
"van-search/clear-icon": {
|
2561
|
-
"type": "string",
|
2562
|
-
"description": "清除[图标名称](#/zh-CN/icon)或图片链接, 默认值: `clear`"
|
2563
|
-
},
|
2564
|
-
"van-search/clear-trigger": {
|
2565
|
-
"type": "string",
|
2566
|
-
"description": "显示清除图标的时机,`always` 表示输入框不为空时展示,<br>`focus` 表示输入框聚焦且不为空时展示, 默认值: `focus`"
|
2567
|
-
},
|
2568
|
-
"van-search/autofocus": {
|
2569
|
-
"type": "boolean",
|
2570
|
-
"description": "是否自动聚焦,iOS 系统不支持该属性, 默认值: `false`"
|
2571
|
-
},
|
2572
|
-
"van-search/show-action": {
|
2573
|
-
"type": "boolean",
|
2574
|
-
"description": "是否在搜索框右侧显示取消按钮, 默认值: `false`"
|
2575
|
-
},
|
2576
|
-
"van-search/action-text": {
|
2577
|
-
"type": "boolean",
|
2578
|
-
"description": "取消按钮文字, 默认值: `取消`"
|
2579
|
-
},
|
2580
|
-
"van-search/disabled": {
|
2581
|
-
"type": "boolean",
|
2582
|
-
"description": "是否禁用输入框, 默认值: `false`"
|
2583
|
-
},
|
2584
|
-
"van-search/readonly": {
|
2585
|
-
"type": "boolean",
|
2586
|
-
"description": "是否将输入框设为只读状态,只读状态下无法输入内容, 默认值: `false`"
|
2587
|
-
},
|
2588
|
-
"van-search/error": {
|
2589
|
-
"type": "boolean",
|
2590
|
-
"description": "是否将输入内容标红, 默认值: `false`"
|
2591
|
-
},
|
2592
|
-
"van-search/error-message": {
|
2593
|
-
"type": "string",
|
2594
|
-
"description": "底部错误提示文案,为空时不展示, 默认值: -"
|
2595
|
-
},
|
2596
|
-
"van-search/formatter": {
|
2597
|
-
"type": "(val: string) => string",
|
2598
|
-
"description": "输入内容格式化函数, 默认值: -"
|
2599
|
-
},
|
2600
|
-
"van-search/format-trigger": {
|
2601
|
-
"type": "string",
|
2602
|
-
"description": "格式化函数触发的时机,可选值为 `onBlur`, 默认值: `onChange`"
|
2603
|
-
},
|
2604
|
-
"van-search/input-align": {
|
2605
|
-
"type": "string",
|
2606
|
-
"description": "输入框内容对齐方式,可选值为 `center` `right`, 默认值: `left`"
|
2607
|
-
},
|
2608
|
-
"van-search/left-icon": {
|
2609
|
-
"type": "string",
|
2610
|
-
"description": "输入框左侧[图标名称](#/zh-CN/icon)或图片链接, 默认值: `search`"
|
2611
|
-
},
|
2612
|
-
"van-search/right-icon": {
|
2613
|
-
"type": "string",
|
2614
|
-
"description": "输入框右侧[图标名称](#/zh-CN/icon)或图片链接, 默认值: -"
|
2615
|
-
},
|
2616
|
-
"van-search/autocomplete": {
|
2617
|
-
"type": "string",
|
2618
|
-
"description": "input 标签原生的[自动完成属性](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/autocomplete), 默认值: -"
|
2619
|
-
},
|
2620
2620
|
"van-share-sheet/v-model:show": {
|
2621
2621
|
"type": "boolean",
|
2622
2622
|
"description": "是否显示分享面板, 默认值: `false`"
|
@@ -3118,6 +3118,42 @@
|
|
3118
3118
|
"type": "any",
|
3119
3119
|
"description": "关闭时对应的值, 默认值: `false`"
|
3120
3120
|
},
|
3121
|
+
"van-tag/type": {
|
3122
|
+
"type": "string",
|
3123
|
+
"description": "类型,可选值为 `primary` `success` `danger` `warning`, 默认值: `default`"
|
3124
|
+
},
|
3125
|
+
"van-tag/size": {
|
3126
|
+
"type": "string",
|
3127
|
+
"description": "大小, 可选值为 `large` `medium`, 默认值: -"
|
3128
|
+
},
|
3129
|
+
"van-tag/color": {
|
3130
|
+
"type": "string",
|
3131
|
+
"description": "标签颜色, 默认值: -"
|
3132
|
+
},
|
3133
|
+
"van-tag/show": {
|
3134
|
+
"type": "boolean",
|
3135
|
+
"description": "是否展示标签, 默认值: `true`"
|
3136
|
+
},
|
3137
|
+
"van-tag/plain": {
|
3138
|
+
"type": "boolean",
|
3139
|
+
"description": "是否为空心样式, 默认值: `false`"
|
3140
|
+
},
|
3141
|
+
"van-tag/round": {
|
3142
|
+
"type": "boolean",
|
3143
|
+
"description": "是否为圆角样式, 默认值: `false`"
|
3144
|
+
},
|
3145
|
+
"van-tag/mark": {
|
3146
|
+
"type": "boolean",
|
3147
|
+
"description": "是否为标记样式, 默认值: `false`"
|
3148
|
+
},
|
3149
|
+
"van-tag/text-color": {
|
3150
|
+
"type": "string",
|
3151
|
+
"description": "文本颜色,优先级高于 `color` 属性, 默认值: `white`"
|
3152
|
+
},
|
3153
|
+
"van-tag/closeable": {
|
3154
|
+
"type": "boolean",
|
3155
|
+
"description": "是否为可关闭标签, 默认值: `false`"
|
3156
|
+
},
|
3121
3157
|
"van-tabs/v-model:active": {
|
3122
3158
|
"type": "number | string",
|
3123
3159
|
"description": "绑定当前选中标签的标识符, 默认值: `0`"
|
@@ -3322,42 +3358,6 @@
|
|
3322
3358
|
"type": "boolean",
|
3323
3359
|
"description": "是否在跳转时替换当前页面历史, 默认值: `false`"
|
3324
3360
|
},
|
3325
|
-
"van-tag/type": {
|
3326
|
-
"type": "string",
|
3327
|
-
"description": "类型,可选值为 `primary` `success` `danger` `warning`, 默认值: `default`"
|
3328
|
-
},
|
3329
|
-
"van-tag/size": {
|
3330
|
-
"type": "string",
|
3331
|
-
"description": "大小, 可选值为 `large` `medium`, 默认值: -"
|
3332
|
-
},
|
3333
|
-
"van-tag/color": {
|
3334
|
-
"type": "string",
|
3335
|
-
"description": "标签颜色, 默认值: -"
|
3336
|
-
},
|
3337
|
-
"van-tag/show": {
|
3338
|
-
"type": "boolean",
|
3339
|
-
"description": "是否展示标签, 默认值: `true`"
|
3340
|
-
},
|
3341
|
-
"van-tag/plain": {
|
3342
|
-
"type": "boolean",
|
3343
|
-
"description": "是否为空心样式, 默认值: `false`"
|
3344
|
-
},
|
3345
|
-
"van-tag/round": {
|
3346
|
-
"type": "boolean",
|
3347
|
-
"description": "是否为圆角样式, 默认值: `false`"
|
3348
|
-
},
|
3349
|
-
"van-tag/mark": {
|
3350
|
-
"type": "boolean",
|
3351
|
-
"description": "是否为标记样式, 默认值: `false`"
|
3352
|
-
},
|
3353
|
-
"van-tag/text-color": {
|
3354
|
-
"type": "string",
|
3355
|
-
"description": "文本颜色,优先级高于 `color` 属性, 默认值: `white`"
|
3356
|
-
},
|
3357
|
-
"van-tag/closeable": {
|
3358
|
-
"type": "boolean",
|
3359
|
-
"description": "是否为可关闭标签, 默认值: `false`"
|
3360
|
-
},
|
3361
3361
|
"van-tree-select/items": {
|
3362
3362
|
"type": "TreeSelectItem[]",
|
3363
3363
|
"description": "分类显示所需的数据, 默认值: `[]`"
|