vant 2.12.42 → 2.12.45
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 +4 -3
- package/README.zh-CN.md +5 -4
- package/changelog.generated.md +17 -0
- package/es/collapse-item/index.js +5 -1
- package/es/dialog/Dialog.js +41 -8
- package/es/index.js +1 -1
- package/es/sku/utils/sku-helper.js +2 -2
- package/es/utils/validate/email.js +2 -2
- package/lib/collapse-item/index.js +5 -1
- package/lib/dialog/Dialog.js +40 -7
- package/lib/index.js +1 -1
- package/lib/sku/utils/sku-helper.js +2 -2
- package/lib/utils/validate/email.js +2 -2
- package/lib/vant.js +50 -13
- package/lib/vant.min.js +1 -1
- package/package.json +1 -1
- package/vetur/attributes.json +189 -185
- package/vetur/tags.json +71 -70
- package/vetur/web-types.json +649 -640
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,57 @@
|
|
207
155
|
"type": "(key, val) => string",
|
208
156
|
"description": "自定义校验函数, 默认值: -"
|
209
157
|
},
|
210
|
-
"van-
|
158
|
+
"van-area/value": {
|
211
159
|
"type": "string",
|
212
|
-
"description": "
|
160
|
+
"description": "当前选中的省市区`code`, 默认值: -"
|
213
161
|
},
|
214
|
-
"van-
|
215
|
-
"type": "
|
216
|
-
"description": "
|
162
|
+
"van-area/title": {
|
163
|
+
"type": "string",
|
164
|
+
"description": "顶部栏标题, 默认值: -"
|
217
165
|
},
|
218
|
-
"van-
|
219
|
-
"type": "
|
220
|
-
"description": "
|
166
|
+
"van-area/confirm-button-text": {
|
167
|
+
"type": "string",
|
168
|
+
"description": "确认按钮文字, 默认值: `确认`"
|
221
169
|
},
|
222
|
-
"van-
|
170
|
+
"van-area/cancel-button-text": {
|
223
171
|
"type": "string",
|
224
|
-
"description": "
|
172
|
+
"description": "取消按钮文字, 默认值: `取消`"
|
225
173
|
},
|
226
|
-
"van-
|
174
|
+
"van-area/area-list": {
|
175
|
+
"type": "object",
|
176
|
+
"description": "省市区数据,格式见下方, 默认值: -"
|
177
|
+
},
|
178
|
+
"van-area/columns-placeholder": {
|
179
|
+
"type": "string[]",
|
180
|
+
"description": "列占位提示文字, 默认值: `[]`"
|
181
|
+
},
|
182
|
+
"van-area/loading": {
|
227
183
|
"type": "boolean",
|
228
|
-
"description": "
|
184
|
+
"description": "是否显示加载状态, 默认值: `false`"
|
229
185
|
},
|
230
|
-
"van-
|
231
|
-
"type": "
|
232
|
-
"description": "
|
186
|
+
"van-area/readonly": {
|
187
|
+
"type": "boolean",
|
188
|
+
"description": "是否为只读状态,只读状态下无法切换选项, 默认值: `false`"
|
233
189
|
},
|
234
|
-
"van-
|
235
|
-
"type": "string",
|
236
|
-
"description": "
|
190
|
+
"van-area/item-height": {
|
191
|
+
"type": "number | string",
|
192
|
+
"description": "选项高度,支持 `px` `vw` `vh` `rem` 单位,默认 `px`, 默认值: `44`"
|
193
|
+
},
|
194
|
+
"van-area/columns-num": {
|
195
|
+
"type": "number | string",
|
196
|
+
"description": "显示列数,3-省市区,2-省市,1-省, 默认值: `3`"
|
197
|
+
},
|
198
|
+
"van-area/visible-item-count": {
|
199
|
+
"type": "number | string",
|
200
|
+
"description": "可见的选项个数, 默认值: `6`"
|
201
|
+
},
|
202
|
+
"van-area/swipe-duration": {
|
203
|
+
"type": "number | string",
|
204
|
+
"description": "快速滑动时惯性滚动的时长,单位`ms`, 默认值: `1000`"
|
205
|
+
},
|
206
|
+
"van-area/is-oversea-code": {
|
207
|
+
"type": "() => boolean",
|
208
|
+
"description": "根据`code`校验海外地址,海外地址会划分至单独的分类, 默认值: -"
|
237
209
|
},
|
238
210
|
"van-button/type": {
|
239
211
|
"type": "string",
|
@@ -443,6 +415,50 @@
|
|
443
415
|
"type": "string",
|
444
416
|
"description": "选择超过最多可选天数时的提示文案, 默认值: `选择天数不能超过 xx 天`"
|
445
417
|
},
|
418
|
+
"van-address-list/v-model": {
|
419
|
+
"type": "string",
|
420
|
+
"description": "当前选中地址的 id, 默认值: -"
|
421
|
+
},
|
422
|
+
"van-address-list/list": {
|
423
|
+
"type": "Address[]",
|
424
|
+
"description": "地址列表, 默认值: `[]`"
|
425
|
+
},
|
426
|
+
"van-address-list/disabled-list": {
|
427
|
+
"type": "Address[]",
|
428
|
+
"description": "不可配送地址列表, 默认值: `[]`"
|
429
|
+
},
|
430
|
+
"van-address-list/disabled-text": {
|
431
|
+
"type": "string",
|
432
|
+
"description": "不可配送提示文案, 默认值: -"
|
433
|
+
},
|
434
|
+
"van-address-list/switchable": {
|
435
|
+
"type": "boolean",
|
436
|
+
"description": "是否允许切换地址, 默认值: `true`"
|
437
|
+
},
|
438
|
+
"van-address-list/add-button-text": {
|
439
|
+
"type": "string",
|
440
|
+
"description": "底部按钮文字, 默认值: `新增地址`"
|
441
|
+
},
|
442
|
+
"van-address-list/default-tag-text": {
|
443
|
+
"type": "string",
|
444
|
+
"description": "默认地址标签文字, 默认值: -"
|
445
|
+
},
|
446
|
+
"van-badge/content": {
|
447
|
+
"type": "number | string",
|
448
|
+
"description": "徽标内容, 默认值: -"
|
449
|
+
},
|
450
|
+
"van-badge/color": {
|
451
|
+
"type": "string",
|
452
|
+
"description": "徽标背景颜色, 默认值: `#ee0a24`"
|
453
|
+
},
|
454
|
+
"van-badge/dot": {
|
455
|
+
"type": "boolean",
|
456
|
+
"description": "是否展示为小红点, 默认值: `false`"
|
457
|
+
},
|
458
|
+
"van-badge/max": {
|
459
|
+
"type": "number | string",
|
460
|
+
"description": "最大值,超过最大值会显示 `{max}+`,仅当 content 为数字时有效, 默认值: -"
|
461
|
+
},
|
446
462
|
"van-card/thumb": {
|
447
463
|
"type": "string",
|
448
464
|
"description": "左侧图片 URL, 默认值: -"
|
@@ -487,6 +503,38 @@
|
|
487
503
|
"type": "boolean",
|
488
504
|
"description": "是否开启图片懒加载,须配合 [Lazyload](#/zh-CN/lazyload) 组件使用, 默认值: `false`"
|
489
505
|
},
|
506
|
+
"van-cascader/title": {
|
507
|
+
"type": "string",
|
508
|
+
"description": "顶部标题, 默认值: -"
|
509
|
+
},
|
510
|
+
"van-cascader/value": {
|
511
|
+
"type": "string | number",
|
512
|
+
"description": "选中项的值, 默认值: -"
|
513
|
+
},
|
514
|
+
"van-cascader/options": {
|
515
|
+
"type": "Option[]",
|
516
|
+
"description": "可选项数据源, 默认值: `[]`"
|
517
|
+
},
|
518
|
+
"van-cascader/placeholder": {
|
519
|
+
"type": "string",
|
520
|
+
"description": "未选中时的提示文案, 默认值: `请选择`"
|
521
|
+
},
|
522
|
+
"van-cascader/active-color": {
|
523
|
+
"type": "string",
|
524
|
+
"description": "选中状态的高亮颜色, 默认值: `#ee0a24`"
|
525
|
+
},
|
526
|
+
"van-cascader/closeable": {
|
527
|
+
"type": "boolean",
|
528
|
+
"description": "是否显示关闭图标, 默认值: `true`"
|
529
|
+
},
|
530
|
+
"van-cascader/show-header": {
|
531
|
+
"type": "boolean",
|
532
|
+
"description": "是否展示标题栏, 默认值: `true`"
|
533
|
+
},
|
534
|
+
"van-cascader/field-names": {
|
535
|
+
"type": "object",
|
536
|
+
"description": "自定义 `options` 结构中的字段, 默认值: `{ text: 'text', value: 'value', children: 'children' }`"
|
537
|
+
},
|
490
538
|
"van-cell-group/title": {
|
491
539
|
"type": "string",
|
492
540
|
"description": "分组标题, 默认值: `-`"
|
@@ -571,54 +619,6 @@
|
|
571
619
|
"type": "any",
|
572
620
|
"description": "描述信息额外类名, 默认值: -"
|
573
621
|
},
|
574
|
-
"van-cascader/title": {
|
575
|
-
"type": "string",
|
576
|
-
"description": "顶部标题, 默认值: -"
|
577
|
-
},
|
578
|
-
"van-cascader/value": {
|
579
|
-
"type": "string | number",
|
580
|
-
"description": "选中项的值, 默认值: -"
|
581
|
-
},
|
582
|
-
"van-cascader/options": {
|
583
|
-
"type": "Option[]",
|
584
|
-
"description": "可选项数据源, 默认值: `[]`"
|
585
|
-
},
|
586
|
-
"van-cascader/placeholder": {
|
587
|
-
"type": "string",
|
588
|
-
"description": "未选中时的提示文案, 默认值: `请选择`"
|
589
|
-
},
|
590
|
-
"van-cascader/active-color": {
|
591
|
-
"type": "string",
|
592
|
-
"description": "选中状态的高亮颜色, 默认值: `#ee0a24`"
|
593
|
-
},
|
594
|
-
"van-cascader/closeable": {
|
595
|
-
"type": "boolean",
|
596
|
-
"description": "是否显示关闭图标, 默认值: `true`"
|
597
|
-
},
|
598
|
-
"van-cascader/show-header": {
|
599
|
-
"type": "boolean",
|
600
|
-
"description": "是否展示标题栏, 默认值: `true`"
|
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": "徽标内容, 默认值: -"
|
609
|
-
},
|
610
|
-
"van-badge/color": {
|
611
|
-
"type": "string",
|
612
|
-
"description": "徽标背景颜色, 默认值: `#ee0a24`"
|
613
|
-
},
|
614
|
-
"van-badge/dot": {
|
615
|
-
"type": "boolean",
|
616
|
-
"description": "是否展示为小红点, 默认值: `false`"
|
617
|
-
},
|
618
|
-
"van-badge/max": {
|
619
|
-
"type": "number | string",
|
620
|
-
"description": "最大值,超过最大值会显示 `{max}+`,仅当 content 为数字时有效, 默认值: -"
|
621
|
-
},
|
622
622
|
"van-checkbox/v-model (value)": {
|
623
623
|
"type": "boolean",
|
624
624
|
"description": "是否为选中状态, 默认值: `false`"
|
@@ -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": "左侧标题额外类名, 默认值: -"
|
@@ -1155,18 +1159,6 @@
|
|
1155
1159
|
"type": "string | () => Element",
|
1156
1160
|
"description": "指定挂载的节点,[用法示例](#/zh-CN/popup#zhi-ding-gua-zai-wei-zhi), 默认值: -"
|
1157
1161
|
},
|
1158
|
-
"van-divider/dashed": {
|
1159
|
-
"type": "boolean",
|
1160
|
-
"description": "是否使用虚线, 默认值: `false`"
|
1161
|
-
},
|
1162
|
-
"van-divider/hairline": {
|
1163
|
-
"type": "boolean",
|
1164
|
-
"description": "是否使用 0.5px 线, 默认值: `true`"
|
1165
|
-
},
|
1166
|
-
"van-divider/content-position": {
|
1167
|
-
"type": "string",
|
1168
|
-
"description": "内容位置,可选值为`left` `right`, 默认值: `center`"
|
1169
|
-
},
|
1170
1162
|
"van-dropdown-menu/active-color": {
|
1171
1163
|
"type": "string",
|
1172
1164
|
"description": "菜单标题和选项的选中态颜色, 默认值: `#ee0a24`"
|
@@ -1223,17 +1215,17 @@
|
|
1223
1215
|
"type": "string | () => Element",
|
1224
1216
|
"description": "指定挂载的节点,[用法示例](#/zh-CN/popup#zhi-ding-gua-zai-wei-zhi), 默认值: -"
|
1225
1217
|
},
|
1226
|
-
"van-
|
1227
|
-
"type": "
|
1228
|
-
"description": "
|
1218
|
+
"van-divider/dashed": {
|
1219
|
+
"type": "boolean",
|
1220
|
+
"description": "是否使用虚线, 默认值: `false`"
|
1229
1221
|
},
|
1230
|
-
"van-
|
1231
|
-
"type": "
|
1232
|
-
"description": "
|
1222
|
+
"van-divider/hairline": {
|
1223
|
+
"type": "boolean",
|
1224
|
+
"description": "是否使用 0.5px 线, 默认值: `true`"
|
1233
1225
|
},
|
1234
|
-
"van-
|
1226
|
+
"van-divider/content-position": {
|
1235
1227
|
"type": "string",
|
1236
|
-
"description": "
|
1228
|
+
"description": "内容位置,可选值为`left` `right`, 默认值: `center`"
|
1237
1229
|
},
|
1238
1230
|
"van-field/v-model (value)": {
|
1239
1231
|
"type": "number | string",
|
@@ -1375,57 +1367,17 @@
|
|
1375
1367
|
"type": "string",
|
1376
1368
|
"description": "input 标签原生的[自动完成属性](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/autocomplete), 默认值: -"
|
1377
1369
|
},
|
1378
|
-
"van-
|
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": {
|
1370
|
+
"van-empty/image": {
|
1387
1371
|
"type": "string",
|
1388
|
-
"description": "
|
1372
|
+
"description": "图片类型,可选值为 `error` `network` `search`,支持传入图片 URL, 默认值: `default`"
|
1389
1373
|
},
|
1390
|
-
"van-
|
1391
|
-
"type": "string",
|
1392
|
-
"description": "
|
1374
|
+
"van-empty/image-size": {
|
1375
|
+
"type": "number | string",
|
1376
|
+
"description": "图片大小,默认单位为 `px`, 默认值: -"
|
1393
1377
|
},
|
1394
|
-
"van-
|
1378
|
+
"van-empty/description": {
|
1395
1379
|
"type": "string",
|
1396
|
-
"description": "
|
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`"
|
1380
|
+
"description": "图片下方的描述文字, 默认值: -"
|
1429
1381
|
},
|
1430
1382
|
"van-goods-action/safe-area-inset-bottom": {
|
1431
1383
|
"type": "boolean",
|
@@ -1507,6 +1459,58 @@
|
|
1507
1459
|
"type": "boolean",
|
1508
1460
|
"description": "是否在跳转时替换当前页面历史, 默认值: `false`"
|
1509
1461
|
},
|
1462
|
+
"van-form/label-width": {
|
1463
|
+
"type": "number | string",
|
1464
|
+
"description": "表单项 label 宽度,默认单位为`px`, 默认值: `6.2em`"
|
1465
|
+
},
|
1466
|
+
"van-form/label-align": {
|
1467
|
+
"type": "string",
|
1468
|
+
"description": "\b 表单项 label 对齐方式,可选值为 `center` `right`, 默认值: `left`"
|
1469
|
+
},
|
1470
|
+
"van-form/input-align": {
|
1471
|
+
"type": "string",
|
1472
|
+
"description": "输入框对齐方式,可选值为 `center` `right`, 默认值: `left`"
|
1473
|
+
},
|
1474
|
+
"van-form/error-message-align": {
|
1475
|
+
"type": "string",
|
1476
|
+
"description": "错误提示文案对齐方式,可选值为 `center` `right`, 默认值: `left`"
|
1477
|
+
},
|
1478
|
+
"van-form/validate-trigger": {
|
1479
|
+
"type": "string",
|
1480
|
+
"description": "表单校验触发时机,可选值为 `onChange`、`onSubmit`,详见下表, 默认值: `onBlur`"
|
1481
|
+
},
|
1482
|
+
"van-form/colon": {
|
1483
|
+
"type": "boolean",
|
1484
|
+
"description": "是否在 label 后面添加冒号, 默认值: `false`"
|
1485
|
+
},
|
1486
|
+
"van-form/disabled": {
|
1487
|
+
"type": "boolean",
|
1488
|
+
"description": "是否禁用表单中的所有输入框, 默认值: `false`"
|
1489
|
+
},
|
1490
|
+
"van-form/readonly": {
|
1491
|
+
"type": "boolean",
|
1492
|
+
"description": "是否将表单中的所有输入框设置为只读, 默认值: `false`"
|
1493
|
+
},
|
1494
|
+
"van-form/validate-first": {
|
1495
|
+
"type": "boolean",
|
1496
|
+
"description": "是否在某一项校验不通过时停止校验, 默认值: `false`"
|
1497
|
+
},
|
1498
|
+
"van-form/scroll-to-error": {
|
1499
|
+
"type": "boolean",
|
1500
|
+
"description": "是否在提交表单且校验不通过时滚动至错误的表单项, 默认值: `false`"
|
1501
|
+
},
|
1502
|
+
"van-form/show-error": {
|
1503
|
+
"type": "boolean",
|
1504
|
+
"description": "是否在校验不通过时标红输入框, 默认值: `true`"
|
1505
|
+
},
|
1506
|
+
"van-form/show-error-message": {
|
1507
|
+
"type": "boolean",
|
1508
|
+
"description": "是否在校验不通过时在输入框下方展示错误提示, 默认值: `true`"
|
1509
|
+
},
|
1510
|
+
"van-form/submit-on-enter": {
|
1511
|
+
"type": "boolean",
|
1512
|
+
"description": "是否在按下回车键时提交表单, 默认值: `true`"
|
1513
|
+
},
|
1510
1514
|
"van-grid/column-num": {
|
1511
1515
|
"type": "number | string",
|
1512
1516
|
"description": "列数, 默认值: `4`"
|
package/vetur/tags.json
CHANGED
@@ -20,23 +20,6 @@
|
|
20
20
|
"get-container"
|
21
21
|
]
|
22
22
|
},
|
23
|
-
"van-area": {
|
24
|
-
"attributes": [
|
25
|
-
"value",
|
26
|
-
"title",
|
27
|
-
"confirm-button-text",
|
28
|
-
"cancel-button-text",
|
29
|
-
"area-list",
|
30
|
-
"columns-placeholder",
|
31
|
-
"loading",
|
32
|
-
"readonly",
|
33
|
-
"item-height",
|
34
|
-
"columns-num",
|
35
|
-
"visible-item-count",
|
36
|
-
"swipe-duration",
|
37
|
-
"is-oversea-code"
|
38
|
-
]
|
39
|
-
},
|
40
23
|
"van-address-edit": {
|
41
24
|
"attributes": [
|
42
25
|
"area-list",
|
@@ -63,15 +46,21 @@
|
|
63
46
|
"validator"
|
64
47
|
]
|
65
48
|
},
|
66
|
-
"van-
|
49
|
+
"van-area": {
|
67
50
|
"attributes": [
|
68
|
-
"
|
69
|
-
"
|
70
|
-
"
|
71
|
-
"
|
72
|
-
"
|
73
|
-
"
|
74
|
-
"
|
51
|
+
"value",
|
52
|
+
"title",
|
53
|
+
"confirm-button-text",
|
54
|
+
"cancel-button-text",
|
55
|
+
"area-list",
|
56
|
+
"columns-placeholder",
|
57
|
+
"loading",
|
58
|
+
"readonly",
|
59
|
+
"item-height",
|
60
|
+
"columns-num",
|
61
|
+
"visible-item-count",
|
62
|
+
"swipe-duration",
|
63
|
+
"is-oversea-code"
|
75
64
|
]
|
76
65
|
},
|
77
66
|
"van-button": {
|
@@ -146,6 +135,25 @@
|
|
146
135
|
"range-prompt"
|
147
136
|
]
|
148
137
|
},
|
138
|
+
"van-address-list": {
|
139
|
+
"attributes": [
|
140
|
+
"v-model",
|
141
|
+
"list",
|
142
|
+
"disabled-list",
|
143
|
+
"disabled-text",
|
144
|
+
"switchable",
|
145
|
+
"add-button-text",
|
146
|
+
"default-tag-text"
|
147
|
+
]
|
148
|
+
},
|
149
|
+
"van-badge": {
|
150
|
+
"attributes": [
|
151
|
+
"content",
|
152
|
+
"color",
|
153
|
+
"dot",
|
154
|
+
"max"
|
155
|
+
]
|
156
|
+
},
|
149
157
|
"van-card": {
|
150
158
|
"attributes": [
|
151
159
|
"thumb",
|
@@ -161,6 +169,18 @@
|
|
161
169
|
"lazy-load"
|
162
170
|
]
|
163
171
|
},
|
172
|
+
"van-cascader": {
|
173
|
+
"attributes": [
|
174
|
+
"title",
|
175
|
+
"value",
|
176
|
+
"options",
|
177
|
+
"placeholder",
|
178
|
+
"active-color",
|
179
|
+
"closeable",
|
180
|
+
"show-header",
|
181
|
+
"field-names"
|
182
|
+
]
|
183
|
+
},
|
164
184
|
"van-cell-group": {
|
165
185
|
"attributes": [
|
166
186
|
"title",
|
@@ -190,26 +210,6 @@
|
|
190
210
|
"label-class"
|
191
211
|
]
|
192
212
|
},
|
193
|
-
"van-cascader": {
|
194
|
-
"attributes": [
|
195
|
-
"title",
|
196
|
-
"value",
|
197
|
-
"options",
|
198
|
-
"placeholder",
|
199
|
-
"active-color",
|
200
|
-
"closeable",
|
201
|
-
"show-header",
|
202
|
-
"field-names"
|
203
|
-
]
|
204
|
-
},
|
205
|
-
"van-badge": {
|
206
|
-
"attributes": [
|
207
|
-
"content",
|
208
|
-
"color",
|
209
|
-
"dot",
|
210
|
-
"max"
|
211
|
-
]
|
212
|
-
},
|
213
213
|
"van-checkbox": {
|
214
214
|
"attributes": [
|
215
215
|
"v-model (value)",
|
@@ -282,6 +282,7 @@
|
|
282
282
|
"border",
|
283
283
|
"is-link",
|
284
284
|
"disabled",
|
285
|
+
"lazy-render",
|
285
286
|
"title-class",
|
286
287
|
"value-class",
|
287
288
|
"label-class"
|
@@ -412,13 +413,6 @@
|
|
412
413
|
"get-container"
|
413
414
|
]
|
414
415
|
},
|
415
|
-
"van-divider": {
|
416
|
-
"attributes": [
|
417
|
-
"dashed",
|
418
|
-
"hairline",
|
419
|
-
"content-position"
|
420
|
-
]
|
421
|
-
},
|
422
416
|
"van-dropdown-menu": {
|
423
417
|
"attributes": [
|
424
418
|
"active-color",
|
@@ -441,11 +435,11 @@
|
|
441
435
|
"get-container"
|
442
436
|
]
|
443
437
|
},
|
444
|
-
"van-
|
438
|
+
"van-divider": {
|
445
439
|
"attributes": [
|
446
|
-
"
|
447
|
-
"
|
448
|
-
"
|
440
|
+
"dashed",
|
441
|
+
"hairline",
|
442
|
+
"content-position"
|
449
443
|
]
|
450
444
|
},
|
451
445
|
"van-field": {
|
@@ -487,21 +481,11 @@
|
|
487
481
|
"autocomplete"
|
488
482
|
]
|
489
483
|
},
|
490
|
-
"van-
|
484
|
+
"van-empty": {
|
491
485
|
"attributes": [
|
492
|
-
"
|
493
|
-
"
|
494
|
-
"
|
495
|
-
"error-message-align",
|
496
|
-
"validate-trigger",
|
497
|
-
"colon",
|
498
|
-
"disabled",
|
499
|
-
"readonly",
|
500
|
-
"validate-first",
|
501
|
-
"scroll-to-error",
|
502
|
-
"show-error",
|
503
|
-
"show-error-message",
|
504
|
-
"submit-on-enter"
|
486
|
+
"image",
|
487
|
+
"image-size",
|
488
|
+
"description"
|
505
489
|
]
|
506
490
|
},
|
507
491
|
"van-goods-action": {
|
@@ -536,6 +520,23 @@
|
|
536
520
|
"replace"
|
537
521
|
]
|
538
522
|
},
|
523
|
+
"van-form": {
|
524
|
+
"attributes": [
|
525
|
+
"label-width",
|
526
|
+
"label-align",
|
527
|
+
"input-align",
|
528
|
+
"error-message-align",
|
529
|
+
"validate-trigger",
|
530
|
+
"colon",
|
531
|
+
"disabled",
|
532
|
+
"readonly",
|
533
|
+
"validate-first",
|
534
|
+
"scroll-to-error",
|
535
|
+
"show-error",
|
536
|
+
"show-error-message",
|
537
|
+
"submit-on-enter"
|
538
|
+
]
|
539
|
+
},
|
539
540
|
"van-grid": {
|
540
541
|
"attributes": [
|
541
542
|
"column-num",
|