vant 2.12.42 → 2.12.43
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/README.md +3 -3
- package/README.zh-CN.md +4 -4
- package/es/collapse-item/index.js +5 -1
- package/es/index.js +1 -1
- package/lib/collapse-item/index.js +5 -1
- package/lib/index.js +1 -1
- package/lib/vant.js +6 -2
- package/lib/vant.min.js +1 -1
- package/package.json +1 -1
- package/vetur/attributes.json +247 -243
- package/vetur/tags.json +82 -81
- package/vetur/web-types.json +663 -654
package/package.json
CHANGED
package/vetur/attributes.json
CHANGED
@@ -67,58 +67,6 @@
|
|
67
67
|
"type": "string | () => Element",
|
68
68
|
"description": "指定挂载的节点,[用法示例](#/zh-CN/popup#zhi-ding-gua-zai-wei-zhi), 默认值: -"
|
69
69
|
},
|
70
|
-
"van-area/value": {
|
71
|
-
"type": "string",
|
72
|
-
"description": "当前选中的省市区`code`, 默认值: -"
|
73
|
-
},
|
74
|
-
"van-area/title": {
|
75
|
-
"type": "string",
|
76
|
-
"description": "顶部栏标题, 默认值: -"
|
77
|
-
},
|
78
|
-
"van-area/confirm-button-text": {
|
79
|
-
"type": "string",
|
80
|
-
"description": "确认按钮文字, 默认值: `确认`"
|
81
|
-
},
|
82
|
-
"van-area/cancel-button-text": {
|
83
|
-
"type": "string",
|
84
|
-
"description": "取消按钮文字, 默认值: `取消`"
|
85
|
-
},
|
86
|
-
"van-area/area-list": {
|
87
|
-
"type": "object",
|
88
|
-
"description": "省市区数据,格式见下方, 默认值: -"
|
89
|
-
},
|
90
|
-
"van-area/columns-placeholder": {
|
91
|
-
"type": "string[]",
|
92
|
-
"description": "列占位提示文字, 默认值: `[]`"
|
93
|
-
},
|
94
|
-
"van-area/loading": {
|
95
|
-
"type": "boolean",
|
96
|
-
"description": "是否显示加载状态, 默认值: `false`"
|
97
|
-
},
|
98
|
-
"van-area/readonly": {
|
99
|
-
"type": "boolean",
|
100
|
-
"description": "是否为只读状态,只读状态下无法切换选项, 默认值: `false`"
|
101
|
-
},
|
102
|
-
"van-area/item-height": {
|
103
|
-
"type": "number | string",
|
104
|
-
"description": "选项高度,支持 `px` `vw` `vh` `rem` 单位,默认 `px`, 默认值: `44`"
|
105
|
-
},
|
106
|
-
"van-area/columns-num": {
|
107
|
-
"type": "number | string",
|
108
|
-
"description": "显示列数,3-省市区,2-省市,1-省, 默认值: `3`"
|
109
|
-
},
|
110
|
-
"van-area/visible-item-count": {
|
111
|
-
"type": "number | string",
|
112
|
-
"description": "可见的选项个数, 默认值: `6`"
|
113
|
-
},
|
114
|
-
"van-area/swipe-duration": {
|
115
|
-
"type": "number | string",
|
116
|
-
"description": "快速滑动时惯性滚动的时长,单位`ms`, 默认值: `1000`"
|
117
|
-
},
|
118
|
-
"van-area/is-oversea-code": {
|
119
|
-
"type": "() => boolean",
|
120
|
-
"description": "根据`code`校验海外地址,海外地址会划分至单独的分类, 默认值: -"
|
121
|
-
},
|
122
70
|
"van-address-edit/area-list": {
|
123
71
|
"type": "object",
|
124
72
|
"description": "地区列表, 默认值: -"
|
@@ -207,33 +155,21 @@
|
|
207
155
|
"type": "(key, val) => string",
|
208
156
|
"description": "自定义校验函数, 默认值: -"
|
209
157
|
},
|
210
|
-
"van-
|
211
|
-
"type": "string",
|
212
|
-
"description": "
|
213
|
-
},
|
214
|
-
"van-address-list/list": {
|
215
|
-
"type": "Address[]",
|
216
|
-
"description": "地址列表, 默认值: `[]`"
|
217
|
-
},
|
218
|
-
"van-address-list/disabled-list": {
|
219
|
-
"type": "Address[]",
|
220
|
-
"description": "不可配送地址列表, 默认值: `[]`"
|
158
|
+
"van-badge/content": {
|
159
|
+
"type": "number | string",
|
160
|
+
"description": "徽标内容, 默认值: -"
|
221
161
|
},
|
222
|
-
"van-
|
162
|
+
"van-badge/color": {
|
223
163
|
"type": "string",
|
224
|
-
"description": "
|
164
|
+
"description": "徽标背景颜色, 默认值: `#ee0a24`"
|
225
165
|
},
|
226
|
-
"van-
|
166
|
+
"van-badge/dot": {
|
227
167
|
"type": "boolean",
|
228
|
-
"description": "
|
229
|
-
},
|
230
|
-
"van-address-list/add-button-text": {
|
231
|
-
"type": "string",
|
232
|
-
"description": "底部按钮文字, 默认值: `新增地址`"
|
168
|
+
"description": "是否展示为小红点, 默认值: `false`"
|
233
169
|
},
|
234
|
-
"van-
|
235
|
-
"type": "string",
|
236
|
-
"description": "
|
170
|
+
"van-badge/max": {
|
171
|
+
"type": "number | string",
|
172
|
+
"description": "最大值,超过最大值会显示 `{max}+`,仅当 content 为数字时有效, 默认值: -"
|
237
173
|
},
|
238
174
|
"van-button/type": {
|
239
175
|
"type": "string",
|
@@ -323,6 +259,58 @@
|
|
323
259
|
"type": "boolean",
|
324
260
|
"description": "是否在跳转时替换当前页面历史, 默认值: `false`"
|
325
261
|
},
|
262
|
+
"van-area/value": {
|
263
|
+
"type": "string",
|
264
|
+
"description": "当前选中的省市区`code`, 默认值: -"
|
265
|
+
},
|
266
|
+
"van-area/title": {
|
267
|
+
"type": "string",
|
268
|
+
"description": "顶部栏标题, 默认值: -"
|
269
|
+
},
|
270
|
+
"van-area/confirm-button-text": {
|
271
|
+
"type": "string",
|
272
|
+
"description": "确认按钮文字, 默认值: `确认`"
|
273
|
+
},
|
274
|
+
"van-area/cancel-button-text": {
|
275
|
+
"type": "string",
|
276
|
+
"description": "取消按钮文字, 默认值: `取消`"
|
277
|
+
},
|
278
|
+
"van-area/area-list": {
|
279
|
+
"type": "object",
|
280
|
+
"description": "省市区数据,格式见下方, 默认值: -"
|
281
|
+
},
|
282
|
+
"van-area/columns-placeholder": {
|
283
|
+
"type": "string[]",
|
284
|
+
"description": "列占位提示文字, 默认值: `[]`"
|
285
|
+
},
|
286
|
+
"van-area/loading": {
|
287
|
+
"type": "boolean",
|
288
|
+
"description": "是否显示加载状态, 默认值: `false`"
|
289
|
+
},
|
290
|
+
"van-area/readonly": {
|
291
|
+
"type": "boolean",
|
292
|
+
"description": "是否为只读状态,只读状态下无法切换选项, 默认值: `false`"
|
293
|
+
},
|
294
|
+
"van-area/item-height": {
|
295
|
+
"type": "number | string",
|
296
|
+
"description": "选项高度,支持 `px` `vw` `vh` `rem` 单位,默认 `px`, 默认值: `44`"
|
297
|
+
},
|
298
|
+
"van-area/columns-num": {
|
299
|
+
"type": "number | string",
|
300
|
+
"description": "显示列数,3-省市区,2-省市,1-省, 默认值: `3`"
|
301
|
+
},
|
302
|
+
"van-area/visible-item-count": {
|
303
|
+
"type": "number | string",
|
304
|
+
"description": "可见的选项个数, 默认值: `6`"
|
305
|
+
},
|
306
|
+
"van-area/swipe-duration": {
|
307
|
+
"type": "number | string",
|
308
|
+
"description": "快速滑动时惯性滚动的时长,单位`ms`, 默认值: `1000`"
|
309
|
+
},
|
310
|
+
"van-area/is-oversea-code": {
|
311
|
+
"type": "() => boolean",
|
312
|
+
"description": "根据`code`校验海外地址,海外地址会划分至单独的分类, 默认值: -"
|
313
|
+
},
|
326
314
|
"van-calendar/type": {
|
327
315
|
"type": "string",
|
328
316
|
"description": "选择类型:<br>`single`表示选择单个日期,<br>`multiple`表示选择多个日期,<br>`range`表示选择日期区间, 默认值: `single`"
|
@@ -487,6 +475,38 @@
|
|
487
475
|
"type": "boolean",
|
488
476
|
"description": "是否开启图片懒加载,须配合 [Lazyload](#/zh-CN/lazyload) 组件使用, 默认值: `false`"
|
489
477
|
},
|
478
|
+
"van-cascader/title": {
|
479
|
+
"type": "string",
|
480
|
+
"description": "顶部标题, 默认值: -"
|
481
|
+
},
|
482
|
+
"van-cascader/value": {
|
483
|
+
"type": "string | number",
|
484
|
+
"description": "选中项的值, 默认值: -"
|
485
|
+
},
|
486
|
+
"van-cascader/options": {
|
487
|
+
"type": "Option[]",
|
488
|
+
"description": "可选项数据源, 默认值: `[]`"
|
489
|
+
},
|
490
|
+
"van-cascader/placeholder": {
|
491
|
+
"type": "string",
|
492
|
+
"description": "未选中时的提示文案, 默认值: `请选择`"
|
493
|
+
},
|
494
|
+
"van-cascader/active-color": {
|
495
|
+
"type": "string",
|
496
|
+
"description": "选中状态的高亮颜色, 默认值: `#ee0a24`"
|
497
|
+
},
|
498
|
+
"van-cascader/closeable": {
|
499
|
+
"type": "boolean",
|
500
|
+
"description": "是否显示关闭图标, 默认值: `true`"
|
501
|
+
},
|
502
|
+
"van-cascader/show-header": {
|
503
|
+
"type": "boolean",
|
504
|
+
"description": "是否展示标题栏, 默认值: `true`"
|
505
|
+
},
|
506
|
+
"van-cascader/field-names": {
|
507
|
+
"type": "object",
|
508
|
+
"description": "自定义 `options` 结构中的字段, 默认值: `{ text: 'text', value: 'value', children: 'children' }`"
|
509
|
+
},
|
490
510
|
"van-cell-group/title": {
|
491
511
|
"type": "string",
|
492
512
|
"description": "分组标题, 默认值: `-`"
|
@@ -571,53 +591,33 @@
|
|
571
591
|
"type": "any",
|
572
592
|
"description": "描述信息额外类名, 默认值: -"
|
573
593
|
},
|
574
|
-
"van-
|
594
|
+
"van-address-list/v-model": {
|
575
595
|
"type": "string",
|
576
|
-
"description": "
|
577
|
-
},
|
578
|
-
"van-cascader/value": {
|
579
|
-
"type": "string | number",
|
580
|
-
"description": "选中项的值, 默认值: -"
|
596
|
+
"description": "当前选中地址的 id, 默认值: -"
|
581
597
|
},
|
582
|
-
"van-
|
583
|
-
"type": "
|
584
|
-
"description": "
|
598
|
+
"van-address-list/list": {
|
599
|
+
"type": "Address[]",
|
600
|
+
"description": "地址列表, 默认值: `[]`"
|
585
601
|
},
|
586
|
-
"van-
|
587
|
-
"type": "
|
588
|
-
"description": "
|
602
|
+
"van-address-list/disabled-list": {
|
603
|
+
"type": "Address[]",
|
604
|
+
"description": "不可配送地址列表, 默认值: `[]`"
|
589
605
|
},
|
590
|
-
"van-
|
606
|
+
"van-address-list/disabled-text": {
|
591
607
|
"type": "string",
|
592
|
-
"description": "
|
593
|
-
},
|
594
|
-
"van-cascader/closeable": {
|
595
|
-
"type": "boolean",
|
596
|
-
"description": "是否显示关闭图标, 默认值: `true`"
|
608
|
+
"description": "不可配送提示文案, 默认值: -"
|
597
609
|
},
|
598
|
-
"van-
|
610
|
+
"van-address-list/switchable": {
|
599
611
|
"type": "boolean",
|
600
|
-
"description": "
|
601
|
-
},
|
602
|
-
"van-cascader/field-names": {
|
603
|
-
"type": "object",
|
604
|
-
"description": "自定义 `options` 结构中的字段, 默认值: `{ text: 'text', value: 'value', children: 'children' }`"
|
605
|
-
},
|
606
|
-
"van-badge/content": {
|
607
|
-
"type": "number | string",
|
608
|
-
"description": "徽标内容, 默认值: -"
|
612
|
+
"description": "是否允许切换地址, 默认值: `true`"
|
609
613
|
},
|
610
|
-
"van-
|
614
|
+
"van-address-list/add-button-text": {
|
611
615
|
"type": "string",
|
612
|
-
"description": "
|
613
|
-
},
|
614
|
-
"van-badge/dot": {
|
615
|
-
"type": "boolean",
|
616
|
-
"description": "是否展示为小红点, 默认值: `false`"
|
616
|
+
"description": "底部按钮文字, 默认值: `新增地址`"
|
617
617
|
},
|
618
|
-
"van-
|
619
|
-
"type": "
|
620
|
-
"description": "
|
618
|
+
"van-address-list/default-tag-text": {
|
619
|
+
"type": "string",
|
620
|
+
"description": "默认地址标签文字, 默认值: -"
|
621
621
|
},
|
622
622
|
"van-checkbox/v-model (value)": {
|
623
623
|
"type": "boolean",
|
@@ -803,6 +803,10 @@
|
|
803
803
|
"type": "boolean",
|
804
804
|
"description": "是否禁用面板, 默认值: `false`"
|
805
805
|
},
|
806
|
+
"van-collapse-item/lazy-render": {
|
807
|
+
"type": "boolean",
|
808
|
+
"description": "是否在首次展开时才渲染面板内容, 默认值: `true`"
|
809
|
+
},
|
806
810
|
"van-collapse-item/title-class": {
|
807
811
|
"type": "string",
|
808
812
|
"description": "左侧标题额外类名, 默认值: -"
|
@@ -1235,6 +1239,138 @@
|
|
1235
1239
|
"type": "string",
|
1236
1240
|
"description": "图片下方的描述文字, 默认值: -"
|
1237
1241
|
},
|
1242
|
+
"van-form/label-width": {
|
1243
|
+
"type": "number | string",
|
1244
|
+
"description": "表单项 label 宽度,默认单位为`px`, 默认值: `6.2em`"
|
1245
|
+
},
|
1246
|
+
"van-form/label-align": {
|
1247
|
+
"type": "string",
|
1248
|
+
"description": "\b 表单项 label 对齐方式,可选值为 `center` `right`, 默认值: `left`"
|
1249
|
+
},
|
1250
|
+
"van-form/input-align": {
|
1251
|
+
"type": "string",
|
1252
|
+
"description": "输入框对齐方式,可选值为 `center` `right`, 默认值: `left`"
|
1253
|
+
},
|
1254
|
+
"van-form/error-message-align": {
|
1255
|
+
"type": "string",
|
1256
|
+
"description": "错误提示文案对齐方式,可选值为 `center` `right`, 默认值: `left`"
|
1257
|
+
},
|
1258
|
+
"van-form/validate-trigger": {
|
1259
|
+
"type": "string",
|
1260
|
+
"description": "表单校验触发时机,可选值为 `onChange`、`onSubmit`,详见下表, 默认值: `onBlur`"
|
1261
|
+
},
|
1262
|
+
"van-form/colon": {
|
1263
|
+
"type": "boolean",
|
1264
|
+
"description": "是否在 label 后面添加冒号, 默认值: `false`"
|
1265
|
+
},
|
1266
|
+
"van-form/disabled": {
|
1267
|
+
"type": "boolean",
|
1268
|
+
"description": "是否禁用表单中的所有输入框, 默认值: `false`"
|
1269
|
+
},
|
1270
|
+
"van-form/readonly": {
|
1271
|
+
"type": "boolean",
|
1272
|
+
"description": "是否将表单中的所有输入框设置为只读, 默认值: `false`"
|
1273
|
+
},
|
1274
|
+
"van-form/validate-first": {
|
1275
|
+
"type": "boolean",
|
1276
|
+
"description": "是否在某一项校验不通过时停止校验, 默认值: `false`"
|
1277
|
+
},
|
1278
|
+
"van-form/scroll-to-error": {
|
1279
|
+
"type": "boolean",
|
1280
|
+
"description": "是否在提交表单且校验不通过时滚动至错误的表单项, 默认值: `false`"
|
1281
|
+
},
|
1282
|
+
"van-form/show-error": {
|
1283
|
+
"type": "boolean",
|
1284
|
+
"description": "是否在校验不通过时标红输入框, 默认值: `true`"
|
1285
|
+
},
|
1286
|
+
"van-form/show-error-message": {
|
1287
|
+
"type": "boolean",
|
1288
|
+
"description": "是否在校验不通过时在输入框下方展示错误提示, 默认值: `true`"
|
1289
|
+
},
|
1290
|
+
"van-form/submit-on-enter": {
|
1291
|
+
"type": "boolean",
|
1292
|
+
"description": "是否在按下回车键时提交表单, 默认值: `true`"
|
1293
|
+
},
|
1294
|
+
"van-goods-action/safe-area-inset-bottom": {
|
1295
|
+
"type": "boolean",
|
1296
|
+
"description": "是否开启[底部安全区适配](#/zh-CN/advanced-usage#di-bu-an-quan-qu-gua-pei), 默认值: `true`"
|
1297
|
+
},
|
1298
|
+
"van-goods-action-icon/text": {
|
1299
|
+
"type": "string",
|
1300
|
+
"description": "按钮文字, 默认值: -"
|
1301
|
+
},
|
1302
|
+
"van-goods-action-icon/icon": {
|
1303
|
+
"type": "string",
|
1304
|
+
"description": "图标, 默认值: -"
|
1305
|
+
},
|
1306
|
+
"van-goods-action-icon/color": {
|
1307
|
+
"type": "string",
|
1308
|
+
"description": "图标颜色, 默认值: `#323233`"
|
1309
|
+
},
|
1310
|
+
"van-goods-action-icon/icon-class": {
|
1311
|
+
"type": "any",
|
1312
|
+
"description": "图标额外类名, 默认值: -"
|
1313
|
+
},
|
1314
|
+
"van-goods-action-icon/dot": {
|
1315
|
+
"type": "boolean",
|
1316
|
+
"description": "是否显示图标右上角小红点, 默认值: `false`"
|
1317
|
+
},
|
1318
|
+
"van-goods-action-icon/badge": {
|
1319
|
+
"type": "number | string",
|
1320
|
+
"description": "图标右上角徽标的内容, 默认值: -"
|
1321
|
+
},
|
1322
|
+
"van-goods-action-icon/info": {
|
1323
|
+
"type": "number | string",
|
1324
|
+
"description": "图标右上角徽标的内容(已废弃,请使用 badge 属性), 默认值: -"
|
1325
|
+
},
|
1326
|
+
"van-goods-action-icon/url": {
|
1327
|
+
"type": "string",
|
1328
|
+
"description": "点击后跳转的链接地址, 默认值: -"
|
1329
|
+
},
|
1330
|
+
"van-goods-action-icon/to": {
|
1331
|
+
"type": "string | object",
|
1332
|
+
"description": "点击后跳转的目标路由对象,同 vue-router 的 [to 属性](https://router.vuejs.org/zh/api/#to), 默认值: -"
|
1333
|
+
},
|
1334
|
+
"van-goods-action-icon/replace": {
|
1335
|
+
"type": "boolean",
|
1336
|
+
"description": "是否在跳转时替换当前页面历史, 默认值: `false`"
|
1337
|
+
},
|
1338
|
+
"van-goods-action-button/text": {
|
1339
|
+
"type": "string",
|
1340
|
+
"description": "按钮文字, 默认值: -"
|
1341
|
+
},
|
1342
|
+
"van-goods-action-button/type": {
|
1343
|
+
"type": "string",
|
1344
|
+
"description": "按钮类型,可选值为 `primary` `info` `warning` `danger`, 默认值: `default`"
|
1345
|
+
},
|
1346
|
+
"van-goods-action-button/color": {
|
1347
|
+
"type": "string",
|
1348
|
+
"description": "按钮颜色,支持传入`linear-gradient`渐变色, 默认值: -"
|
1349
|
+
},
|
1350
|
+
"van-goods-action-button/icon": {
|
1351
|
+
"type": "string",
|
1352
|
+
"description": "左侧[图标名称](#/zh-CN/icon)或图片链接, 默认值: -"
|
1353
|
+
},
|
1354
|
+
"van-goods-action-button/disabled": {
|
1355
|
+
"type": "boolean",
|
1356
|
+
"description": "是否禁用按钮, 默认值: `false`"
|
1357
|
+
},
|
1358
|
+
"van-goods-action-button/loading": {
|
1359
|
+
"type": "boolean",
|
1360
|
+
"description": "是否显示为加载状态, 默认值: `false`"
|
1361
|
+
},
|
1362
|
+
"van-goods-action-button/url": {
|
1363
|
+
"type": "string",
|
1364
|
+
"description": "点击后跳转的链接地址, 默认值: -"
|
1365
|
+
},
|
1366
|
+
"van-goods-action-button/to": {
|
1367
|
+
"type": "string | object",
|
1368
|
+
"description": "点击后跳转的目标路由对象,同 vue-router 的 [to 属性](https://router.vuejs.org/zh/api/#to), 默认值: -"
|
1369
|
+
},
|
1370
|
+
"van-goods-action-button/replace": {
|
1371
|
+
"type": "boolean",
|
1372
|
+
"description": "是否在跳转时替换当前页面历史, 默认值: `false`"
|
1373
|
+
},
|
1238
1374
|
"van-field/v-model (value)": {
|
1239
1375
|
"type": "number | string",
|
1240
1376
|
"description": "当前输入的值, 默认值: -"
|
@@ -1375,138 +1511,6 @@
|
|
1375
1511
|
"type": "string",
|
1376
1512
|
"description": "input 标签原生的[自动完成属性](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/autocomplete), 默认值: -"
|
1377
1513
|
},
|
1378
|
-
"van-form/label-width": {
|
1379
|
-
"type": "number | string",
|
1380
|
-
"description": "表单项 label 宽度,默认单位为`px`, 默认值: `6.2em`"
|
1381
|
-
},
|
1382
|
-
"van-form/label-align": {
|
1383
|
-
"type": "string",
|
1384
|
-
"description": "\b 表单项 label 对齐方式,可选值为 `center` `right`, 默认值: `left`"
|
1385
|
-
},
|
1386
|
-
"van-form/input-align": {
|
1387
|
-
"type": "string",
|
1388
|
-
"description": "输入框对齐方式,可选值为 `center` `right`, 默认值: `left`"
|
1389
|
-
},
|
1390
|
-
"van-form/error-message-align": {
|
1391
|
-
"type": "string",
|
1392
|
-
"description": "错误提示文案对齐方式,可选值为 `center` `right`, 默认值: `left`"
|
1393
|
-
},
|
1394
|
-
"van-form/validate-trigger": {
|
1395
|
-
"type": "string",
|
1396
|
-
"description": "表单校验触发时机,可选值为 `onChange`、`onSubmit`,详见下表, 默认值: `onBlur`"
|
1397
|
-
},
|
1398
|
-
"van-form/colon": {
|
1399
|
-
"type": "boolean",
|
1400
|
-
"description": "是否在 label 后面添加冒号, 默认值: `false`"
|
1401
|
-
},
|
1402
|
-
"van-form/disabled": {
|
1403
|
-
"type": "boolean",
|
1404
|
-
"description": "是否禁用表单中的所有输入框, 默认值: `false`"
|
1405
|
-
},
|
1406
|
-
"van-form/readonly": {
|
1407
|
-
"type": "boolean",
|
1408
|
-
"description": "是否将表单中的所有输入框设置为只读, 默认值: `false`"
|
1409
|
-
},
|
1410
|
-
"van-form/validate-first": {
|
1411
|
-
"type": "boolean",
|
1412
|
-
"description": "是否在某一项校验不通过时停止校验, 默认值: `false`"
|
1413
|
-
},
|
1414
|
-
"van-form/scroll-to-error": {
|
1415
|
-
"type": "boolean",
|
1416
|
-
"description": "是否在提交表单且校验不通过时滚动至错误的表单项, 默认值: `false`"
|
1417
|
-
},
|
1418
|
-
"van-form/show-error": {
|
1419
|
-
"type": "boolean",
|
1420
|
-
"description": "是否在校验不通过时标红输入框, 默认值: `true`"
|
1421
|
-
},
|
1422
|
-
"van-form/show-error-message": {
|
1423
|
-
"type": "boolean",
|
1424
|
-
"description": "是否在校验不通过时在输入框下方展示错误提示, 默认值: `true`"
|
1425
|
-
},
|
1426
|
-
"van-form/submit-on-enter": {
|
1427
|
-
"type": "boolean",
|
1428
|
-
"description": "是否在按下回车键时提交表单, 默认值: `true`"
|
1429
|
-
},
|
1430
|
-
"van-goods-action/safe-area-inset-bottom": {
|
1431
|
-
"type": "boolean",
|
1432
|
-
"description": "是否开启[底部安全区适配](#/zh-CN/advanced-usage#di-bu-an-quan-qu-gua-pei), 默认值: `true`"
|
1433
|
-
},
|
1434
|
-
"van-goods-action-icon/text": {
|
1435
|
-
"type": "string",
|
1436
|
-
"description": "按钮文字, 默认值: -"
|
1437
|
-
},
|
1438
|
-
"van-goods-action-icon/icon": {
|
1439
|
-
"type": "string",
|
1440
|
-
"description": "图标, 默认值: -"
|
1441
|
-
},
|
1442
|
-
"van-goods-action-icon/color": {
|
1443
|
-
"type": "string",
|
1444
|
-
"description": "图标颜色, 默认值: `#323233`"
|
1445
|
-
},
|
1446
|
-
"van-goods-action-icon/icon-class": {
|
1447
|
-
"type": "any",
|
1448
|
-
"description": "图标额外类名, 默认值: -"
|
1449
|
-
},
|
1450
|
-
"van-goods-action-icon/dot": {
|
1451
|
-
"type": "boolean",
|
1452
|
-
"description": "是否显示图标右上角小红点, 默认值: `false`"
|
1453
|
-
},
|
1454
|
-
"van-goods-action-icon/badge": {
|
1455
|
-
"type": "number | string",
|
1456
|
-
"description": "图标右上角徽标的内容, 默认值: -"
|
1457
|
-
},
|
1458
|
-
"van-goods-action-icon/info": {
|
1459
|
-
"type": "number | string",
|
1460
|
-
"description": "图标右上角徽标的内容(已废弃,请使用 badge 属性), 默认值: -"
|
1461
|
-
},
|
1462
|
-
"van-goods-action-icon/url": {
|
1463
|
-
"type": "string",
|
1464
|
-
"description": "点击后跳转的链接地址, 默认值: -"
|
1465
|
-
},
|
1466
|
-
"van-goods-action-icon/to": {
|
1467
|
-
"type": "string | object",
|
1468
|
-
"description": "点击后跳转的目标路由对象,同 vue-router 的 [to 属性](https://router.vuejs.org/zh/api/#to), 默认值: -"
|
1469
|
-
},
|
1470
|
-
"van-goods-action-icon/replace": {
|
1471
|
-
"type": "boolean",
|
1472
|
-
"description": "是否在跳转时替换当前页面历史, 默认值: `false`"
|
1473
|
-
},
|
1474
|
-
"van-goods-action-button/text": {
|
1475
|
-
"type": "string",
|
1476
|
-
"description": "按钮文字, 默认值: -"
|
1477
|
-
},
|
1478
|
-
"van-goods-action-button/type": {
|
1479
|
-
"type": "string",
|
1480
|
-
"description": "按钮类型,可选值为 `primary` `info` `warning` `danger`, 默认值: `default`"
|
1481
|
-
},
|
1482
|
-
"van-goods-action-button/color": {
|
1483
|
-
"type": "string",
|
1484
|
-
"description": "按钮颜色,支持传入`linear-gradient`渐变色, 默认值: -"
|
1485
|
-
},
|
1486
|
-
"van-goods-action-button/icon": {
|
1487
|
-
"type": "string",
|
1488
|
-
"description": "左侧[图标名称](#/zh-CN/icon)或图片链接, 默认值: -"
|
1489
|
-
},
|
1490
|
-
"van-goods-action-button/disabled": {
|
1491
|
-
"type": "boolean",
|
1492
|
-
"description": "是否禁用按钮, 默认值: `false`"
|
1493
|
-
},
|
1494
|
-
"van-goods-action-button/loading": {
|
1495
|
-
"type": "boolean",
|
1496
|
-
"description": "是否显示为加载状态, 默认值: `false`"
|
1497
|
-
},
|
1498
|
-
"van-goods-action-button/url": {
|
1499
|
-
"type": "string",
|
1500
|
-
"description": "点击后跳转的链接地址, 默认值: -"
|
1501
|
-
},
|
1502
|
-
"van-goods-action-button/to": {
|
1503
|
-
"type": "string | object",
|
1504
|
-
"description": "点击后跳转的目标路由对象,同 vue-router 的 [to 属性](https://router.vuejs.org/zh/api/#to), 默认值: -"
|
1505
|
-
},
|
1506
|
-
"van-goods-action-button/replace": {
|
1507
|
-
"type": "boolean",
|
1508
|
-
"description": "是否在跳转时替换当前页面历史, 默认值: `false`"
|
1509
|
-
},
|
1510
1514
|
"van-grid/column-num": {
|
1511
1515
|
"type": "number | string",
|
1512
1516
|
"description": "列数, 默认值: `4`"
|