mcrm-mobile 1.9.8 → 2.0.0

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.
@@ -71,6 +71,104 @@
71
71
  "type": "string | () => Element",
72
72
  "description": "指定挂载的节点,[用法示例](#/popup#zhi-ding-gua-zai-wei-zhi), 默认值: -"
73
73
  },
74
+ "mm-biz/tab-list": {
75
+ "type": "`array`",
76
+ "description": "tab 列表, 默认值: normal-list 和 tab-list 二选一",
77
+ "options": [
78
+ "--"
79
+ ]
80
+ },
81
+ "mm-biz/normal-list": {
82
+ "type": "`array`",
83
+ "description": "菜单列表, 默认值: normal-list 和 tab-list 二选一",
84
+ "options": [
85
+ "--"
86
+ ]
87
+ },
88
+ "mm-biz/offset-top": {
89
+ "type": "`string, Nunber`",
90
+ "description": "吸顶距离, 默认值: 非必传",
91
+ "options": [
92
+ "0"
93
+ ]
94
+ },
95
+ "mm-biz/show-more": {
96
+ "type": "`boolean`",
97
+ "description": "展示更多按钮, 默认值: 非必传",
98
+ "options": [
99
+ "false"
100
+ ]
101
+ },
102
+ "mm-biz/custom-event": {
103
+ "type": "`boolean`",
104
+ "description": "自定义点击事件, 默认值: 非必传",
105
+ "options": [
106
+ "false"
107
+ ]
108
+ },
109
+ "mm-biz/disabled": {
110
+ "type": "`boolean`",
111
+ "description": "禁用点击事件, 默认值: 非必传",
112
+ "options": [
113
+ "false"
114
+ ]
115
+ },
116
+ "mm-biz/disabled-text": {
117
+ "type": "`string`",
118
+ "description": "禁用提示, 默认值: 非必传",
119
+ "options": [
120
+ "''"
121
+ ]
122
+ },
123
+ "mm-biz/gray": {
124
+ "type": "`boolean`",
125
+ "description": "是否置灰, 默认值: 非必传",
126
+ "options": [
127
+ "false"
128
+ ]
129
+ },
130
+ "mm-biz/syb-info": {
131
+ "type": "`object`",
132
+ "description": "[网格通参数](#/menu-jump#wang-ge-tong-can-shu-sybinfo), 默认值: 非必传",
133
+ "options": [
134
+ "--"
135
+ ]
136
+ },
137
+ "mm-biz/show-hot": {
138
+ "type": "`boolean`",
139
+ "description": "是否展示热门角标(需与 isHot 同时使用), 默认值: 非必传",
140
+ "options": [
141
+ "true"
142
+ ]
143
+ },
144
+ "mm-biz/row": {
145
+ "type": "`string",
146
+ "description": "一行数量, 默认值: number`",
147
+ "options": [
148
+ "非必传"
149
+ ]
150
+ },
151
+ "mm-biz/custom-event-list": {
152
+ "type": "`array`",
153
+ "description": "根据 menuPageCode 自定义点击事件, 默认值: 非必传",
154
+ "options": [
155
+ "[]"
156
+ ]
157
+ },
158
+ "mm-biz/route-list": {
159
+ "type": "`array`",
160
+ "description": "根据 menuPageCode 路由列表跳转, 默认值: 非必传",
161
+ "options": [
162
+ "[]"
163
+ ]
164
+ },
165
+ "mm-biz/hide-header-list": {
166
+ "type": "`array`",
167
+ "description": "根据 menuPageCode 隐藏原生提供的头部, 默认值: 非必传",
168
+ "options": [
169
+ "[]"
170
+ ]
171
+ },
74
172
  "mm-address-picker/landscape": {
75
173
  "type": "`boolean`",
76
174
  "description": "是否横向展示 tab, 默认值: false"
@@ -107,6 +205,66 @@
107
205
  "type": "number | string",
108
206
  "description": "最大值,超过最大值会显示 `{max}+`,仅当 content 为数字时有效, 默认值: -"
109
207
  },
208
+ "mm-button/size": {
209
+ "type": "`string`",
210
+ "description": "尺寸,可选值为 `lg` `sm`, 默认值: `md`"
211
+ },
212
+ "mm-button/tag": {
213
+ "type": "`string`",
214
+ "description": "HTML 标签, 默认值: `button`"
215
+ },
216
+ "mm-button/disabled": {
217
+ "type": "`boolean`",
218
+ "description": "是否禁用按钮, 默认值: `false`"
219
+ },
220
+ "mm-button/loading": {
221
+ "type": "`boolean`",
222
+ "description": "是否显示为加载状态, 默认值: `false`"
223
+ },
224
+ "mm-button/loading-text": {
225
+ "type": "`string`",
226
+ "description": "加载文字, 默认值: "
227
+ },
228
+ "mm-button/block": {
229
+ "type": "`boolean`",
230
+ "description": "是否为块级元素, 默认值: `false`"
231
+ },
232
+ "mm-button/radius": {
233
+ "type": "`string`",
234
+ "description": "圆角,可选值为 `mc` `sc` `fc`, 默认值: `nc`"
235
+ },
236
+ "mm-button/width": {
237
+ "type": "string | number",
238
+ "description": "宽度, 默认值: `-`"
239
+ },
240
+ "mm-button/height": {
241
+ "type": "string | number",
242
+ "description": "高度, 默认值: `-`"
243
+ },
244
+ "mm-button/long-press": {
245
+ "type": "`boolean`",
246
+ "description": "是否开启长按, 默认值: `true`"
247
+ },
248
+ "mm-button/long-press-time": {
249
+ "type": "`number`",
250
+ "description": "长按时间, 默认值: `1000`"
251
+ },
252
+ "mm-button/color": {
253
+ "type": "`string`",
254
+ "description": "按钮字体颜色, 默认值: `-`"
255
+ },
256
+ "mm-button/background": {
257
+ "type": "`string`",
258
+ "description": "按钮背景颜色, 默认值: `@gray-4`"
259
+ },
260
+ "mm-button/icon": {
261
+ "type": "`string`",
262
+ "description": "[图标名称](#/icon)或图片链接, 默认值: `-`"
263
+ },
264
+ "mm-button/icon-position": {
265
+ "type": "`string`",
266
+ "description": "图标展示位置,可选值为 `right`, 默认值: `left`"
267
+ },
110
268
  "mm-card/shadow": {
111
269
  "type": "string",
112
270
  "description": "设置阴影显示时机, 默认值: `always / active / never`",
@@ -324,164 +482,6 @@
324
482
  "-"
325
483
  ]
326
484
  },
