mcrm-mobile 2.0.0 → 2.0.1
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/biz/index.js +19 -4
- package/es/index.js +1 -1
- package/es/menus/index.js +110 -6
- package/es/mixins/menus.js +5 -0
- package/lib/biz/index.js +19 -4
- package/lib/index.js +1 -1
- package/lib/mcrm-mobile.js +10167 -10043
- package/lib/mcrm-mobile.min.js +11 -11
- package/lib/menus/index.js +110 -5
- package/lib/mixins/menus.js +5 -0
- package/package.json +1 -1
- package/vetur/attributes.json +467 -460
- package/vetur/tags.json +133 -132
- package/vetur/web-types.json +1062 -1050
package/vetur/attributes.json
CHANGED
|
@@ -71,104 +71,6 @@
|
|
|
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
|
-
},
|
|
172
74
|
"mm-address-picker/landscape": {
|
|
173
75
|
"type": "`boolean`",
|
|
174
76
|
"description": "是否横向展示 tab, 默认值: false"
|
|
@@ -205,6 +107,129 @@
|
|
|
205
107
|
"type": "number | string",
|
|
206
108
|
"description": "最大值,超过最大值会显示 `{max}+`,仅当 content 为数字时有效, 默认值: -"
|
|
207
109
|
},
|
|
110
|
+
"mm-calendar/type": {
|
|
111
|
+
"type": "string",
|
|
112
|
+
"description": "选择类型:<br>`single`表示选择单个日期,<br>`multiple`表示选择多个日期,<br>`range`表示选择日期区间, 默认值: `single`"
|
|
113
|
+
},
|
|
114
|
+
"mm-calendar/title": {
|
|
115
|
+
"type": "string",
|
|
116
|
+
"description": "日历标题, 默认值: `日期选择`"
|
|
117
|
+
},
|
|
118
|
+
"mm-calendar/color": {
|
|
119
|
+
"type": "string",
|
|
120
|
+
"description": "主题色,对底部按钮和选中日期生效, 默认值: `#0095FD`"
|
|
121
|
+
},
|
|
122
|
+
"mm-calendar/min-date": {
|
|
123
|
+
"type": "Date",
|
|
124
|
+
"description": "可选择的最小日期, 默认值: 当前日期"
|
|
125
|
+
},
|
|
126
|
+
"mm-calendar/max-date": {
|
|
127
|
+
"type": "Date",
|
|
128
|
+
"description": "可选择的最大日期, 默认值: 当前日期的六个月后"
|
|
129
|
+
},
|
|
130
|
+
"mm-calendar/default-date": {
|
|
131
|
+
"type": "Date | Date[] \\",
|
|
132
|
+
"description": "默认选中的日期,`type` 为 `multiple` 或 `range` 时为数组,传入 `null` 表示默认不选择, 默认值: null_",
|
|
133
|
+
"options": [
|
|
134
|
+
"今天"
|
|
135
|
+
]
|
|
136
|
+
},
|
|
137
|
+
"mm-calendar/row-height": {
|
|
138
|
+
"type": "number | string",
|
|
139
|
+
"description": "日期行高, 默认值: `64`"
|
|
140
|
+
},
|
|
141
|
+
"mm-calendar/formatter": {
|
|
142
|
+
"type": "(day: Day) => Day",
|
|
143
|
+
"description": "日期格式化函数, 默认值: -"
|
|
144
|
+
},
|
|
145
|
+
"mm-calendar/poppable": {
|
|
146
|
+
"type": "boolean",
|
|
147
|
+
"description": "是否以弹层的形式展示日历, 默认值: `true`"
|
|
148
|
+
},
|
|
149
|
+
"mm-calendar/lazy-render": {
|
|
150
|
+
"type": "boolean",
|
|
151
|
+
"description": "是否只渲染可视区域的内容, 默认值: `true`"
|
|
152
|
+
},
|
|
153
|
+
"mm-calendar/show-mark": {
|
|
154
|
+
"type": "boolean",
|
|
155
|
+
"description": "是否显示月份背景水印, 默认值: `true`"
|
|
156
|
+
},
|
|
157
|
+
"mm-calendar/show-title": {
|
|
158
|
+
"type": "boolean",
|
|
159
|
+
"description": "是否展示日历标题, 默认值: `true`"
|
|
160
|
+
},
|
|
161
|
+
"mm-calendar/show-subtitle": {
|
|
162
|
+
"type": "boolean",
|
|
163
|
+
"description": "是否展示日历副标题(年月), 默认值: `true`"
|
|
164
|
+
},
|
|
165
|
+
"mm-calendar/show-confirm": {
|
|
166
|
+
"type": "boolean",
|
|
167
|
+
"description": "是否展示确认按钮, 默认值: `true`"
|
|
168
|
+
},
|
|
169
|
+
"mm-calendar/readonly": {
|
|
170
|
+
"type": "boolean",
|
|
171
|
+
"description": "是否为只读状态,只读状态下不能选择日期, 默认值: `false`"
|
|
172
|
+
},
|
|
173
|
+
"mm-calendar/confirm-text": {
|
|
174
|
+
"type": "string",
|
|
175
|
+
"description": "确认按钮的文字, 默认值: `确定`"
|
|
176
|
+
},
|
|
177
|
+
"mm-calendar/confirm-disabled-text": {
|
|
178
|
+
"type": "string",
|
|
179
|
+
"description": "确认按钮处于禁用状态时的文字, 默认值: `确定`"
|
|
180
|
+
},
|
|
181
|
+
"mm-calendar/first-day-of-week": {
|
|
182
|
+
"type": "0-6",
|
|
183
|
+
"description": "设置周起始日, 默认值: `0`"
|
|
184
|
+
},
|
|
185
|
+
"mm-poppable/v-model": {
|
|
186
|
+
"type": "boolean",
|
|
187
|
+
"description": "是否显示日历弹窗, 默认值: `false`"
|
|
188
|
+
},
|
|
189
|
+
"mm-poppable/position": {
|
|
190
|
+
"type": "string",
|
|
191
|
+
"description": "弹出位置,可选值为 `top` `right` `left`, 默认值: `bottom`"
|
|
192
|
+
},
|
|
193
|
+
"mm-poppable/round": {
|
|
194
|
+
"type": "boolean",
|
|
195
|
+
"description": "是否显示圆角弹窗, 默认值: `true`"
|
|
196
|
+
},
|
|
197
|
+
"mm-poppable/close-on-popstate": {
|
|
198
|
+
"type": "boolean",
|
|
199
|
+
"description": "是否在页面回退时自动关闭, 默认值: `true`"
|
|
200
|
+
},
|
|
201
|
+
"mm-poppable/close-on-click-overlay": {
|
|
202
|
+
"type": "boolean",
|
|
203
|
+
"description": "是否在点击遮罩层后关闭, 默认值: `true`"
|
|
204
|
+
},
|
|
205
|
+
"mm-poppable/safe-area-inset-bottom": {
|
|
206
|
+
"type": "boolean",
|
|
207
|
+
"description": "是否开启[底部安全区适配](#/quickstart#di-bu-an-quan-qu-gua-pei), 默认值: `true`"
|
|
208
|
+
},
|
|
209
|
+
"mm-poppable/get-container": {
|
|
210
|
+
"type": "string | () => Element",
|
|
211
|
+
"description": "指定挂载的节点,[用法示例](#/popup#zhi-ding-gua-zai-wei-zhi), 默认值: -"
|
|
212
|
+
},
|
|
213
|
+
"mm-range/max-range": {
|
|
214
|
+
"type": "number | string",
|
|
215
|
+
"description": "日期区间最多可选天数, 默认值: 无限制"
|
|
216
|
+
},
|
|
217
|
+
"mm-range/range-prompt": {
|
|
218
|
+
"type": "string",
|
|
219
|
+
"description": "范围选择超过最多可选天数时的提示文案, 默认值: `选择天数不能超过 xx 天`"
|
|
220
|
+
},
|
|
221
|
+
"mm-range/allow-same-day": {
|
|
222
|
+
"type": "boolean",
|
|
223
|
+
"description": "是否允许日期范围的起止时间为同一天, 默认值: `fasle`"
|
|
224
|
+
},
|
|
225
|
+
"mm-multiple/max-range": {
|
|
226
|
+
"type": "number | string",
|
|
227
|
+
"description": "日期最多可选天数, 默认值: 无限制"
|
|
228
|
+
},
|
|
229
|
+
"mm-multiple/range-prompt": {
|
|
230
|
+
"type": "string",
|
|
231
|
+
"description": "选择超过最多可选天数时的提示文案, 默认值: `选择天数不能超过 xx 天`"
|
|
232
|
+
},
|
|
208
233
|
"mm-button/size": {
|
|
209
234
|
"type": "`string`",
|
|
210
235
|
"description": "尺寸,可选值为 `lg` `sm`, 默认值: `md`"
|
|
@@ -265,76 +290,104 @@
|
|
|
265
290
|
"type": "`string`",
|
|
266
291
|
"description": "图标展示位置,可选值为 `right`, 默认值: `left`"
|
|
267
292
|
},
|
|
268
|
-
"mm-
|
|
269
|
-
"type": "
|
|
270
|
-
"description": "
|
|
293
|
+
"mm-biz/tab-list": {
|
|
294
|
+
"type": "`array`",
|
|
295
|
+
"description": "tab 列表, 默认值: normal-list 和 tab-list 二选一",
|
|
271
296
|
"options": [
|
|
272
|
-
"
|
|
297
|
+
"--"
|
|
273
298
|
]
|
|
274
299
|
},
|
|
275
|
-
"mm-
|
|
276
|
-
"type": "
|
|
277
|
-
"description": "
|
|
300
|
+
"mm-biz/normal-list": {
|
|
301
|
+
"type": "`array`",
|
|
302
|
+
"description": "菜单列表, 默认值: normal-list 和 tab-list 二选一",
|
|
278
303
|
"options": [
|
|
279
|
-
"
|
|
304
|
+
"--"
|
|
280
305
|
]
|
|
281
306
|
},
|
|
282
|
-
"mm-
|
|
283
|
-
"type": "string
|
|
284
|
-
"description": "
|
|
307
|
+
"mm-biz/offset-top": {
|
|
308
|
+
"type": "`string, Nunber`",
|
|
309
|
+
"description": "吸顶距离, 默认值: 非必传",
|
|
285
310
|
"options": [
|
|
286
|
-
"
|
|
311
|
+
"0"
|
|
287
312
|
]
|
|
288
313
|
},
|
|
289
|
-
"mm-
|
|
290
|
-
"type": "
|
|
291
|
-
"description": "
|
|
314
|
+
"mm-biz/show-more": {
|
|
315
|
+
"type": "`boolean`",
|
|
316
|
+
"description": "展示更多按钮, 默认值: 非必传",
|
|
292
317
|
"options": [
|
|
293
|
-
"
|
|
318
|
+
"false"
|
|
294
319
|
]
|
|
295
320
|
},
|
|
296
|
-
"mm-
|
|
297
|
-
"type": "
|
|
298
|
-
"description": "
|
|
321
|
+
"mm-biz/custom-event": {
|
|
322
|
+
"type": "`boolean`",
|
|
323
|
+
"description": "自定义点击事件, 默认值: 非必传",
|
|
299
324
|
"options": [
|
|
300
|
-
"
|
|
325
|
+
"false"
|
|
301
326
|
]
|
|
302
327
|
},
|
|
303
|
-
"mm-
|
|
304
|
-
"type": "
|
|
305
|
-
"description": "
|
|
328
|
+
"mm-biz/disabled": {
|
|
329
|
+
"type": "`boolean`",
|
|
330
|
+
"description": "禁用点击事件, 默认值: 非必传",
|
|
306
331
|
"options": [
|
|
307
|
-
"
|
|
332
|
+
"false"
|
|
308
333
|
]
|
|
309
334
|
},
|
|
310
|
-
"mm-
|
|
311
|
-
"type": "string",
|
|
312
|
-
"description": "
|
|
335
|
+
"mm-biz/disabled-text": {
|
|
336
|
+
"type": "`string`",
|
|
337
|
+
"description": "禁用提示, 默认值: 非必传",
|
|
313
338
|
"options": [
|
|
314
|
-
"
|
|
339
|
+
"''"
|
|
315
340
|
]
|
|
316
341
|
},
|
|
317
|
-
"mm-
|
|
318
|
-
"type": "boolean",
|
|
319
|
-
"description": "
|
|
342
|
+
"mm-biz/gray": {
|
|
343
|
+
"type": "`boolean`",
|
|
344
|
+
"description": "是否置灰, 默认值: 非必传",
|
|
320
345
|
"options": [
|
|
321
|
-
"
|
|
346
|
+
"false"
|
|
322
347
|
]
|
|
323
348
|
},
|
|
324
|
-
"mm-
|
|
325
|
-
"type": "
|
|
326
|
-
"description": "
|
|
349
|
+
"mm-biz/syb-info": {
|
|
350
|
+
"type": "`object`",
|
|
351
|
+
"description": "[网格通参数](#/menu-jump#wang-ge-tong-can-shu-sybinfo), 默认值: 非必传",
|
|
327
352
|
"options": [
|
|
328
|
-
"
|
|
353
|
+
"--"
|
|
329
354
|
]
|
|
330
355
|
},
|
|
331
|
-
"mm-
|
|
332
|
-
"type": "boolean",
|
|
333
|
-
"description": "
|
|
356
|
+
"mm-biz/show-hot": {
|
|
357
|
+
"type": "`boolean`",
|
|
358
|
+
"description": "是否展示热门角标(需与 isHot 同时使用), 默认值: 非必传",
|
|
334
359
|
"options": [
|
|
335
360
|
"true"
|
|
336
361
|
]
|
|
337
362
|
},
|
|
363
|
+
"mm-biz/row": {
|
|
364
|
+
"type": "`string",
|
|
365
|
+
"description": "一行数量, 默认值: number`",
|
|
366
|
+
"options": [
|
|
367
|
+
"非必传"
|
|
368
|
+
]
|
|
369
|
+
},
|
|
370
|
+
"mm-biz/custom-event-list": {
|
|
371
|
+
"type": "`array`",
|
|
372
|
+
"description": "根据 menuPageCode 自定义点击事件, 默认值: 非必传",
|
|
373
|
+
"options": [
|
|
374
|
+
"[]"
|
|
375
|
+
]
|
|
376
|
+
},
|
|
377
|
+
"mm-biz/route-list": {
|
|
378
|
+
"type": "`array`",
|
|
379
|
+
"description": "根据 menuPageCode 路由列表跳转, 默认值: 非必传",
|
|
380
|
+
"options": [
|
|
381
|
+
"[]"
|
|
382
|
+
]
|
|
383
|
+
},
|
|
384
|
+
"mm-biz/hide-header-list": {
|
|
385
|
+
"type": "`array`",
|
|
386
|
+
"description": "根据 menuPageCode 隐藏原生提供的头部, 默认值: 非必传",
|
|
387
|
+
"options": [
|
|
388
|
+
"[]"
|
|
389
|
+
]
|
|
390
|
+
},
|
|
338
391
|
"mm-cell-group/border": {
|
|
339
392
|
"type": "`boolean`",
|
|
340
393
|
"description": "是否显示外边框, 默认值: `true`",
|
|
@@ -482,128 +535,75 @@
|
|
|
482
535
|
"-"
|
|
483
536
|
]
|
|
484
537
|
},
|
|
485
|
-
"mm-
|
|
486
|
-
"type": "string",
|
|
487
|
-
"description": "选择类型:<br>`single`表示选择单个日期,<br>`multiple`表示选择多个日期,<br>`range`表示选择日期区间, 默认值: `single`"
|
|
488
|
-
},
|
|
489
|
-
"mm-calendar/title": {
|
|
490
|
-
"type": "string",
|
|
491
|
-
"description": "日历标题, 默认值: `日期选择`"
|
|
492
|
-
},
|
|
493
|
-
"mm-calendar/color": {
|
|
538
|
+
"mm-card/shadow": {
|
|
494
539
|
"type": "string",
|
|
495
|
-
"description": "
|
|
496
|
-
},
|
|
497
|
-
"mm-calendar/min-date": {
|
|
498
|
-
"type": "Date",
|
|
499
|
-
"description": "可选择的最小日期, 默认值: 当前日期"
|
|
500
|
-
},
|
|
501
|
-
"mm-calendar/max-date": {
|
|
502
|
-
"type": "Date",
|
|
503
|
-
"description": "可选择的最大日期, 默认值: 当前日期的六个月后"
|
|
504
|
-
},
|
|
505
|
-
"mm-calendar/default-date": {
|
|
506
|
-
"type": "Date | Date[] \\",
|
|
507
|
-
"description": "默认选中的日期,`type` 为 `multiple` 或 `range` 时为数组,传入 `null` 表示默认不选择, 默认值: null_",
|
|
540
|
+
"description": "设置阴影显示时机, 默认值: `always / active / never`",
|
|
508
541
|
"options": [
|
|
509
|
-
"
|
|
542
|
+
"always"
|
|
510
543
|
]
|
|
511
544
|
},
|
|
512
|
-
"mm-
|
|
513
|
-
"type": "
|
|
514
|
-
"description": "
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
"description": "日期格式化函数, 默认值: -"
|
|
519
|
-
},
|
|
520
|
-
"mm-calendar/poppable": {
|
|
521
|
-
"type": "boolean",
|
|
522
|
-
"description": "是否以弹层的形式展示日历, 默认值: `true`"
|
|
523
|
-
},
|
|
524
|
-
"mm-calendar/lazy-render": {
|
|
525
|
-
"type": "boolean",
|
|
526
|
-
"description": "是否只渲染可视区域的内容, 默认值: `true`"
|
|
527
|
-
},
|
|
528
|
-
"mm-calendar/show-mark": {
|
|
529
|
-
"type": "boolean",
|
|
530
|
-
"description": "是否显示月份背景水印, 默认值: `true`"
|
|
531
|
-
},
|
|
532
|
-
"mm-calendar/show-title": {
|
|
533
|
-
"type": "boolean",
|
|
534
|
-
"description": "是否展示日历标题, 默认值: `true`"
|
|
535
|
-
},
|
|
536
|
-
"mm-calendar/show-subtitle": {
|
|
537
|
-
"type": "boolean",
|
|
538
|
-
"description": "是否展示日历副标题(年月), 默认值: `true`"
|
|
539
|
-
},
|
|
540
|
-
"mm-calendar/show-confirm": {
|
|
541
|
-
"type": "boolean",
|
|
542
|
-
"description": "是否展示确认按钮, 默认值: `true`"
|
|
543
|
-
},
|
|
544
|
-
"mm-calendar/readonly": {
|
|
545
|
-
"type": "boolean",
|
|
546
|
-
"description": "是否为只读状态,只读状态下不能选择日期, 默认值: `false`"
|
|
547
|
-
},
|
|
548
|
-
"mm-calendar/confirm-text": {
|
|
549
|
-
"type": "string",
|
|
550
|
-
"description": "确认按钮的文字, 默认值: `确定`"
|
|
551
|
-
},
|
|
552
|
-
"mm-calendar/confirm-disabled-text": {
|
|
553
|
-
"type": "string",
|
|
554
|
-
"description": "确认按钮处于禁用状态时的文字, 默认值: `确定`"
|
|
555
|
-
},
|
|
556
|
-
"mm-calendar/first-day-of-week": {
|
|
557
|
-
"type": "0-6",
|
|
558
|
-
"description": "设置周起始日, 默认值: `0`"
|
|
559
|
-
},
|
|
560
|
-
"mm-poppable/v-model": {
|
|
561
|
-
"type": "boolean",
|
|
562
|
-
"description": "是否显示日历弹窗, 默认值: `false`"
|
|
563
|
-
},
|
|
564
|
-
"mm-poppable/position": {
|
|
565
|
-
"type": "string",
|
|
566
|
-
"description": "弹出位置,可选值为 `top` `right` `left`, 默认值: `bottom`"
|
|
567
|
-
},
|
|
568
|
-
"mm-poppable/round": {
|
|
569
|
-
"type": "boolean",
|
|
570
|
-
"description": "是否显示圆角弹窗, 默认值: `true`"
|
|
571
|
-
},
|
|
572
|
-
"mm-poppable/close-on-popstate": {
|
|
573
|
-
"type": "boolean",
|
|
574
|
-
"description": "是否在页面回退时自动关闭, 默认值: `true`"
|
|
545
|
+
"mm-card/icon": {
|
|
546
|
+
"type": "string",
|
|
547
|
+
"description": "头部右侧按钮图标名称([icon](#/icon)), 默认值: `-`",
|
|
548
|
+
"options": [
|
|
549
|
+
"chevron-right"
|
|
550
|
+
]
|
|
575
551
|
},
|
|
576
|
-
"mm-
|
|
577
|
-
"type": "
|
|
578
|
-
"description": "
|
|
552
|
+
"mm-card/radius": {
|
|
553
|
+
"type": "string|number",
|
|
554
|
+
"description": "卡片圆角值, 默认值: `-`",
|
|
555
|
+
"options": [
|
|
556
|
+
"8"
|
|
557
|
+
]
|
|
579
558
|
},
|
|
580
|
-
"mm-
|
|
581
|
-
"type": "
|
|
582
|
-
"description": "
|
|
559
|
+
"mm-card/title": {
|
|
560
|
+
"type": "string",
|
|
561
|
+
"description": "卡片名称, 默认值: `-`",
|
|
562
|
+
"options": [
|
|
563
|
+
"-"
|
|
564
|
+
]
|
|
583
565
|
},
|
|
584
|
-
"mm-
|
|
585
|
-
"type": "string
|
|
586
|
-
"description": "
|
|
566
|
+
"mm-card/background": {
|
|
567
|
+
"type": "string",
|
|
568
|
+
"description": "卡片背景颜色, 默认值: `-`",
|
|
569
|
+
"options": [
|
|
570
|
+
"-"
|
|
571
|
+
]
|
|
587
572
|
},
|
|
588
|
-
"mm-
|
|
589
|
-
"type": "
|
|
590
|
-
"description": "
|
|
573
|
+
"mm-card/color": {
|
|
574
|
+
"type": "string",
|
|
575
|
+
"description": "卡片字体颜色, 默认值: `-`",
|
|
576
|
+
"options": [
|
|
577
|
+
"-"
|
|
578
|
+
]
|
|
591
579
|
},
|
|
592
|
-
"mm-
|
|
580
|
+
"mm-card/box-shadow": {
|
|
593
581
|
"type": "string",
|
|
594
|
-
"description": "
|
|
582
|
+
"description": "卡片盒子阴影, 默认值: `-`",
|
|
583
|
+
"options": [
|
|
584
|
+
"-"
|
|
585
|
+
]
|
|
595
586
|
},
|
|
596
|
-
"mm-
|
|
587
|
+
"mm-card/is-margin": {
|
|
597
588
|
"type": "boolean",
|
|
598
|
-
"description": "
|
|
589
|
+
"description": "卡片外边距, 默认值: `-`",
|
|
590
|
+
"options": [
|
|
591
|
+
"true"
|
|
592
|
+
]
|
|
599
593
|
},
|
|
600
|
-
"mm-
|
|
601
|
-
"type": "
|
|
602
|
-
"description": "
|
|
594
|
+
"mm-card/is-padding": {
|
|
595
|
+
"type": "boolean",
|
|
596
|
+
"description": "卡片内边距, 默认值: `-`",
|
|
597
|
+
"options": [
|
|
598
|
+
"true"
|
|
599
|
+
]
|
|
603
600
|
},
|
|
604
|
-
"mm-
|
|
605
|
-
"type": "
|
|
606
|
-
"description": "
|
|
601
|
+
"mm-card/is-link": {
|
|
602
|
+
"type": "boolean",
|
|
603
|
+
"description": "是否展示右侧箭头并开启点击反馈, 默认值: `-`",
|
|
604
|
+
"options": [
|
|
605
|
+
"true"
|
|
606
|
+
]
|
|
607
607
|
},
|
|
608
608
|
"mm-checkbox/v-model (value)": {
|
|
609
609
|
"type": "boolean",
|
|
@@ -665,6 +665,54 @@
|
|
|
665
665
|
"type": "string",
|
|
666
666
|
"description": "所有复选框的选中状态颜色, 默认值: `#1989fa`"
|
|
667
667
|
},
|
|
668
|
+
"mm-circle/v-model": {
|
|
669
|
+
"type": "number",
|
|
670
|
+
"description": "当前进度, 默认值: -"
|
|
671
|
+
},
|
|
672
|
+
"mm-circle/rate": {
|
|
673
|
+
"type": "number | string",
|
|
674
|
+
"description": "目标进度, 默认值: `100`"
|
|
675
|
+
},
|
|
676
|
+
"mm-circle/size": {
|
|
677
|
+
"type": "number | string",
|
|
678
|
+
"description": "圆环直径,默认单位为 `px`, 默认值: `100px`"
|
|
679
|
+
},
|
|
680
|
+
"mm-circle/color": {
|
|
681
|
+
"type": "string | object",
|
|
682
|
+
"description": "进度条颜色,传入对象格式可以定义渐变色, 默认值: `#1989fa`"
|
|
683
|
+
},
|
|
684
|
+
"mm-circle/layer-color": {
|
|
685
|
+
"type": "string",
|
|
686
|
+
"description": "轨道颜色, 默认值: `white`"
|
|
687
|
+
},
|
|
688
|
+
"mm-circle/fill": {
|
|
689
|
+
"type": "string",
|
|
690
|
+
"description": "填充颜色, 默认值: `none`"
|
|
691
|
+
},
|
|
692
|
+
"mm-circle/speed": {
|
|
693
|
+
"type": "number | string",
|
|
694
|
+
"description": "动画速度(单位为 rate/s), 默认值: `0`"
|
|
695
|
+
},
|
|
696
|
+
"mm-circle/text": {
|
|
697
|
+
"type": "string",
|
|
698
|
+
"description": "文字, 默认值: -"
|
|
699
|
+
},
|
|
700
|
+
"mm-circle/stroke-width": {
|
|
701
|
+
"type": "number | string",
|
|
702
|
+
"description": "进度条宽度, 默认值: `40`"
|
|
703
|
+
},
|
|
704
|
+
"mm-circle/stroke-linecap": {
|
|
705
|
+
"type": "string",
|
|
706
|
+
"description": "进度条端点的形状,可选值为`sqaure` `butt`, 默认值: `round`"
|
|
707
|
+
},
|
|
708
|
+
"mm-circle/clockwise": {
|
|
709
|
+
"type": "boolean",
|
|
710
|
+
"description": "是否顺时针增加, 默认值: `true`"
|
|
711
|
+
},
|
|
712
|
+
"mm-circle/total": {
|
|
713
|
+
"type": "number | string",
|
|
714
|
+
"description": "进度条总数, 默认值: `100`"
|
|
715
|
+
},
|
|
668
716
|
"mm-collapse/v-model": {
|
|
669
717
|
"type": "`array",
|
|
670
718
|
"description": "当前展开面板的 name, 默认值: string",
|
|
@@ -805,54 +853,6 @@
|
|
|
805
853
|
"type": "`string`",
|
|
806
854
|
"description": "自定义元素标签, 默认值: `div`"
|
|
807
855
|
},
|
|
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`"
|
|
@@ -900,6 +900,97 @@
|
|
|
900
900
|
"type": "`boolean`",
|
|
901
901
|
"description": "是否选择范围时间, 默认值: false"
|
|
902
902
|
},
|
|
903
|
+
"mm-dialog/v-model": {
|
|
904
|
+
"type": "`boolean`",
|
|
905
|
+
"description": "是否显示弹窗, 默认值: -",
|
|
906
|
+
"options": [
|
|
907
|
+
"-"
|
|
908
|
+
]
|
|
909
|
+
},
|
|
910
|
+
"mm-dialog/title": {
|
|
911
|
+
"type": "`string`",
|
|
912
|
+
"description": "标题, 默认值: -",
|
|
913
|
+
"options": [
|
|
914
|
+
"-"
|
|
915
|
+
]
|
|
916
|
+
},
|
|
917
|
+
"mm-dialog/message": {
|
|
918
|
+
"type": "`string`",
|
|
919
|
+
"description": "内容, 默认值: -",
|
|
920
|
+
"options": [
|
|
921
|
+
"-"
|
|
922
|
+
]
|
|
923
|
+
},
|
|
924
|
+
"mm-dialog/message-align": {
|
|
925
|
+
"type": "`string`",
|
|
926
|
+
"description": "内容对齐方式,可选值为`left` `right`, 默认值: `center`",
|
|
927
|
+
"options": [
|
|
928
|
+
"-"
|
|
929
|
+
]
|
|
930
|
+
},
|
|
931
|
+
"mm-dialog/show-confirm-button": {
|
|
932
|
+
"type": "`boolean`",
|
|
933
|
+
"description": "是否展示确认按钮, 默认值: `true`",
|
|
934
|
+
"options": [
|
|
935
|
+
"-"
|
|
936
|
+
]
|
|
937
|
+
},
|
|
938
|
+
"mm-dialog/show-cancel-button": {
|
|
939
|
+
"type": "`boolean`",
|
|
940
|
+
"description": "是否展示取消按钮, 默认值: `false`",
|
|
941
|
+
"options": [
|
|
942
|
+
"-"
|
|
943
|
+
]
|
|
944
|
+
},
|
|
945
|
+
"mm-dialog/confirm-button-text": {
|
|
946
|
+
"type": "`string`",
|
|
947
|
+
"description": "确认按钮的文案, 默认值: `确认`",
|
|
948
|
+
"options": [
|
|
949
|
+
"-"
|
|
950
|
+
]
|
|
951
|
+
},
|
|
952
|
+
"mm-dialog/cancel-button-text": {
|
|
953
|
+
"type": "`string`",
|
|
954
|
+
"description": "取消按钮的文案, 默认值: `取消`",
|
|
955
|
+
"options": [
|
|
956
|
+
"-"
|
|
957
|
+
]
|
|
958
|
+
},
|
|
959
|
+
"mm-dialog/overlay": {
|
|
960
|
+
"type": "`boolean`",
|
|
961
|
+
"description": "是否展示蒙层, 默认值: `true`",
|
|
962
|
+
"options": [
|
|
963
|
+
"-"
|
|
964
|
+
]
|
|
965
|
+
},
|
|
966
|
+
"mm-dialog/close-on-click-overlay": {
|
|
967
|
+
"type": "`boolean`",
|
|
968
|
+
"description": "是否在点击蒙层后关闭, 默认值: `false`",
|
|
969
|
+
"options": [
|
|
970
|
+
"-"
|
|
971
|
+
]
|
|
972
|
+
},
|
|
973
|
+
"mm-dialog/lock-scroll": {
|
|
974
|
+
"type": "`boolean`",
|
|
975
|
+
"description": "是否锁定背景滚动, 默认值: `true`",
|
|
976
|
+
"options": [
|
|
977
|
+
"-"
|
|
978
|
+
]
|
|
979
|
+
},
|
|
980
|
+
"mm-dialog/before-close": {
|
|
981
|
+
"type": "`(action, done) => void`",
|
|
982
|
+
"description": "关闭前的回调函数,<br>调用 done() 后关闭弹窗,<br>调用 done(false) 阻止弹窗关闭, 默认值: -",
|
|
983
|
+
"options": [
|
|
984
|
+
"-"
|
|
985
|
+
]
|
|
986
|
+
},
|
|
987
|
+
"mm-dialog/get-container": {
|
|
988
|
+
"type": "`string",
|
|
989
|
+
"description": "指定挂载的节点,可以传入选择器,<br>或一个返回节点的函数, 默认值: () => HTMLElement`",
|
|
990
|
+
"options": [
|
|
991
|
+
"-"
|
|
992
|
+
]
|
|
993
|
+
},
|
|
903
994
|
"mm-datetime-picker/type": {
|
|
904
995
|
"type": "`string`",
|
|
905
996
|
"description": "类型,可选值为 `date` <br> `time` `year-month`, 默认值: `datetime`",
|
|
@@ -1002,97 +1093,6 @@
|
|
|
1002
1093
|
"-"
|
|
1003
1094
|
]
|
|
1004
1095
|
},
|
|
1005
|
-
"mm-dialog/v-model": {
|
|
1006
|
-
"type": "`boolean`",
|
|
1007
|
-
"description": "是否显示弹窗, 默认值: -",
|
|
1008
|
-
"options": [
|
|
1009
|
-
"-"
|
|
1010
|
-
]
|
|
1011
|
-
},
|
|
1012
|
-
"mm-dialog/title": {
|
|
1013
|
-
"type": "`string`",
|
|
1014
|
-
"description": "标题, 默认值: -",
|
|
1015
|
-
"options": [
|
|
1016
|
-
"-"
|
|
1017
|
-
]
|
|
1018
|
-
},
|
|
1019
|
-
"mm-dialog/message": {
|
|
1020
|
-
"type": "`string`",
|
|
1021
|
-
"description": "内容, 默认值: -",
|
|
1022
|
-
"options": [
|
|
1023
|
-
"-"
|
|
1024
|
-
]
|
|
1025
|
-
},
|
|
1026
|
-
"mm-dialog/message-align": {
|
|
1027
|
-
"type": "`string`",
|
|
1028
|
-
"description": "内容对齐方式,可选值为`left` `right`, 默认值: `center`",
|
|
1029
|
-
"options": [
|
|
1030
|
-
"-"
|
|
1031
|
-
]
|
|
1032
|
-
},
|
|
1033
|
-
"mm-dialog/show-confirm-button": {
|
|
1034
|
-
"type": "`boolean`",
|
|
1035
|
-
"description": "是否展示确认按钮, 默认值: `true`",
|
|
1036
|
-
"options": [
|
|
1037
|
-
"-"
|
|
1038
|
-
]
|
|
1039
|
-
},
|
|
1040
|
-
"mm-dialog/show-cancel-button": {
|
|
1041
|
-
"type": "`boolean`",
|
|
1042
|
-
"description": "是否展示取消按钮, 默认值: `false`",
|
|
1043
|
-
"options": [
|
|
1044
|
-
"-"
|
|
1045
|
-
]
|
|
1046
|
-
},
|
|
1047
|
-
"mm-dialog/confirm-button-text": {
|
|
1048
|
-
"type": "`string`",
|
|
1049
|
-
"description": "确认按钮的文案, 默认值: `确认`",
|
|
1050
|
-
"options": [
|
|
1051
|
-
"-"
|
|
1052
|
-
]
|
|
1053
|
-
},
|
|
1054
|
-
"mm-dialog/cancel-button-text": {
|
|
1055
|
-
"type": "`string`",
|
|
1056
|
-
"description": "取消按钮的文案, 默认值: `取消`",
|
|
1057
|
-
"options": [
|
|
1058
|
-
"-"
|
|
1059
|
-
]
|
|
1060
|
-
},
|
|
1061
|
-
"mm-dialog/overlay": {
|
|
1062
|
-
"type": "`boolean`",
|
|
1063
|
-
"description": "是否展示蒙层, 默认值: `true`",
|
|
1064
|
-
"options": [
|
|
1065
|
-
"-"
|
|
1066
|
-
]
|
|
1067
|
-
},
|
|
1068
|
-
"mm-dialog/close-on-click-overlay": {
|
|
1069
|
-
"type": "`boolean`",
|
|
1070
|
-
"description": "是否在点击蒙层后关闭, 默认值: `false`",
|
|
1071
|
-
"options": [
|
|
1072
|
-
"-"
|
|
1073
|
-
]
|
|
1074
|
-
},
|
|
1075
|
-
"mm-dialog/lock-scroll": {
|
|
1076
|
-
"type": "`boolean`",
|
|
1077
|
-
"description": "是否锁定背景滚动, 默认值: `true`",
|
|
1078
|
-
"options": [
|
|
1079
|
-
"-"
|
|
1080
|
-
]
|
|
1081
|
-
},
|
|
1082
|
-
"mm-dialog/before-close": {
|
|
1083
|
-
"type": "`(action, done) => void`",
|
|
1084
|
-
"description": "关闭前的回调函数,<br>调用 done() 后关闭弹窗,<br>调用 done(false) 阻止弹窗关闭, 默认值: -",
|
|
1085
|
-
"options": [
|
|
1086
|
-
"-"
|
|
1087
|
-
]
|
|
1088
|
-
},
|
|
1089
|
-
"mm-dialog/get-container": {
|
|
1090
|
-
"type": "`string",
|
|
1091
|
-
"description": "指定挂载的节点,可以传入选择器,<br>或一个返回节点的函数, 默认值: () => HTMLElement`",
|
|
1092
|
-
"options": [
|
|
1093
|
-
"-"
|
|
1094
|
-
]
|
|
1095
|
-
},
|
|
1096
1096
|
"mm-divider/dashed": {
|
|
1097
1097
|
"type": "boolean",
|
|
1098
1098
|
"description": "是否使用虚线, 默认值: `false`"
|
|
@@ -1185,18 +1185,6 @@
|
|
|
1185
1185
|
"type": "string | () => Element",
|
|
1186
1186
|
"description": "指定挂载的节点,[用法示例](#/zh-CN/popup#zhi-ding-gua-zai-wei-zhi), 默认值: -"
|
|
1187
1187
|
},
|
|
1188
|
-
"mm-empty/image": {
|
|
1189
|
-
"type": "string",
|
|
1190
|
-
"description": "图片类型,可选值为 `error` `network` `search`,支持传入图片 URL, 默认值: `default`"
|
|
1191
|
-
},
|
|
1192
|
-
"mm-empty/image-size": {
|
|
1193
|
-
"type": "number | string",
|
|
1194
|
-
"description": "图片大小,默认单位为 `px`, 默认值: -"
|
|
1195
|
-
},
|
|
1196
|
-
"mm-empty/description": {
|
|
1197
|
-
"type": "string",
|
|
1198
|
-
"description": "图片下方的描述文字, 默认值: -"
|
|
1199
|
-
},
|
|
1200
1188
|
"mm-field/label": {
|
|
1201
1189
|
"type": "`string`",
|
|
1202
1190
|
"description": "输入框左侧文本, 默认值: -"
|
|
@@ -1279,6 +1267,18 @@
|
|
|
1279
1267
|
"type": "`RegExp`",
|
|
1280
1268
|
"description": "正则表达式,将匹配到的内容替换为空值, 默认值: ``"
|
|
1281
1269
|
},
|
|
1270
|
+
"mm-empty/image": {
|
|
1271
|
+
"type": "string",
|
|
1272
|
+
"description": "图片类型,可选值为 `error` `network` `search`,支持传入图片 URL, 默认值: `default`"
|
|
1273
|
+
},
|
|
1274
|
+
"mm-empty/image-size": {
|
|
1275
|
+
"type": "number | string",
|
|
1276
|
+
"description": "图片大小,默认单位为 `px`, 默认值: -"
|
|
1277
|
+
},
|
|
1278
|
+
"mm-empty/description": {
|
|
1279
|
+
"type": "string",
|
|
1280
|
+
"description": "图片下方的描述文字, 默认值: -"
|
|
1281
|
+
},
|
|
1282
1282
|
"mm-goods-action/safe-area-inset-bottom": {
|
|
1283
1283
|
"type": "boolean",
|
|
1284
1284
|
"description": "是否开启[底部安全区适配](#/quickstart#di-bu-an-quan-qu-gua-pei), 默认值: `true`"
|
|
@@ -1372,38 +1372,6 @@
|
|
|
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
|
-
},
|
|
1407
1375
|
"mm-grid/column-num": {
|
|
1408
1376
|
"type": "number | string",
|
|
1409
1377
|
"description": "列数, 默认值: `4`"
|
|
@@ -1468,6 +1436,38 @@
|
|
|
1468
1436
|
"type": "boolean",
|
|
1469
1437
|
"description": "是否在跳转时替换当前页面历史, 默认值: `false`"
|
|
1470
1438
|
},
|
|
1439
|
+
"mm-icon/name": {
|
|
1440
|
+
"type": "string",
|
|
1441
|
+
"description": "图标名称或图片链接, 默认值: -"
|
|
1442
|
+
},
|
|
1443
|
+
"mm-icon/dot": {
|
|
1444
|
+
"type": "boolean",
|
|
1445
|
+
"description": "是否显示图标右上角小红点, 默认值: `false`"
|
|
1446
|
+
},
|
|
1447
|
+
"mm-icon/badge": {
|
|
1448
|
+
"type": "number | string",
|
|
1449
|
+
"description": "图标右上角徽标的内容, 默认值: -"
|
|
1450
|
+
},
|
|
1451
|
+
"mm-icon/info": {
|
|
1452
|
+
"type": "number | string",
|
|
1453
|
+
"description": "图标右上角徽标的内容(已废弃,请使用 badge 属性), 默认值: -"
|
|
1454
|
+
},
|
|
1455
|
+
"mm-icon/color": {
|
|
1456
|
+
"type": "string",
|
|
1457
|
+
"description": "图标颜色, 默认值: `inherit`"
|
|
1458
|
+
},
|
|
1459
|
+
"mm-icon/size": {
|
|
1460
|
+
"type": "number | string",
|
|
1461
|
+
"description": "图标大小,如 `20px` `2em`,默认单位为`px`, 默认值: `inherit`"
|
|
1462
|
+
},
|
|
1463
|
+
"mm-icon/class-prefix": {
|
|
1464
|
+
"type": "string",
|
|
1465
|
+
"description": "类名前缀,用于使用自定义图标, 默认值: `mm-icon`"
|
|
1466
|
+
},
|
|
1467
|
+
"mm-icon/tag": {
|
|
1468
|
+
"type": "string",
|
|
1469
|
+
"description": "HTML 标签, 默认值: `i`"
|
|
1470
|
+
},
|
|
1471
1471
|
"mm-image/src": {
|
|
1472
1472
|
"type": "string",
|
|
1473
1473
|
"description": "图片链接, 默认值: -"
|
|
@@ -1863,6 +1863,13 @@
|
|
|
1863
1863
|
"[]"
|
|
1864
1864
|
]
|
|
1865
1865
|
},
|
|
1866
|
+
"mm-menus/draggable": {
|
|
1867
|
+
"type": "`boolean`",
|
|
1868
|
+
"description": "是否开启拖拽排序,开启后可长按/拖动菜单 cell 调整顺序, 默认值: 非必传",
|
|
1869
|
+
"options": [
|
|
1870
|
+
"false"
|
|
1871
|
+
]
|
|
1872
|
+
},
|
|
1866
1873
|
"mm-nav-bar/title": {
|
|
1867
1874
|
"type": "`string`",
|
|
1868
1875
|
"description": "标题, 默认值: `''`"
|
|
@@ -2922,38 +2929,6 @@
|
|
|
2922
2929
|
"type": "boolean",
|
|
2923
2930
|
"description": "是否阻止滑动事件冒泡, 默认值: `false`"
|
|
2924
2931
|
},
|
|
2925
|
-
"mm-switch/v-model": {
|
|
2926
|
-
"type": "any",
|
|
2927
|
-
"description": "开关选中状态, 默认值: `false`"
|
|
2928
|
-
},
|
|
2929
|
-
"mm-switch/loading": {
|
|
2930
|
-
"type": "boolean",
|
|
2931
|
-
"description": "是否为加载状态, 默认值: `false`"
|
|
2932
|
-
},
|
|
2933
|
-
"mm-switch/disabled": {
|
|
2934
|
-
"type": "boolean",
|
|
2935
|
-
"description": "是否为禁用状态, 默认值: `false`"
|
|
2936
|
-
},
|
|
2937
|
-
"mm-switch/size": {
|
|
2938
|
-
"type": "number | string",
|
|
2939
|
-
"description": "开关尺寸,默认单位为`px`, 默认值: `30px`"
|
|
2940
|
-
},
|
|
2941
|
-
"mm-switch/active-color": {
|
|
2942
|
-
"type": "string",
|
|
2943
|
-
"description": "打开时的背景色, 默认值: `#1989fa`"
|
|
2944
|
-
},
|
|
2945
|
-
"mm-switch/inactive-color": {
|
|
2946
|
-
"type": "string",
|
|
2947
|
-
"description": "关闭时的背景色, 默认值: `white`"
|
|
2948
|
-
},
|
|
2949
|
-
"mm-switch/active-value": {
|
|
2950
|
-
"type": "any",
|
|
2951
|
-
"description": "打开时对应的值, 默认值: `true`"
|
|
2952
|
-
},
|
|
2953
|
-
"mm-switch/inactive-value": {
|
|
2954
|
-
"type": "any",
|
|
2955
|
-
"description": "关闭时对应的值, 默认值: `false`"
|
|
2956
|
-
},
|
|
2957
2932
|
"mm-switch-cell/v-model": {
|
|
2958
2933
|
"type": "`null`",
|
|
2959
2934
|
"description": "开关状态, 默认值: `false`",
|
|
@@ -3003,6 +2978,38 @@
|
|
|
3003
2978
|
"-"
|
|
3004
2979
|
]
|
|
3005
2980
|
},
|
|
2981
|
+
"mm-switch/v-model": {
|
|
2982
|
+
"type": "any",
|
|
2983
|
+
"description": "开关选中状态, 默认值: `false`"
|
|
2984
|
+
},
|
|
2985
|
+
"mm-switch/loading": {
|
|
2986
|
+
"type": "boolean",
|
|
2987
|
+
"description": "是否为加载状态, 默认值: `false`"
|
|
2988
|
+
},
|
|
2989
|
+
"mm-switch/disabled": {
|
|
2990
|
+
"type": "boolean",
|
|
2991
|
+
"description": "是否为禁用状态, 默认值: `false`"
|
|
2992
|
+
},
|
|
2993
|
+
"mm-switch/size": {
|
|
2994
|
+
"type": "number | string",
|
|
2995
|
+
"description": "开关尺寸,默认单位为`px`, 默认值: `30px`"
|
|
2996
|
+
},
|
|
2997
|
+
"mm-switch/active-color": {
|
|
2998
|
+
"type": "string",
|
|
2999
|
+
"description": "打开时的背景色, 默认值: `#1989fa`"
|
|
3000
|
+
},
|
|
3001
|
+
"mm-switch/inactive-color": {
|
|
3002
|
+
"type": "string",
|
|
3003
|
+
"description": "关闭时的背景色, 默认值: `white`"
|
|
3004
|
+
},
|
|
3005
|
+
"mm-switch/active-value": {
|
|
3006
|
+
"type": "any",
|
|
3007
|
+
"description": "打开时对应的值, 默认值: `true`"
|
|
3008
|
+
},
|
|
3009
|
+
"mm-switch/inactive-value": {
|
|
3010
|
+
"type": "any",
|
|
3011
|
+
"description": "关闭时对应的值, 默认值: `false`"
|
|
3012
|
+
},
|
|
3006
3013
|
"mm-tabs/v-model": {
|
|
3007
3014
|
"type": "number | string",
|
|
3008
3015
|
"description": "绑定当前选中标签的标识符, 默认值: `0`"
|