327
- "mm-biz/tab-list": {
328
- "type": "`array`",
329
- "description": "tab 列表, 默认值: normal-list 和 tab-list 二选一",
330
- "options": [
331
- "--"
332
- ]
333
- },
334
- "mm-biz/normal-list": {
335
- "type": "`array`",
336
- "description": "菜单列表, 默认值: normal-list 和 tab-list 二选一",
337
- "options": [
338
- "--"
339
- ]
340
- },
341
- "mm-biz/offset-top": {
342
- "type": "`string, Nunber`",
343
- "description": "吸顶距离, 默认值: 非必传",
344
- "options": [
345
- "0"
346
- ]
347
- },
348
- "mm-biz/show-more": {
349
- "type": "`boolean`",
350
- "description": "展示更多按钮, 默认值: 非必传",
351
- "options": [
352
- "false"
353
- ]
354
- },
355
- "mm-biz/custom-event": {
356
- "type": "`boolean`",
357
- "description": "自定义点击事件, 默认值: 非必传",
358
- "options": [
359
- "false"
360
- ]
361
- },
362
- "mm-biz/disabled": {
363
- "type": "`boolean`",
364
- "description": "禁用点击事件, 默认值: 非必传",
365
- "options": [
366
- "false"
367
- ]
368
- },
369
- "mm-biz/disabled-text": {
370
- "type": "`string`",
371
- "description": "禁用提示, 默认值: 非必传",
372
- "options": [
373
- "''"
374
- ]
375
- },
376
- "mm-biz/gray": {
377
- "type": "`boolean`",
378
- "description": "是否置灰, 默认值: 非必传",
379
- "options": [
380
- "false"
381
- ]
382
- },
383
- "mm-biz/syb-info": {
384
- "type": "`object`",
385
- "description": "[网格通参数](#/menu-jump#wang-ge-tong-can-shu-sybinfo), 默认值: 非必传",
386
- "options": [
387
- "--"
388
- ]
389
- },
390
- "mm-biz/show-hot": {
391
- "type": "`boolean`",
392
- "description": "是否展示热门角标(需与 isHot 同时使用), 默认值: 非必传",
393
- "options": [
394
- "true"
395
- ]
396
- },
397
- "mm-biz/row": {
398
- "type": "`string",
399
- "description": "一行数量, 默认值: number`",
400
- "options": [
401
- "非必传"
402
- ]
403
- },
404
- "mm-biz/custom-event-list": {
405
- "type": "`array`",
406
- "description": "根据 menuPageCode 自定义点击事件, 默认值: 非必传",
407
- "options": [
408
- "[]"
409
- ]
410
- },
411
- "mm-biz/route-list": {
412
- "type": "`array`",
413
- "description": "根据 menuPageCode 路由列表跳转, 默认值: 非必传",
414
- "options": [
415
- "[]"
416
- ]
417
- },
418
- "mm-biz/hide-header-list": {
419
- "type": "`array`",
420
- "description": "根据 menuPageCode 隐藏原生提供的头部, 默认值: 非必传",
421
- "options": [
422
- "[]"
423
- ]
424
- },
425
- "mm-button/size": {
426
- "type": "`string`",
427
- "description": "尺寸,可选值为 `lg` `sm`, 默认值: `md`"
428
- },
429
- "mm-button/tag": {
430
- "type": "`string`",
431
- "description": "HTML 标签, 默认值: `button`"
432
- },
433
- "mm-button/disabled": {
434
- "type": "`boolean`",
435
- "description": "是否禁用按钮, 默认值: `false`"
436
- },
437
- "mm-button/loading": {
438
- "type": "`boolean`",
439
- "description": "是否显示为加载状态, 默认值: `false`"
440
- },
441
- "mm-button/loading-text": {
442
- "type": "`string`",
443
- "description": "加载文字, 默认值: "
444
- },
445
- "mm-button/block": {
446
- "type": "`boolean`",
447
- "description": "是否为块级元素, 默认值: `false`"
448
- },
449
- "mm-button/radius": {
450
- "type": "`string`",
451
- "description": "圆角,可选值为 `mc` `sc` `fc`, 默认值: `nc`"
452
- },
453
- "mm-button/width": {
454
- "type": "string | number",
455
- "description": "宽度, 默认值: `-`"
456
- },
457
- "mm-button/height": {
458
- "type": "string | number",
459
- "description": "高度, 默认值: `-`"
460
- },
461
- "mm-button/long-press": {
462
- "type": "`boolean`",
463
- "description": "是否开启长按, 默认值: `true`"
464
- },
465
- "mm-button/long-press-time": {
466
- "type": "`number`",
467
- "description": "长按时间, 默认值: `1000`"
468
- },
469
- "mm-button/color": {
470
- "type": "`string`",
471
- "description": "按钮字体颜色, 默认值: `-`"
472
- },
473
- "mm-button/background": {
474
- "type": "`string`",
475
- "description": "按钮背景颜色, 默认值: `@gray-4`"
476
- },
477
- "mm-button/icon": {
478
- "type": "`string`",
479
- "description": "[图标名称](#/icon)或图片链接, 默认值: `-`"
480
- },
481
- "mm-button/icon-position": {
482
- "type": "`string`",
483
- "description": "图标展示位置,可选值为 `right`, 默认值: `left`"
484
- },
485
485
  "mm-calendar/type": {
486
486
  "type": "string",
487
487
  "description": "选择类型:<br>`single`表示选择单个日期,<br>`multiple`表示选择多个日期,<br>`range`表示选择日期区间, 默认值: `single`"
@@ -643,116 +643,27 @@
643
643
  },
644
644
  "mm-checkbox-group/v-model (value)": {
645
645
  "type": "any[]",
646
- "description": "所有选中项的标识符, 默认值: -"
647
- },
648
- "mm-checkbox-group/disabled": {
649
- "type": "boolean",
650
- "description": "是否禁用所有复选框, 默认值: `false`"
651
- },
652
- "mm-checkbox-group/max": {
653
- "type": "number | string",
654
- "description": "最大可选数,`0`为无限制, 默认值: `0`"
655
- },
656
- "mm-checkbox-group/direction": {
657
- "type": "string",
658
- "description": "排列方向,可选值为`horizontal`, 默认值: `vertical`"
659
- },
660
- "mm-checkbox-group/icon-size": {
661
- "type": "number | string",
662
- "description": "所有复选框的图标大小,默认单位为`px`, 默认值: `20px`"
663
- },
664
- "mm-checkbox-group/checked-color": {
665
- "type": "string",
666
- "description": "所有复选框的选中状态颜色, 默认值: `#1989fa`"
667
- },
668
- "mm-row/type": {
669
- "type": "`string`",
670
- "description": "布局方式,可选值为`flex`, 默认值: -"
671
- },
672
- "mm-row/gutter": {
673
- "type": "`string",
674
- "description": "列元素之间的间距(单位为 px), 默认值: number`",
675
- "options": [
676
- "-"
677
- ]
678
- },
679
- "mm-row/tag": {
680
- "type": "`string`",
681
- "description": "自定义元素标签, 默认值: `div`"
682
- },
683
- "mm-row/justify": {
684
- "type": "`string`",
685
- "description": "Flex 主轴对齐方式,可选值为 `end` `center` <br> `space-around` `space-between`, 默认值: `start`"
686
- },
687
- "mm-row/align": {
688
- "type": "`string`",
689
- "description": "Flex 交叉轴对齐方式,可选值为 `center` `bottom`, 默认值: `top`"
690
- },
691
- "mm-col/span": {
692
- "type": "`string",
693
- "description": "列元素宽度, 默认值: number`",
694
- "options": [
695
- "-"
696
- ]
697
- },
698
- "mm-col/offset": {
699
- "type": "`string",
700
- "description": "列元素偏移距离, 默认值: number`",
701
- "options": [
702
- "-"
703
- ]
704
- },
705
- "mm-col/tag": {
706
- "type": "`string`",
707
- "description": "自定义元素标签, 默认值: `div`"
708
- },
709
- "mm-circle/v-model": {
710
- "type": "number",
711
- "description": "当前进度, 默认值: -"
712
- },
713
- "mm-circle/rate": {
714
- "type": "number | string",
715
- "description": "目标进度, 默认值: `100`"
716
- },
717
- "mm-circle/size": {
718
- "type": "number | string",
719
- "description": "圆环直径,默认单位为 `px`, 默认值: `100px`"
720
- },
721
- "mm-circle/color": {
722
- "type": "string | object",
723
- "description": "进度条颜色,传入对象格式可以定义渐变色, 默认值: `#1989fa`"
724
- },
725
- "mm-circle/layer-color": {
726
- "type": "string",
727
- "description": "轨道颜色, 默认值: `white`"
728
- },
729
- "mm-circle/fill": {
730
- "type": "string",
731
- "description": "填充颜色, 默认值: `none`"
646
+ "description": "所有选中项的标识符, 默认值: -"
732
647
  },
733
- "mm-circle/speed": {
648
+ "mm-checkbox-group/disabled": {
649
+ "type": "boolean",
650
+ "description": "是否禁用所有复选框, 默认值: `false`"
651
+ },
652
+ "mm-checkbox-group/max": {
734
653
  "type": "number | string",
735
- "description": "动画速度(单位为 rate/s), 默认值: `0`"
654
+ "description": "最大可选数,`0`为无限制, 默认值: `0`"
736
655
  },
737
- "mm-circle/text": {
656
+ "mm-checkbox-group/direction": {
738
657
  "type": "string",
739
- "description": "文字, 默认值: -"
658
+ "description": "排列方向,可选值为`horizontal`, 默认值: `vertical`"
740
659
  },
741
- "mm-circle/stroke-width": {
660
+ "mm-checkbox-group/icon-size": {
742
661
  "type": "number | string",
743
- "description": "进度条宽度, 默认值: `40`"
662
+ "description": "所有复选框的图标大小,默认单位为`px`, 默认值: `20px`"
744
663
  },
745
- "mm-circle/stroke-linecap": {
664
+ "mm-checkbox-group/checked-color": {
746
665
  "type": "string",
747
- "description": "进度条端点的形状,可选值为`sqaure` `butt`, 默认值: `round`"
748
- },
749
- "mm-circle/clockwise": {
750
- "type": "boolean",
751
- "description": "是否顺时针增加, 默认值: `true`"
752
- },
753
- "mm-circle/total": {
754
- "type": "number | string",
755
- "description": "进度条总数, 默认值: `100`"
666
+ "description": "所有复选框的选中状态颜色, 默认值: `#1989fa`"
756
667
  },
757
668
  "mm-collapse/v-model": {
758
669
  "type": "`array",
@@ -853,6 +764,95 @@
853
764
  "-"
854
765
  ]
855
766
  },
767
+ "mm-row/type": {
768
+ "type": "`string`",
769
+ "description": "布局方式,可选值为`flex`, 默认值: -"
770
+ },
771
+ "mm-row/gutter": {
772
+ "type": "`string",
773
+ "description": "列元素之间的间距(单位为 px), 默认值: number`",
774
+ "options": [
775
+ "-"
776
+ ]
777
+ },
778
+ "mm-row/tag": {
779
+ "type": "`string`",
780
+ "description": "自定义元素标签, 默认值: `div`"
781
+ },
782
+ "mm-row/justify": {
783
+ "type": "`string`",
784
+ "description": "Flex 主轴对齐方式,可选值为 `end` `center` <br> `space-around` `space-between`, 默认值: `start`"
785
+ },
786
+ "mm-row/align": {
787
+ "type": "`string`",
788
+ "description": "Flex 交叉轴对齐方式,可选值为 `center` `bottom`, 默认值: `top`"
789
+ },
790
+ "mm-col/span": {
791
+ "type": "`string",
792
+ "description": "列元素宽度, 默认值: number`",
793
+ "options": [
794
+ "-"
795
+ ]
796
+ },
797
+ "mm-col/offset": {
798
+ "type": "`string",
799
+ "description": "列元素偏移距离, 默认值: number`",
800
+ "options": [
801
+ "-"
802
+ ]
803
+ },
804
+ "mm-col/tag": {
805
+ "type": "`string`",
806
+ "description": "自定义元素标签, 默认值: `div`"
807
+ },
808
+ "mm-circle/v-model": {
809
+ "type": "number",
810
+ "description": "当前进度, 默认值: -"
811
+ },
812
+ "mm-circle/rate": {
813
+ "type": "number | string",
814
+ "description": "目标进度, 默认值: `100`"
815
+ },
816
+ "mm-circle/size": {
817
+ "type": "number | string",
818
+ "description": "圆环直径,默认单位为 `px`, 默认值: `100px`"
819
+ },
820
+ "mm-circle/color": {
821
+ "type": "string | object",
822
+ "description": "进度条颜色,传入对象格式可以定义渐变色, 默认值: `#1989fa`"
823
+ },
824
+ "mm-circle/layer-color": {
825
+ "type": "string",
826
+ "description": "轨道颜色, 默认值: `white`"
827
+ },
828
+ "mm-circle/fill": {
829
+ "type": "string",
830
+ "description": "填充颜色, 默认值: `none`"
831
+ },
832
+ "mm-circle/speed": {
833
+ "type": "number | string",
834
+ "description": "动画速度(单位为 rate/s), 默认值: `0`"
835
+ },
836
+ "mm-circle/text": {
837
+ "type": "string",
838
+ "description": "文字, 默认值: -"
839
+ },
840
+ "mm-circle/stroke-width": {
841
+ "type": "number | string",
842
+ "description": "进度条宽度, 默认值: `40`"
843
+ },
844
+ "mm-circle/stroke-linecap": {
845
+ "type": "string",
846
+ "description": "进度条端点的形状,可选值为`sqaure` `butt`, 默认值: `round`"
847
+ },
848
+ "mm-circle/clockwise": {
849
+ "type": "boolean",
850
+ "description": "是否顺时针增加, 默认值: `true`"
851
+ },
852
+ "mm-circle/total": {
853
+ "type": "number | string",
854
+ "description": "进度条总数, 默认值: `100`"
855
+ },
856
856
  "mm-count-down/time": {
857
857
  "type": "number | string",
858
858
  "description": "倒计时时长,单位毫秒, 默认值: `0`"
@@ -1372,6 +1372,38 @@
1372
1372
  "type": "boolean",
1373
1373
  "description": "是否在跳转时替换当前页面历史, 默认值: `false`"
1374
1374
  },
1375
+ "mm-icon/name": {
1376
+ "type": "string",
1377
+ "description": "图标名称或图片链接, 默认值: -"
1378
+ },
1379
+ "mm-icon/dot": {
1380
+ "type": "boolean",
1381
+ "description": "是否显示图标右上角小红点, 默认值: `false`"
1382
+ },
1383
+ "mm-icon/badge": {
1384
+ "type": "number | string",
1385
+ "description": "图标右上角徽标的内容, 默认值: -"
1386
+ },
1387
+ "mm-icon/info": {
1388
+ "type": "number | string",
1389
+ "description": "图标右上角徽标的内容(已废弃,请使用 badge 属性), 默认值: -"
1390
+ },
1391
+ "mm-icon/color": {
1392
+ "type": "string",
1393
+ "description": "图标颜色, 默认值: `inherit`"
1394
+ },
1395
+ "mm-icon/size": {
1396
+ "type": "number | string",
1397
+ "description": "图标大小,如 `20px` `2em`,默认单位为`px`, 默认值: `inherit`"
1398
+ },
1399
+ "mm-icon/class-prefix": {
1400
+ "type": "string",
1401
+ "description": "类名前缀,用于使用自定义图标, 默认值: `mm-icon`"
1402
+ },
1403
+ "mm-icon/tag": {
1404
+ "type": "string",
1405
+ "description": "HTML 标签, 默认值: `i`"
1406
+ },
1375
1407
  "mm-grid/column-num": {
1376
1408
  "type": "number | string",
1377
1409
  "description": "列数, 默认值: `4`"
@@ -1436,37 +1468,53 @@
1436
1468
  "type": "boolean",
1437
1469
  "description": "是否在跳转时替换当前页面历史, 默认值: `false`"
1438
1470
  },
1439
- "mm-icon/name": {
1471
+ "mm-image/src": {
1440
1472
  "type": "string",
1441
- "description": "图标名称或图片链接, 默认值: -"
1473
+ "description": "图片链接, 默认值: -"
1442
1474
  },
1443
- "mm-icon/dot": {
1444
- "type": "boolean",
1445
- "description": "是否显示图标右上角小红点, 默认值: `false`"
1475
+ "mm-image/fit": {
1476
+ "type": "string",
1477
+ "description": "图片填充模式, 默认值: `fill`"
1446
1478
  },
1447
- "mm-icon/badge": {
1448
- "type": "number | string",
1449
- "description": "图标右上角徽标的内容, 默认值: -"
1479
+ "mm-image/alt": {
1480
+ "type": "string",
1481
+ "description": "替代文本, 默认值: -"
1450
1482
  },
1451
- "mm-icon/info": {
1483
+ "mm-image/width": {
1452
1484
  "type": "number | string",
1453
- "description": "图标右上角徽标的内容(已废弃,请使用 badge 属性), 默认值: -"
1485
+ "description": "宽度,默认单位为`px`, 默认值: -"
1454
1486
  },
1455
- "mm-icon/color": {
1456
- "type": "string",
1457
- "description": "图标颜色, 默认值: `inherit`"
1487
+ "mm-image/height": {
1488
+ "type": "number | string",
1489
+ "description": "高度,默认单位为`px`, 默认值: -"
1458
1490
  },
1459
- "mm-icon/size": {
1491
+ "mm-image/radius": {
1460
1492
  "type": "number | string",
1461
- "description": "图标大小,如 `20px` `2em`,默认单位为`px`, 默认值: `inherit`"
1493
+ "description": "圆角大小,默认单位为`px`, 默认值: `0`"
1462
1494
  },
1463
- "mm-icon/class-prefix": {
1495
+ "mm-image/round": {
1496
+ "type": "boolean",
1497
+ "description": "是否显示为圆形, 默认值: `false`"
1498
+ },
1499
+ "mm-image/lazy-load": {
1500
+ "type": "boolean",
1501
+ "description": "是否开启图片懒加载,须配合 [LazyLoad](#/lazy-load) 组件使用, 默认值: `false`"
1502
+ },
1503
+ "mm-image/show-error": {
1504
+ "type": "boolean",
1505
+ "description": "是否展示图片加载失败提示, 默认值: `true`"
1506
+ },
1507
+ "mm-image/show-loading": {
1508
+ "type": "boolean",
1509
+ "description": "是否展示图片加载中提示, 默认值: `true`"
1510
+ },
1511
+ "mm-image/error-icon": {
1464
1512
  "type": "string",
1465
- "description": "类名前缀,用于使用自定义图标, 默认值: `mm-icon`"
1513
+ "description": "失败时提示的[图标名称](#/icon)或图片链接, 默认值: `file-excel`"
1466
1514
  },
1467
- "mm-icon/tag": {
1515
+ "mm-image/loading-icon": {
1468
1516
  "type": "string",
1469
- "description": "HTML 标签, 默认值: `i`"
1517
+ "description": "加载时提示的[图标名称](#/icon)或图片链接, 默认值: `image`"
1470
1518
  },
1471
1519
  "mm-image-preview/images": {
1472
1520
  "type": "string[]",
@@ -1504,77 +1552,29 @@
1504
1552
  "type": "any",
1505
1553
  "description": "自定义类名, 默认值: -"
1506
1554
  },
1507
- "mm-image-preview/max-zoom": {
1508
- "type": "number | string",
1509
- "description": "手势缩放时,最大缩放比例, 默认值: `3`"
1510
- },
1511
- "mm-image-preview/min-zoom": {
1512
- "type": "number | string",
1513
- "description": "手势缩放时,最小缩放比例, 默认值: `1/3`"
1514
- },
1515
- "mm-image-preview/closeable": {
1516
- "type": "boolean",
1517
- "description": "是否显示关闭图标, 默认值: `false`"
1518
- },
1519
- "mm-image-preview/close-icon": {
1520
- "type": "string",
1521
- "description": "关闭图标名称或图片链接, 默认值: `clear`"
1522
- },
1523
- "mm-image-preview/close-icon-position": {
1524
- "type": "string",
1525
- "description": "关闭图标位置,可选值为`top-left`<br>`bottom-left` `bottom-right`, 默认值: `top-right`"
1526
- },
1527
- "mm-image-preview/get-container": {
1528
- "type": "string | () => Element",
1529
- "description": "指定挂载的节点,[用法示例](#/zh-CN/popup#zhi-ding-gua-zai-wei-zhi), 默认值: -"
1530
- },
1531
- "mm-image/src": {
1532
- "type": "string",
1533
- "description": "图片链接, 默认值: -"
1534
- },
1535
- "mm-image/fit": {
1536
- "type": "string",
1537
- "description": "图片填充模式, 默认值: `fill`"
1538
- },
1539
- "mm-image/alt": {
1540
- "type": "string",
1541
- "description": "替代文本, 默认值: -"
1542
- },
1543
- "mm-image/width": {
1544
- "type": "number | string",
1545
- "description": "宽度,默认单位为`px`, 默认值: -"
1546
- },
1547
- "mm-image/height": {
1548
- "type": "number | string",
1549
- "description": "高度,默认单位为`px`, 默认值: -"
1550
- },
1551
- "mm-image/radius": {
1552
- "type": "number | string",
1553
- "description": "圆角大小,默认单位为`px`, 默认值: `0`"
1554
- },
1555
- "mm-image/round": {
1556
- "type": "boolean",
1557
- "description": "是否显示为圆形, 默认值: `false`"
1558
- },
1559
- "mm-image/lazy-load": {
1560
- "type": "boolean",
1561
- "description": "是否开启图片懒加载,须配合 [LazyLoad](#/lazy-load) 组件使用, 默认值: `false`"
1555
+ "mm-image-preview/max-zoom": {
1556
+ "type": "number | string",
1557
+ "description": "手势缩放时,最大缩放比例, 默认值: `3`"
1562
1558
  },
1563
- "mm-image/show-error": {
1564
- "type": "boolean",
1565
- "description": "是否展示图片加载失败提示, 默认值: `true`"
1559
+ "mm-image-preview/min-zoom": {
1560
+ "type": "number | string",
1561
+ "description": "手势缩放时,最小缩放比例, 默认值: `1/3`"
1566
1562
  },
1567
- "mm-image/show-loading": {
1563
+ "mm-image-preview/closeable": {
1568
1564
  "type": "boolean",
1569
- "description": "是否展示图片加载中提示, 默认值: `true`"
1565
+ "description": "是否显示关闭图标, 默认值: `false`"
1570
1566
  },
1571
- "mm-image/error-icon": {
1567
+ "mm-image-preview/close-icon": {
1572
1568
  "type": "string",
1573
- "description": "失败时提示的[图标名称](#/icon)或图片链接, 默认值: `file-excel`"
1569
+ "description": "关闭图标名称或图片链接, 默认值: `clear`"
1574
1570
  },
1575
- "mm-image/loading-icon": {
1571
+ "mm-image-preview/close-icon-position": {
1576
1572
  "type": "string",
1577
- "description": "加载时提示的[图标名称](#/icon)或图片链接, 默认值: `image`"
1573
+ "description": "关闭图标位置,可选值为`top-left`<br>`bottom-left` `bottom-right`, 默认值: `top-right`"
1574
+ },
1575
+ "mm-image-preview/get-container": {
1576
+ "type": "string | () => Element",
1577
+ "description": "指定挂载的节点,[用法示例](#/zh-CN/popup#zhi-ding-gua-zai-wei-zhi), 默认值: -"
1578
1578
  },
1579
1579
  "mm-index-bar/index-list": {
1580
1580
  "type": "string[] | number[]",
@@ -1947,6 +1947,30 @@
1947
1947
  "type": "boolean",
1948
1948
  "description": "是否开启文本换行,只在禁用滚动时生效, 默认值: `false`"
1949
1949
  },
1950
+ "mm-overlay/show": {
1951
+ "type": "boolean",
1952
+ "description": "是否展示遮罩层, 默认值: `false`"
1953
+ },
1954
+ "mm-overlay/z-index": {
1955
+ "type": "number | string",
1956
+ "description": "z-index 层级, 默认值: `1`"
1957
+ },
1958
+ "mm-overlay/duration": {
1959
+ "type": "number | string",
1960
+ "description": "动画时长,单位秒, 默认值: `0.3`"
1961
+ },
1962
+ "mm-overlay/class-name": {
1963
+ "type": "string",
1964
+ "description": "自定义类名, 默认值: -"
1965
+ },
1966
+ "mm-overlay/custom-style": {
1967
+ "type": "object",
1968
+ "description": "自定义样式, 默认值: -"
1969
+ },
1970
+ "mm-overlay/lock-scroll": {
1971
+ "type": "boolean",
1972
+ "description": "是否锁定背景滚动,锁定时蒙层里的内容也将无法滚动, 默认值: `true`"
1973
+ },
1950
1974
  "mm-pagination/v-model": {
1951
1975
  "type": "number",
1952
1976
  "description": "当前页码, 默认值: -"
@@ -1983,30 +2007,6 @@
1983
2007
  "type": "boolean",
1984
2008
  "description": "是否显示省略号, 默认值: `false`"
1985
2009
  },
1986
- "mm-overlay/show": {
1987
- "type": "boolean",
1988
- "description": "是否展示遮罩层, 默认值: `false`"
1989
- },
1990
- "mm-overlay/z-index": {
1991
- "type": "number | string",
1992
- "description": "z-index 层级, 默认值: `1`"
1993
- },
1994
- "mm-overlay/duration": {
1995
- "type": "number | string",
1996
- "description": "动画时长,单位秒, 默认值: `0.3`"
1997
- },
1998
- "mm-overlay/class-name": {
1999
- "type": "string",
2000
- "description": "自定义类名, 默认值: -"
2001
- },
2002
- "mm-overlay/custom-style": {
2003
- "type": "object",
2004
- "description": "自定义样式, 默认值: -"
2005
- },
2006
- "mm-overlay/lock-scroll": {
2007
- "type": "boolean",
2008
- "description": "是否锁定背景滚动,锁定时蒙层里的内容也将无法滚动, 默认值: `true`"
2009
- },
2010
2010
  "mm-panel/title": {
2011
2011
  "type": "`string`",
2012
2012
  "description": "标题, 默认值: -",
@@ -2063,58 +2063,6 @@
2063
2063
  "type": "boolean",
2064
2064
  "description": "是否已聚焦,聚焦时会显示光标, 默认值: `false`"
2065
2065
  },
2066
- "mm-popover/v-model": {
2067
- "type": "boolean",
2068
- "description": "是否展示气泡弹出层, 默认值: `false`"
2069
- },
2070
- "mm-popover/actions": {
2071
- "type": "Action[]",
2072
- "description": "选项列表, 默认值: `[]`"
2073
- },
2074
- "mm-popover/placement": {
2075
- "type": "string",
2076
- "description": "弹出位置, 默认值: `bottom`"
2077
- },
2078
- "mm-popover/theme": {
2079
- "type": "string",
2080
- "description": "主题风格,可选值为 `dark`、`dark-cr`, 默认值: `light`"
2081
- },
2082
- "mm-popover/bg": {
2083
- "type": "string",
2084
- "description": "背景, 默认值: `-`"
2085
- },
2086
- "mm-popover/color": {
2087
- "type": "string",
2088
- "description": "字体颜色, 默认值: `-`"
2089
- },
2090
- "mm-popover/trigger": {
2091
- "type": "-",
2092
- "description": "触发方式,可选值为 `click`, 默认值: undefined"
2093
- },
2094
- "mm-popover/offset": {
2095
- "type": "[number, number]",
2096
- "description": "出现位置的偏移量, 默认值: `[]`"
2097
- },
2098
- "mm-popover/arrow-offset": {
2099
- "type": "[number, number, number, number]",
2100
- "description": "角标出现位置的偏移量(上右下左), 默认值: `[]`"
2101
- },
2102
- "mm-popover/overlay": {
2103
- "type": "boolean",
2104
- "description": "是否显示遮罩层, 默认值: `false`"
2105
- },
2106
- "mm-popover/close-on-click-action": {
2107
- "type": "boolean",
2108
- "description": "是否在点击选项后关闭, 默认值: `true`"
2109
- },
2110
- "mm-popover/close-on-click-outside": {
2111
- "type": "boolean",
2112
- "description": "是否在点击外部元素后关闭菜单, 默认值: `true`"
2113
- },
2114
- "mm-popover/get-container": {
2115
- "type": "string | () => Element",
2116
- "description": "指定挂载的节点,[用法示例](#/popup#zhi-ding-gua-zai-wei-zhi), 默认值: `body`"
2117
- },
2118
2066
  "mm-picker/columns": {
2119
2067
  "type": "`array`",
2120
2068
  "description": "对象数组,配置每一列显示的数据, 默认值: `[]`",
@@ -2178,6 +2126,58 @@
2178
2126
  "-"
2179
2127
  ]
2180
2128
  },
2129
+ "mm-popover/v-model": {
2130
+ "type": "boolean",
2131
+ "description": "是否展示气泡弹出层, 默认值: `false`"
2132
+ },
2133
+ "mm-popover/actions": {
2134
+ "type": "Action[]",
2135
+ "description": "选项列表, 默认值: `[]`"
2136
+ },
2137
+ "mm-popover/placement": {
2138
+ "type": "string",
2139
+ "description": "弹出位置, 默认值: `bottom`"
2140
+ },
2141
+ "mm-popover/theme": {
2142
+ "type": "string",
2143
+ "description": "主题风格,可选值为 `dark`、`dark-cr`, 默认值: `light`"
2144
+ },
2145
+ "mm-popover/bg": {
2146
+ "type": "string",
2147
+ "description": "背景, 默认值: `-`"
2148
+ },
2149
+ "mm-popover/color": {
2150
+ "type": "string",
2151
+ "description": "字体颜色, 默认值: `-`"
2152
+ },
2153
+ "mm-popover/trigger": {
2154
+ "type": "-",
2155
+ "description": "触发方式,可选值为 `click`, 默认值: undefined"
2156
+ },
2157
+ "mm-popover/offset": {
2158
+ "type": "[number, number]",
2159
+ "description": "出现位置的偏移量, 默认值: `[]`"
2160
+ },
2161
+ "mm-popover/arrow-offset": {
2162
+ "type": "[number, number, number, number]",
2163
+ "description": "角标出现位置的偏移量(上右下左), 默认值: `[]`"
2164
+ },
2165
+ "mm-popover/overlay": {
2166
+ "type": "boolean",
2167
+ "description": "是否显示遮罩层, 默认值: `false`"
2168
+ },
2169
+ "mm-popover/close-on-click-action": {
2170
+ "type": "boolean",
2171
+ "description": "是否在点击选项后关闭, 默认值: `true`"
2172
+ },
2173
+ "mm-popover/close-on-click-outside": {
2174
+ "type": "boolean",
2175
+ "description": "是否在点击外部元素后关闭菜单, 默认值: `true`"
2176
+ },
2177
+ "mm-popover/get-container": {
2178
+ "type": "string | () => Element",
2179
+ "description": "指定挂载的节点,[用法示例](#/popup#zhi-ding-gua-zai-wei-zhi), 默认值: `body`"
2180
+ },
2181
2181
  "mm-popup/v-model": {
2182
2182
  "type": "`boolean`",
2183
2183
  "description": "当前组件是否显示, 默认值: `false`",
@@ -2395,6 +2395,42 @@
2395
2395
  "type": "string",
2396
2396
  "description": "所有单选框的选中状态颜色, 默认值: `#1989fa`"
2397
2397
  },
2398
+ "mm-rank/total": {
2399
+ "type": "number | string",
2400
+ "description": "轨道总长度, 默认值: `指标最大值`"
2401
+ },
2402
+ "mm-rank/rank": {
2403
+ "type": "number | string",
2404
+ "description": "当前排名, 默认值: `0`"
2405
+ },
2406
+ "mm-rank/track-width": {
2407
+ "type": "number | string",
2408
+ "description": "轨道粗细,默认单位为`px`, 默认值: `4px`"
2409
+ },
2410
+ "mm-rank/kpi-width": {
2411
+ "type": "number | string",
2412
+ "description": "指标粗细,默认单位为`px`, 默认值: `4px`"
2413
+ },
2414
+ "mm-rank/color": {
2415
+ "type": "string",
2416
+ "description": "轨道颜色, 默认值: `#eeeeee`"
2417
+ },
2418
+ "mm-rank/icon-color": {
2419
+ "type": "string",
2420
+ "description": "图标颜色, 默认值: `#0095FD`"
2421
+ },
2422
+ "mm-rank/options": {
2423
+ "type": "option[]",
2424
+ "description": "指标列表, 默认值: `[]`"
2425
+ },
2426
+ "mm-rank/personal-list": {
2427
+ "type": "personal[]",
2428
+ "description": "个人数据展示列表, 默认值: `[]`"
2429
+ },
2430
+ "mm-rank/personal-title": {
2431
+ "type": "string",
2432
+ "description": "个人数据展示标题, 默认值: `我的情况`"
2433
+ },
2398
2434
  "mm-rate/v-model": {
2399
2435
  "type": "number",
2400
2436
  "description": "当前分值, 默认值: -"
@@ -2435,57 +2471,21 @@
2435
2471
  "type": "string",
2436
2472
  "description": "图标类名前缀,同 Icon 组件的 [class-prefix 属性](#/icon#props), 默认值: `mm-icon`"
2437
2473
  },
2438
- "mm-rate/allow-half": {
2439
- "type": "boolean",
2440
- "description": "是否允许半选, 默认值: `false`"
2441
- },
2442
- "mm-rate/readonly": {
2443
- "type": "boolean",
2444
- "description": "是否为只读状态 \b, 默认值: `false`"
2445
- },
2446
- "mm-rate/disabled": {
2447
- "type": "boolean",
2448
- "description": "是否禁用评分, 默认值: `false`"
2449
- },
2450
- "mm-rate/touchable": {
2451
- "type": "boolean",
2452
- "description": "是否可以通过滑动手势选择评分, 默认值: `true`"
2453
- },
2454
- "mm-rank/total": {
2455
- "type": "number | string",
2456
- "description": "轨道总长度, 默认值: `指标最大值`"
2457
- },
2458
- "mm-rank/rank": {
2459
- "type": "number | string",
2460
- "description": "当前排名, 默认值: `0`"
2461
- },
2462
- "mm-rank/track-width": {
2463
- "type": "number | string",
2464
- "description": "轨道粗细,默认单位为`px`, 默认值: `4px`"
2465
- },
2466
- "mm-rank/kpi-width": {
2467
- "type": "number | string",
2468
- "description": "指标粗细,默认单位为`px`, 默认值: `4px`"
2469
- },
2470
- "mm-rank/color": {
2471
- "type": "string",
2472
- "description": "轨道颜色, 默认值: `#eeeeee`"
2473
- },
2474
- "mm-rank/icon-color": {
2475
- "type": "string",
2476
- "description": "图标颜色, 默认值: `#0095FD`"
2477
- },
2478
- "mm-rank/options": {
2479
- "type": "option[]",
2480
- "description": "指标列表, 默认值: `[]`"
2474
+ "mm-rate/allow-half": {
2475
+ "type": "boolean",
2476
+ "description": "是否允许半选, 默认值: `false`"
2481
2477
  },
2482
- "mm-rank/personal-list": {
2483
- "type": "personal[]",
2484
- "description": "个人数据展示列表, 默认值: `[]`"
2478
+ "mm-rate/readonly": {
2479
+ "type": "boolean",
2480
+ "description": "是否为只读状态 \b, 默认值: `false`"
2485
2481
  },
2486
- "mm-rank/personal-title": {
2487
- "type": "string",
2488
- "description": "个人数据展示标题, 默认值: `我的情况`"
2482
+ "mm-rate/disabled": {
2483
+ "type": "boolean",
2484
+ "description": "是否禁用评分, 默认值: `false`"
2485
+ },
2486
+ "mm-rate/touchable": {
2487
+ "type": "boolean",
2488
+ "description": "是否可以通过滑动手势选择评分, 默认值: `true`"
2489
2489
  },
2490
2490
  "mm-safe-keyboard/v-model (value)": {
2491
2491
  "type": "string",
@@ -2810,18 +2810,6 @@
2810
2810
  "type": "boolean",
2811
2811
  "description": "是否允许输入的值为空, 默认值: `false`"
2812
2812
  },
2813
- "mm-sticky/offset-top": {
2814
- "type": "number | string",
2815
- "description": "吸顶时与顶部的距离,支持 `px` `vw` `rem` 单位,默认 `px`, 默认值: `0`"
2816
- },
2817
- "mm-sticky/z-index": {
2818
- "type": "number | string",
2819
- "description": "吸顶时的 z-index, 默认值: `99`"
2820
- },
2821
- "mm-sticky/container": {
2822
- "type": "Element",
2823
- "description": "容器对应的 HTML 节点, 默认值: -"
2824
- },
2825
2813
  "mm-steps/active": {
2826
2814
  "type": "number | string",
2827
2815
  "description": "当前步骤, 默认值: `0`"
@@ -2846,6 +2834,18 @@
2846
2834
  "type": "string",
2847
2835
  "description": "未激活状态底部图标,可选值见 [Icon 组件](#/icon), 默认值: -"
2848
2836
  },
2837
+ "mm-sticky/offset-top": {
2838
+ "type": "number | string",
2839
+ "description": "吸顶时与顶部的距离,支持 `px` `vw` `rem` 单位,默认 `px`, 默认值: `0`"
2840
+ },
2841
+ "mm-sticky/z-index": {
2842
+ "type": "number | string",
2843
+ "description": "吸顶时的 z-index, 默认值: `99`"
2844
+ },
2845
+ "mm-sticky/container": {
2846
+ "type": "Element",
2847
+ "description": "容器对应的 HTML 节点, 默认值: -"
2848
+ },
2849
2849
  "mm-swipe/autoplay": {
2850
2850
  "type": "number | string",
2851
2851
  "description": "自动轮播间隔,单位为 ms, 默认值: -"
@@ -3003,111 +3003,6 @@
3003
3003
  "-"
3004
3004
  ]
3005
3005
  },
3006
- "mm-tabbar/v-model": {
3007
- "type": "string | number",
3008
- "description": "当前选中标签的名称或索引值, 默认值: `0`",
3009
- "options": [
3010
- "-"
3011
- ]
3012
- },
3013
- "mm-tabbar/fixed": {
3014
- "type": "boolean",
3015
- "description": "是否固定在底部, 默认值: `true`",
3016
- "options": [
3017
- "-"
3018
- ]
3019
- },
3020
- "mm-tabbar/border": {
3021
- "type": "boolean",
3022
- "description": "是否显示外边框, 默认值: `true`",
3023
- "options": [
3024
- "-"
3025
- ]
3026
- },
3027
- "mm-tabbar/z-index": {
3028
- "type": "number",
3029
- "description": "元素 z-index, 默认值: `1`",
3030
- "options": [
3031
- "-"
3032
- ]
3033
- },
3034
- "mm-tabbar/active-color": {
3035
- "type": "string",
3036
- "description": "选中标签的颜色, 默认值: `#1989fa`",
3037
- "options": [
3038
- "-"
3039
- ]
3040
- },
3041
- "mm-tabbar/inactive-color": {
3042
- "type": "string",
3043
- "description": "未选中标签的颜色, 默认值: `#7d7e80`",
3044
- "options": [
3045
- "-"
3046
- ]
3047
- },
3048
- "mm-tabbar/route": {
3049
- "type": "boolean",
3050
- "description": "是否开启路由模式, 默认值: `false`",
3051
- "options": [
3052
- "-"
3053
- ]
3054
- },
3055
- "mm-tabbar/safe-area-inset-bottom": {
3056
- "type": "boolean",
3057
- "description": "是否开启底部安全区适配, 默认值: `false`",
3058
- "options": [
3059
- "-"
3060
- ]
3061
- },
3062
- "mm-tabbar/placeholder": {
3063
- "type": "boolean",
3064
- "description": "固定在底部时,是否在标签位置生成一个等高的占位元素, 默认值: `false`",
3065
- "options": [
3066
- "-"
3067
- ]
3068
- },
3069
- "mm-tabbar-item/icon": {
3070
- "type": "`string`",
3071
- "description": "图标名称或图片链接,可选值见 Icon 组件, 默认值: -",
3072
- "options": [
3073
- "-"
3074
- ]
3075
- },
3076
- "mm-tabbar-item/dot": {
3077
- "type": "`boolean`",
3078
- "description": "是否显示小红点, 默认值: -",
3079
- "options": [
3080
- "-"
3081
- ]
3082
- },
3083
- "mm-tabbar-item/info": {
3084
- "type": "`string",
3085
- "description": "图标右上角提示信息, 默认值: number`",
3086
- "options": [
3087
- "-"
3088
- ]
3089
- },
3090
- "mm-tabbar-item/url": {
3091
- "type": "`string`",
3092
- "description": "跳转链接, 默认值: -",
3093
- "options": [
3094
- "-"
3095
- ]
3096
- },
3097
- "mm-tabbar-item/to": {
3098
- "type": "`string",
3099
- "description": "路由跳转对象,同 `vue-router` 的 to, 默认值: object`",
3100
- "options": [
3101
- "-"
3102
- ]
3103
- },
3104
- "mm-tabbar-item/replace": {
3105
- "type": "`string`",
3106
- "description": "跳转时是否替换当前页面历史, 默认值: `false`",
3107
- "options": [
3108
- "-"
3109
- ]
3110
- },
3111
3006
  "mm-tabs/v-model": {
3112
3007
  "type": "number | string",
3113
3008
  "description": "绑定当前选中标签的标识符, 默认值: `0`"
@@ -3252,6 +3147,111 @@
3252
3147
  "type": "string",
3253
3148
  "description": "徽标字体色, 默认值: `#0095fd`"
3254
3149
  },
3150
+ "mm-tabbar/v-model": {
3151
+ "type": "string | number",
3152
+ "description": "当前选中标签的名称或索引值, 默认值: `0`",
3153
+ "options": [
3154
+ "-"
3155
+ ]
3156
+ },
3157
+ "mm-tabbar/fixed": {
3158
+ "type": "boolean",
3159
+ "description": "是否固定在底部, 默认值: `true`",
3160
+ "options": [
3161
+ "-"
3162
+ ]
3163
+ },
3164
+ "mm-tabbar/border": {
3165
+ "type": "boolean",
3166
+ "description": "是否显示外边框, 默认值: `true`",
3167
+ "options": [
3168
+ "-"
3169
+ ]
3170
+ },
3171
+ "mm-tabbar/z-index": {
3172
+ "type": "number",
3173
+ "description": "元素 z-index, 默认值: `1`",
3174
+ "options": [
3175
+ "-"
3176
+ ]
3177
+ },
3178
+ "mm-tabbar/active-color": {
3179
+ "type": "string",
3180
+ "description": "选中标签的颜色, 默认值: `#1989fa`",
3181
+ "options": [
3182
+ "-"
3183
+ ]
3184
+ },
3185
+ "mm-tabbar/inactive-color": {
3186
+ "type": "string",
3187
+ "description": "未选中标签的颜色, 默认值: `#7d7e80`",
3188
+ "options": [
3189
+ "-"
3190
+ ]
3191
+ },
3192
+ "mm-tabbar/route": {
3193
+ "type": "boolean",
3194
+ "description": "是否开启路由模式, 默认值: `false`",
3195
+ "options": [
3196
+ "-"
3197
+ ]
3198
+ },
3199
+ "mm-tabbar/safe-area-inset-bottom": {
3200
+ "type": "boolean",
3201
+ "description": "是否开启底部安全区适配, 默认值: `false`",
3202
+ "options": [
3203
+ "-"
3204
+ ]
3205
+ },
3206
+ "mm-tabbar/placeholder": {
3207
+ "type": "boolean",
3208
+ "description": "固定在底部时,是否在标签位置生成一个等高的占位元素, 默认值: `false`",
3209
+ "options": [
3210
+ "-"
3211
+ ]
3212
+ },
3213
+ "mm-tabbar-item/icon": {
3214
+ "type": "`string`",
3215
+ "description": "图标名称或图片链接,可选值见 Icon 组件, 默认值: -",
3216
+ "options": [
3217
+ "-"
3218
+ ]
3219
+ },
3220
+ "mm-tabbar-item/dot": {
3221
+ "type": "`boolean`",
3222
+ "description": "是否显示小红点, 默认值: -",
3223
+ "options": [
3224
+ "-"
3225
+ ]
3226
+ },
3227
+ "mm-tabbar-item/info": {
3228
+ "type": "`string",
3229
+ "description": "图标右上角提示信息, 默认值: number`",
3230
+ "options": [
3231
+ "-"
3232
+ ]
3233
+ },
3234
+ "mm-tabbar-item/url": {
3235
+ "type": "`string`",
3236
+ "description": "跳转链接, 默认值: -",
3237
+ "options": [
3238
+ "-"
3239
+ ]
3240
+ },
3241
+ "mm-tabbar-item/to": {
3242
+ "type": "`string",
3243
+ "description": "路由跳转对象,同 `vue-router` 的 to, 默认值: object`",
3244
+ "options": [
3245
+ "-"
3246
+ ]
3247
+ },
3248
+ "mm-tabbar-item/replace": {
3249
+ "type": "`string`",
3250
+ "description": "跳转时是否替换当前页面历史, 默认值: `false`",
3251
+ "options": [
3252
+ "-"
3253
+ ]
3254
+ },
3255
3255
  "mm-table/data": {
3256
3256
  "type": "array",
3257
3257
  "description": "显示的数据, 默认值: `-`",