m8-mcp-server 1.0.5 → 1.0.7
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/dist/cli.d.ts +2 -2
- package/dist/cli.js +1 -13
- package/dist/docs/apis.d.ts +2 -2
- package/dist/docs/apis.js +9 -326
- package/dist/docs/components.d.ts +2 -2
- package/dist/docs/components.js +2 -186
- package/dist/docs/index.d.ts +2 -2
- package/dist/docs/index.js +18 -177
- package/dist/docs/loader.d.ts +2 -2
- package/dist/docs/loader.js +1 -165
- package/dist/docs/search.d.ts +2 -2
- package/dist/docs/search.js +2 -196
- package/dist/docs/standards.d.ts +2 -2
- package/dist/docs/standards.js +3 -134
- package/dist/docs/utils.d.ts +2 -2
- package/dist/docs/utils.js +3 -129
- package/dist/generator/header.d.ts +2 -2
- package/dist/generator/header.js +3 -83
- package/dist/generator/index.d.ts +2 -2
- package/dist/generator/index.js +283 -648
- package/dist/generator/vue-template.d.ts +2 -2
- package/dist/generator/vue-template.js +336 -1016
- package/dist/index.d.ts +2 -2
- package/dist/index.js +1 -73
- package/dist/recommend/index.d.ts +2 -2
- package/dist/recommend/index.js +2 -412
- package/dist/tools/generate-code.d.ts +2 -2
- package/dist/tools/generate-code.js +39 -211
- package/dist/tools/get-api-info.d.ts +2 -2
- package/dist/tools/get-api-info.js +1 -65
- package/dist/tools/get-coding-standard.d.ts +2 -2
- package/dist/tools/get-coding-standard.js +1 -66
- package/dist/tools/get-component-info.d.ts +2 -2
- package/dist/tools/get-component-info.js +1 -60
- package/dist/tools/get-util-info.d.ts +2 -2
- package/dist/tools/get-util-info.js +1 -65
- package/dist/tools/index.d.ts +2 -2
- package/dist/tools/index.js +3 -101
- package/dist/tools/recommend-solution.d.ts +2 -2
- package/dist/tools/recommend-solution.js +1 -67
- package/dist/tools/search-docs.d.ts +2 -2
- package/dist/tools/search-docs.js +1 -71
- package/dist/types/index.d.ts +2 -2
- package/dist/types/index.js +0 -8
- package/package.json +6 -5
- package/dist/cli.js.map +0 -1
- package/dist/docs/apis.js.map +0 -1
- package/dist/docs/components.js.map +0 -1
- package/dist/docs/index.js.map +0 -1
- package/dist/docs/loader.js.map +0 -1
- package/dist/docs/search.js.map +0 -1
- package/dist/docs/standards.js.map +0 -1
- package/dist/docs/utils.js.map +0 -1
- package/dist/generator/header.js.map +0 -1
- package/dist/generator/index.js.map +0 -1
- package/dist/generator/vue-template.js.map +0 -1
- package/dist/index.js.map +0 -1
- package/dist/recommend/index.js.map +0 -1
- package/dist/tools/generate-code.js.map +0 -1
- package/dist/tools/get-api-info.js.map +0 -1
- package/dist/tools/get-coding-standard.js.map +0 -1
- package/dist/tools/get-component-info.js.map +0 -1
- package/dist/tools/get-util-info.js.map +0 -1
- package/dist/tools/index.js.map +0 -1
- package/dist/tools/recommend-solution.js.map +0 -1
- package/dist/tools/search-docs.js.map +0 -1
- package/dist/types/index.js.map +0 -1
- package/resources/cases/.gitkeep +0 -0
- package/resources/cases/form-submit-vue2.json +0 -15
- package/resources/cases/index.json +0 -8
- package/resources/cases/list-detail-vue2.json +0 -27
- package/resources/components/.gitkeep +0 -0
- package/resources/components/actionsheet.json +0 -199
- package/resources/components/amap.json +0 -66
- package/resources/components/area.json +0 -158
- package/resources/components/badge.json +0 -93
- package/resources/components/button.json +0 -260
- package/resources/components/calendar.json +0 -225
- package/resources/components/cascader.json +0 -115
- package/resources/components/cell.json +0 -85
- package/resources/components/chart.json +0 -55
- package/resources/components/checkbox.json +0 -158
- package/resources/components/circle.json +0 -138
- package/resources/components/collapse.json +0 -88
- package/resources/components/countdown.json +0 -105
- package/resources/components/datepicker.json +0 -216
- package/resources/components/dialog.json +0 -250
- package/resources/components/divider.json +0 -82
- package/resources/components/dragsort.json +0 -67
- package/resources/components/dropdownmenu.json +0 -129
- package/resources/components/easycalendar.json +0 -84
- package/resources/components/empty.json +0 -90
- package/resources/components/field.json +0 -423
- package/resources/components/form.json +0 -156
- package/resources/components/grid.json +0 -131
- package/resources/components/header.json +0 -147
- package/resources/components/icon.json +0 -104
- package/resources/components/image.json +0 -169
- package/resources/components/imagepreview.json +0 -150
- package/resources/components/imagescale.json +0 -245
- package/resources/components/index.json +0 -72
- package/resources/components/indexbar.json +0 -83
- package/resources/components/layout.json +0 -74
- package/resources/components/lazyload.json +0 -46
- package/resources/components/loading.json +0 -103
- package/resources/components/minirefresh.json +0 -341
- package/resources/components/noticebar.json +0 -148
- package/resources/components/notify.json +0 -60
- package/resources/components/numberkeyboard.json +0 -216
- package/resources/components/overlay.json +0 -78
- package/resources/components/pagination.json +0 -137
- package/resources/components/panel.json +0 -87
- package/resources/components/passwordinput.json +0 -103
- package/resources/components/picker.json +0 -195
- package/resources/components/popover.json +0 -161
- package/resources/components/popup.json +0 -229
- package/resources/components/progress.json +0 -111
- package/resources/components/qrcode.json +0 -128
- package/resources/components/radio.json +0 -139
- package/resources/components/rate.json +0 -157
- package/resources/components/rtc.json +0 -35
- package/resources/components/search.json +0 -234
- package/resources/components/selectperson.json +0 -175
- package/resources/components/sidebar.json +0 -74
- package/resources/components/skeleton.json +0 -110
- package/resources/components/slider.json +0 -159
- package/resources/components/stepper.json +0 -241
- package/resources/components/steps.json +0 -108
- package/resources/components/sticky.json +0 -72
- package/resources/components/swipe.json +0 -146
- package/resources/components/swipecell.json +0 -118
- package/resources/components/switch.json +0 -123
- package/resources/components/switchcell.json +0 -123
- package/resources/components/tab.json +0 -257
- package/resources/components/tabbar.json +0 -137
- package/resources/components/table.json +0 -149
- package/resources/components/tag.json +0 -149
- package/resources/components/toast.json +0 -70
- package/resources/components/treeselect.json +0 -106
- package/resources/components/uploader.json +0 -283
- package/resources/components/verifycode.json +0 -94
- package/resources/standards/.gitkeep +0 -0
- package/resources/standards/css.json +0 -108
- package/resources/standards/javascript.json +0 -129
- package/resources/standards/project-structure.json +0 -101
- package/resources/standards/vue.json +0 -122
- package/resources/utils/.gitkeep +0 -0
- package/resources/utils/ajax.json +0 -76
- package/resources/utils/common.json +0 -129
- package/resources/utils/index.json +0 -7
- package/resources/utils/string.json +0 -112
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"search-docs.js","sourceRoot":"","sources":["../../src/tools/search-docs.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAGH,OAAO,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AAEnD;;GAEG;AACH,MAAM,CAAC,MAAM,oBAAoB,GAAmB;IAClD,IAAI,EAAE,aAAa;IACnB,WAAW,EAAE,4DAA4D;IACzE,WAAW,EAAE;QACX,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE;YACV,KAAK,EAAE;gBACL,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,OAAO;aACrB;YACD,QAAQ,EAAE;gBACR,IAAI,EAAE,QAAQ;gBACd,IAAI,EAAE,CAAC,SAAS,EAAE,cAAc,EAAE,WAAW,EAAE,cAAc,EAAE,UAAU,CAAC;gBAC1E,WAAW,EAAE,YAAY;aAC1B;YACD,KAAK,EAAE;gBACL,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,cAAc;aAC5B;SACF;QACD,QAAQ,EAAE,CAAC,OAAO,CAAC;KACpB;CACF,CAAC;AAEF;;;;GAIG;AACH,MAAM,CAAC,KAAK,UAAU,iBAAiB,CAAC,IAA6B;IACnE,IAAI,CAAC;QACH,MAAM,KAAK,GAAG,IAAI,CAAC,KAAe,CAAC;QACnC,MAAM,QAAQ,GAAG,IAAI,CAAC,QAAwC,CAAC;QAC/D,MAAM,KAAK,GAAI,IAAI,CAAC,KAAgB,IAAI,EAAE,CAAC;QAE3C,IAAI,CAAC,KAAK,IAAI,KAAK,CAAC,IAAI,EAAE,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;YACxC,OAAO;gBACL,OAAO,EAAE,CAAC;wBACR,IAAI,EAAE,MAAM;wBACZ,IAAI,EAAE,cAAc;qBACrB,CAAC;gBACF,OAAO,EAAE,IAAI;aACd,CAAC;QACJ,CAAC;QAED,MAAM,MAAM,GAAG,eAAe,CAAC,mBAAmB,CAAC,KAAK,EAAE,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC,CAAC;QAE/E,OAAO;YACL,OAAO,EAAE,CAAC;oBACR,IAAI,EAAE,MAAM;oBACZ,IAAI,EAAE,MAAM;iBACb,CAAC;SACH,CAAC;IACJ,CAAC;IAAC,OAAO,KAAK,EAAE,CAAC;QACf,OAAO;YACL,OAAO,EAAE,CAAC;oBACR,IAAI,EAAE,MAAM;oBACZ,IAAI,EAAE,SAAS,KAAK,YAAY,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,MAAM,EAAE;iBACjE,CAAC;YACF,OAAO,EAAE,IAAI;SACd,CAAC;IACJ,CAAC;AACH,CAAC"}
|
package/dist/types/index.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG"}
|
package/resources/cases/.gitkeep
DELETED
|
File without changes
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"id": "form-submit-vue2",
|
|
3
|
-
"title": "表单提交 (Vue2/M8.3)",
|
|
4
|
-
"description": "使用 M8.3 移动前端框架进行表单页面的开发和提交",
|
|
5
|
-
"category": "form-submit",
|
|
6
|
-
"vueVersion": 2,
|
|
7
|
-
"files": [
|
|
8
|
-
{
|
|
9
|
-
"name": "form.vue",
|
|
10
|
-
"path": "src/pages/m8demo/form.vue",
|
|
11
|
-
"description": "表单页面组件",
|
|
12
|
-
"code": "<!--\n * @作者: 开发者\n * @创建时间: 2024-12-29\n * @修改时间: 2024-12-29\n * @版本: [1.0]\n * @版权: 国泰新点软件股份有限公司\n * @描述: 表单提交示例页面\n-->\n<template>\n <view class=\"container\">\n <em-form ref=\"form\" :model=\"formData\" :rules=\"rules\">\n <em-cell-group>\n <em-field\n v-model=\"formData.name\"\n name=\"name\"\n label=\"姓名\"\n placeholder=\"请输入姓名\"\n required\n />\n <em-field\n v-model=\"formData.phone\"\n name=\"phone\"\n type=\"tel\"\n label=\"手机号\"\n placeholder=\"请输入手机号\"\n required\n />\n <em-field\n v-model=\"formData.date\"\n name=\"date\"\n label=\"日期\"\n placeholder=\"请选择日期\"\n readonly\n clickable\n is-link\n @click=\"showDatePicker = true\"\n />\n <em-field\n v-model=\"formData.remark\"\n name=\"remark\"\n type=\"textarea\"\n label=\"备注\"\n placeholder=\"请输入备注\"\n :autosize=\"{ minHeight: 80 }\"\n />\n </em-cell-group>\n </em-form>\n \n <view class=\"btn-wrapper\">\n <em-button type=\"primary\" block @click=\"onSubmit\">提交</em-button>\n </view>\n \n <em-datepicker\n v-model=\"showDatePicker\"\n @confirm=\"onDateConfirm\"\n />\n </view>\n</template>\n\n<script>\nexport default {\n data() {\n return {\n formData: {\n name: '',\n phone: '',\n date: '',\n remark: ''\n },\n rules: {\n name: [{ required: true, message: '请输入姓名' }],\n phone: [\n { required: true, message: '请输入手机号' },\n { pattern: /^1[3-9]\\d{9}$/, message: '手机号格式不正确' }\n ]\n },\n showDatePicker: false\n };\n },\n methods: {\n onDateConfirm(value) {\n this.formData.date = value;\n this.showDatePicker = false;\n },\n async onSubmit() {\n try {\n await this.$refs.form.validate();\n \n ejs.ui.showWaiting({ message: '提交中...' });\n \n const result = await Util.ajax({\n url: Config.serverUrl + '/rest/submit',\n type: 'POST',\n data: {\n params: JSON.stringify(this.formData)\n }\n });\n \n ejs.ui.closeWaiting();\n \n if (result && result.status && result.status.code === 1) {\n ejs.ui.toast({ message: '提交成功' });\n ejs.page.close();\n } else {\n ejs.ui.toast({ message: result.status.text || '提交失败' });\n }\n } catch (error) {\n ejs.ui.closeWaiting();\n console.error('表单验证失败:', error);\n }\n }\n }\n};\n</script>\n\n<style lang=\"scss\" scoped>\n.container {\n padding-bottom: 80px;\n}\n.btn-wrapper {\n position: fixed;\n bottom: 0;\n left: 0;\n right: 0;\n padding: 16px;\n background: #fff;\n}\n</style>"
|
|
13
|
-
}
|
|
14
|
-
]
|
|
15
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"cases": [
|
|
3
|
-
{ "id": "list-detail-vue2", "title": "列表详情 (Vue2/M8.3)", "category": "list-detail", "vueVersion": 2, "file": "list-detail-vue2.json" },
|
|
4
|
-
{ "id": "list-detail-vue3", "title": "列表详情 (Vue3/M8.4)", "category": "list-detail", "vueVersion": 3, "file": "list-detail-vue3.json" },
|
|
5
|
-
{ "id": "form-submit-vue2", "title": "表单提交 (Vue2/M8.3)", "category": "form-submit", "vueVersion": 2, "file": "form-submit-vue2.json" },
|
|
6
|
-
{ "id": "form-submit-vue3", "title": "表单提交 (Vue3/M8.4)", "category": "form-submit", "vueVersion": 3, "file": "form-submit-vue3.json" }
|
|
7
|
-
]
|
|
8
|
-
}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"id": "list-detail-vue2",
|
|
3
|
-
"title": "列表详情 (Vue2/M8.3)",
|
|
4
|
-
"description": "使用 M8.3 移动前端框架进行下拉刷新列表、详情页面的开发",
|
|
5
|
-
"category": "list-detail",
|
|
6
|
-
"vueVersion": 2,
|
|
7
|
-
"files": [
|
|
8
|
-
{
|
|
9
|
-
"name": "router.js",
|
|
10
|
-
"path": "src/pages/m8demo/router.js",
|
|
11
|
-
"description": "路由配置文件",
|
|
12
|
-
"code": "/**\n * router.js无需import组件,需要path路径与vue组件名称保持匹配。\n */\nconst routes = [\n {\n path: 'pages/m8demo/list',\n style: {\n navigationBarTitleText: '列表页面',\n },\n },\n {\n path: 'pages/m8demo/detail',\n style: {\n navigationBarTitleText: '详情页面',\n },\n },\n];\n\nexport default routes;"
|
|
13
|
-
},
|
|
14
|
-
{
|
|
15
|
-
"name": "list.vue",
|
|
16
|
-
"path": "src/pages/m8demo/list.vue",
|
|
17
|
-
"description": "列表页面组件",
|
|
18
|
-
"code": "<template>\n <view class=\"container\">\n <em-minirefresh\n ref=\"scrollPull\"\n :initPageIndex=\"initPageIndex\"\n :page-size=\"pageSize\"\n :url=\"url\"\n :request-data=\"dataRequest\"\n :change-data=\"dataChange\"\n >\n <template v-slot:default=\"{ listData }\">\n <em-cell v-for=\"(item, index) in listData\" :key=\"index\" :title=\"item.title\" @click=\"itemClick(item)\" />\n </template>\n </em-minirefresh>\n </view>\n</template>\n\n<script>\nexport default {\n data() {\n return {\n url: `${Config.serverUrl}/rest/list`,\n initPageIndex: 0,\n pageSize: 10\n };\n },\n methods: {\n dataRequest(currPage, pageSize) {\n return {\n params: JSON.stringify({\n currentpageindex: currPage,\n pagesize: pageSize\n })\n };\n },\n dataChange(res) {\n if (res && res.status && res.status.code === 1) {\n return res.custom.infolist;\n }\n console.error('接口返回参数错误');\n return [];\n },\n itemClick(item) {\n ejs.page.open({\n pageUrl: './detail',\n data: { id: item.id }\n });\n }\n }\n};\n</script>\n\n<style lang=\"scss\" scoped>\n.container {\n height: 100vh;\n}\n</style>"
|
|
19
|
-
},
|
|
20
|
-
{
|
|
21
|
-
"name": "detail.vue",
|
|
22
|
-
"path": "src/pages/m8demo/detail.vue",
|
|
23
|
-
"description": "详情页面组件",
|
|
24
|
-
"code": "<template>\n <div class=\"container\">\n <h1>{{ title }}</h1>\n <div v-html=\"content\"></div>\n </div>\n</template>\n\n<script>\nexport default {\n name: 'detail',\n data() {\n return {\n title: '',\n content: ''\n };\n },\n created() {\n const id = Util.getExtraDataByKey('id') || '';\n this.getDetail(id);\n },\n methods: {\n getDetail(id) {\n Util.ajax({\n url: `${Config.serverUrl}/rest/detail`,\n data: {\n params: JSON.stringify({ guid: id })\n }\n })\n .then((result) => {\n if (result && result.status && result.status.code === 1) {\n this.title = result.custom.info.title;\n this.content = result.custom.info.data;\n }\n })\n .catch((err) => {\n console.error(err);\n });\n }\n }\n};\n</script>\n\n<style lang=\"scss\" scoped></style>"
|
|
25
|
-
}
|
|
26
|
-
]
|
|
27
|
-
}
|
|
File without changes
|
|
@@ -1,199 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"id": "actionsheet",
|
|
3
|
-
"name": "em-actionsheet",
|
|
4
|
-
"title": "动作面板",
|
|
5
|
-
"description": "底部弹起的模态面板,包含与当前情境相关的多个选项。",
|
|
6
|
-
"props": [
|
|
7
|
-
{
|
|
8
|
-
"name": "v-model",
|
|
9
|
-
"type": "boolean",
|
|
10
|
-
"default": "false",
|
|
11
|
-
"required": false,
|
|
12
|
-
"description": "是否显示动作面板"
|
|
13
|
-
},
|
|
14
|
-
{
|
|
15
|
-
"name": "actions",
|
|
16
|
-
"type": "Action[]",
|
|
17
|
-
"default": "[]",
|
|
18
|
-
"required": false,
|
|
19
|
-
"description": "面板选项列表"
|
|
20
|
-
},
|
|
21
|
-
{
|
|
22
|
-
"name": "title",
|
|
23
|
-
"type": "string",
|
|
24
|
-
"default": "-",
|
|
25
|
-
"required": false,
|
|
26
|
-
"description": "顶部标题"
|
|
27
|
-
},
|
|
28
|
-
{
|
|
29
|
-
"name": "cancel-text",
|
|
30
|
-
"type": "string",
|
|
31
|
-
"default": "-",
|
|
32
|
-
"required": false,
|
|
33
|
-
"description": "取消按钮文字"
|
|
34
|
-
},
|
|
35
|
-
{
|
|
36
|
-
"name": "description",
|
|
37
|
-
"type": "string",
|
|
38
|
-
"default": "-",
|
|
39
|
-
"required": false,
|
|
40
|
-
"description": "选项上方的描述信息"
|
|
41
|
-
},
|
|
42
|
-
{
|
|
43
|
-
"name": "z-index",
|
|
44
|
-
"type": "number",
|
|
45
|
-
"default": "99",
|
|
46
|
-
"required": false,
|
|
47
|
-
"description": "z-index 层级"
|
|
48
|
-
},
|
|
49
|
-
{
|
|
50
|
-
"name": "closeable",
|
|
51
|
-
"type": "boolean",
|
|
52
|
-
"default": "true",
|
|
53
|
-
"required": false,
|
|
54
|
-
"description": "是否显示关闭图标"
|
|
55
|
-
},
|
|
56
|
-
{
|
|
57
|
-
"name": "close-icon",
|
|
58
|
-
"type": "string",
|
|
59
|
-
"default": "cross",
|
|
60
|
-
"required": false,
|
|
61
|
-
"description": "关闭图标名称或图片链接"
|
|
62
|
-
},
|
|
63
|
-
{
|
|
64
|
-
"name": "duration",
|
|
65
|
-
"type": "number / string",
|
|
66
|
-
"default": "300",
|
|
67
|
-
"required": false,
|
|
68
|
-
"description": "动画时长,单位毫秒"
|
|
69
|
-
},
|
|
70
|
-
{
|
|
71
|
-
"name": "round",
|
|
72
|
-
"type": "boolean",
|
|
73
|
-
"default": "true",
|
|
74
|
-
"required": false,
|
|
75
|
-
"description": "是否显示圆角"
|
|
76
|
-
},
|
|
77
|
-
{
|
|
78
|
-
"name": "overlay",
|
|
79
|
-
"type": "boolean",
|
|
80
|
-
"default": "true",
|
|
81
|
-
"required": false,
|
|
82
|
-
"description": "是否显示遮罩层"
|
|
83
|
-
},
|
|
84
|
-
{
|
|
85
|
-
"name": "close-on-click-action",
|
|
86
|
-
"type": "boolean",
|
|
87
|
-
"default": "false",
|
|
88
|
-
"required": false,
|
|
89
|
-
"description": "是否在点击选项后关闭"
|
|
90
|
-
},
|
|
91
|
-
{
|
|
92
|
-
"name": "close-on-click-overlay",
|
|
93
|
-
"type": "boolean",
|
|
94
|
-
"default": "true",
|
|
95
|
-
"required": false,
|
|
96
|
-
"description": "是否在点击遮罩层后关闭"
|
|
97
|
-
},
|
|
98
|
-
{
|
|
99
|
-
"name": "safe-area-inset-bottom",
|
|
100
|
-
"type": "boolean",
|
|
101
|
-
"default": "true",
|
|
102
|
-
"required": false,
|
|
103
|
-
"description": "是否开启底部安全区适配"
|
|
104
|
-
}
|
|
105
|
-
],
|
|
106
|
-
"events": [
|
|
107
|
-
{
|
|
108
|
-
"name": "select",
|
|
109
|
-
"parameters": "点击选项时触发,禁用或加载状态下不会触发",
|
|
110
|
-
"description": "action: Action 选项对应的对象, index: number"
|
|
111
|
-
},
|
|
112
|
-
{
|
|
113
|
-
"name": "cancel",
|
|
114
|
-
"parameters": "点击取消按钮时触发",
|
|
115
|
-
"description": "-"
|
|
116
|
-
},
|
|
117
|
-
{
|
|
118
|
-
"name": "open",
|
|
119
|
-
"parameters": "打开面板时触发",
|
|
120
|
-
"description": "-"
|
|
121
|
-
},
|
|
122
|
-
{
|
|
123
|
-
"name": "close",
|
|
124
|
-
"parameters": "关闭面板时触发",
|
|
125
|
-
"description": "-"
|
|
126
|
-
},
|
|
127
|
-
{
|
|
128
|
-
"name": "opened",
|
|
129
|
-
"parameters": "打开面板且动画结束后触发",
|
|
130
|
-
"description": "-"
|
|
131
|
-
},
|
|
132
|
-
{
|
|
133
|
-
"name": "closed",
|
|
134
|
-
"parameters": "关闭面板且动画结束后触发",
|
|
135
|
-
"description": "-"
|
|
136
|
-
},
|
|
137
|
-
{
|
|
138
|
-
"name": "click-overlay",
|
|
139
|
-
"parameters": "点击遮罩层时触发",
|
|
140
|
-
"description": "-"
|
|
141
|
-
}
|
|
142
|
-
],
|
|
143
|
-
"slots": [
|
|
144
|
-
{
|
|
145
|
-
"name": "default",
|
|
146
|
-
"description": "自定义面板的展示内容"
|
|
147
|
-
},
|
|
148
|
-
{
|
|
149
|
-
"name": "description",
|
|
150
|
-
"description": "自定义描述文案"
|
|
151
|
-
}
|
|
152
|
-
],
|
|
153
|
-
"examples": {
|
|
154
|
-
"vue2": [
|
|
155
|
-
{
|
|
156
|
-
"title": "基础用法",
|
|
157
|
-
"code": "<em-cell is-link title=\"基础用法\" @click=\"showTop = true\" />\n<em-actionsheet\n title=\"标题\"\n @close=\"showTop = !showTop\"\n v-model=\"showTop\"\n :actions=\"actionsTop\"\n @select=\"onSelectTop\"\n/>\n<em-toast ref=\"emToast\"></em-toast>"
|
|
158
|
-
},
|
|
159
|
-
{
|
|
160
|
-
"title": "展示取消按钮",
|
|
161
|
-
"code": "<em-actionsheet\n v-model=\"showBottom\"\n :actions=\"actionsTop\"\n cancel-text=\"取消\"\n close-on-click-action\n @cancel=\"onCancel1\"\n @close=\"showBottom = !showBottom\"\n/>\n<em-toast ref=\"emToast\"></em-toast>"
|
|
162
|
-
},
|
|
163
|
-
{
|
|
164
|
-
"title": "展示描述信息",
|
|
165
|
-
"code": "<em-actionsheet\n v-model=\"showLeft\"\n :actions=\"actionsLeft\"\n cancel-text=\"取消\"\n description=\"这是一段描述信息\"\n close-on-click-action\n @cancel=\"onCancel2\"\n @close=\"showLeft = !showLeft\"\n/>\n<em-toast ref=\"emToast\"></em-toast>"
|
|
166
|
-
},
|
|
167
|
-
{
|
|
168
|
-
"title": "选项状态",
|
|
169
|
-
"code": "<em-actionsheet\n v-model=\"showStatus\"\n :actions=\"actionsStatus\"\n @close=\"showStatus = !showStatus\"\n @cancel=\"showStatus = !showStatus\"\n @select=\"onSelectTop\"\n cancel-text=\"取消\"\n close-on-click-action\n/>\n<em-toast ref=\"emToast\"></em-toast>"
|
|
170
|
-
},
|
|
171
|
-
{
|
|
172
|
-
"title": "自定义面板",
|
|
173
|
-
"code": "<em-actionsheet v-model=\"showZdy\" @close=\"showZdy = !showZdy\" title=\"标题\">\n <div class=\"content\">内容</div>\n</em-actionsheet>"
|
|
174
|
-
}
|
|
175
|
-
],
|
|
176
|
-
"vue3": [
|
|
177
|
-
{
|
|
178
|
-
"title": "基础用法",
|
|
179
|
-
"code": "<em-cell is-link title=\"基础用法\" @click=\"showTop = true\" />\n<em-actionsheet\n title=\"标题\"\n @close=\"showTop = !showTop\"\n v-model=\"showTop\"\n :actions=\"actionsTop\"\n @select=\"onSelectTop\"\n/>\n<em-toast ref=\"emToast\"></em-toast>"
|
|
180
|
-
},
|
|
181
|
-
{
|
|
182
|
-
"title": "展示取消按钮",
|
|
183
|
-
"code": "<em-actionsheet\n v-model=\"showBottom\"\n :actions=\"actionsTop\"\n cancel-text=\"取消\"\n close-on-click-action\n @cancel=\"onCancel1\"\n @close=\"showBottom = !showBottom\"\n/>\n<em-toast ref=\"emToast\"></em-toast>"
|
|
184
|
-
},
|
|
185
|
-
{
|
|
186
|
-
"title": "展示描述信息",
|
|
187
|
-
"code": "<em-actionsheet\n v-model=\"showLeft\"\n :actions=\"actionsLeft\"\n cancel-text=\"取消\"\n description=\"这是一段描述信息\"\n close-on-click-action\n @cancel=\"onCancel2\"\n @close=\"showLeft = !showLeft\"\n/>\n<em-toast ref=\"emToast\"></em-toast>"
|
|
188
|
-
},
|
|
189
|
-
{
|
|
190
|
-
"title": "选项状态",
|
|
191
|
-
"code": "<em-actionsheet\n v-model=\"showStatus\"\n :actions=\"actionsStatus\"\n @close=\"showStatus = !showStatus\"\n @cancel=\"showStatus = !showStatus\"\n @select=\"onSelectTop\"\n cancel-text=\"取消\"\n close-on-click-action\n/>\n<em-toast ref=\"emToast\"></em-toast>"
|
|
192
|
-
},
|
|
193
|
-
{
|
|
194
|
-
"title": "自定义面板",
|
|
195
|
-
"code": "<em-actionsheet v-model=\"showZdy\" @close=\"showZdy = !showZdy\" title=\"标题\">\n <div class=\"content\">内容</div>\n</em-actionsheet>"
|
|
196
|
-
}
|
|
197
|
-
]
|
|
198
|
-
}
|
|
199
|
-
}
|
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"id": "amap",
|
|
3
|
-
"name": "em-amap",
|
|
4
|
-
"title": "地图",
|
|
5
|
-
"description": "定位组件,本组件仅提供定位及获取周边 POI 信息函数,不再封装地图展示组件。",
|
|
6
|
-
"props": [
|
|
7
|
-
{
|
|
8
|
-
"name": "qqMapKey",
|
|
9
|
-
"type": "string",
|
|
10
|
-
"default": "-",
|
|
11
|
-
"required": false,
|
|
12
|
-
"description": "组件函数获取周边信息时,使用的是腾讯地图的 API,所以需要腾讯地图的 key"
|
|
13
|
-
},
|
|
14
|
-
{
|
|
15
|
-
"name": "isForceDD",
|
|
16
|
-
"type": "boolean",
|
|
17
|
-
"default": "false",
|
|
18
|
-
"required": false,
|
|
19
|
-
"description": "是否强制使用`dd.device.geolocation.get`方法获取当前定位(钉钉环境中有效)"
|
|
20
|
-
},
|
|
21
|
-
{
|
|
22
|
-
"name": "isForceEJS",
|
|
23
|
-
"type": "boolean",
|
|
24
|
-
"default": "false",
|
|
25
|
-
"required": false,
|
|
26
|
-
"description": "是否强制使用 ejs 原生地图方法获取当前定位(ejs 环境中有效)"
|
|
27
|
-
},
|
|
28
|
-
{
|
|
29
|
-
"name": "poicallback",
|
|
30
|
-
"type": "function",
|
|
31
|
-
"default": "-",
|
|
32
|
-
"required": false,
|
|
33
|
-
"description": "获取周边信息的回调函数,回调参数为 `res: obj`"
|
|
34
|
-
},
|
|
35
|
-
{
|
|
36
|
-
"name": "success",
|
|
37
|
-
"type": "function",
|
|
38
|
-
"default": "-",
|
|
39
|
-
"required": false,
|
|
40
|
-
"description": "定位成功后的回调函数,回调参数为 `position: [longitude, latitude]`"
|
|
41
|
-
},
|
|
42
|
-
{
|
|
43
|
-
"name": "error",
|
|
44
|
-
"type": "function",
|
|
45
|
-
"default": "-",
|
|
46
|
-
"required": false,
|
|
47
|
-
"description": "定位失败后的回调函数,回调参数为 `err: obj`"
|
|
48
|
-
}
|
|
49
|
-
],
|
|
50
|
-
"events": [],
|
|
51
|
-
"slots": [],
|
|
52
|
-
"examples": {
|
|
53
|
-
"vue2": [
|
|
54
|
-
{
|
|
55
|
-
"title": "基础用法",
|
|
56
|
-
"code": "<map\n id=\"map\"\n style=\"width: 100vw;height: 300px;\"\n :longitude=\"longitude\"\n :latitude=\"latitude\"\n show-location\n :circles=\"circles\"\n :controls=\"controls\"\n @controltap=\"updateLocation\"\n></map>"
|
|
57
|
-
}
|
|
58
|
-
],
|
|
59
|
-
"vue3": [
|
|
60
|
-
{
|
|
61
|
-
"title": "基础用法",
|
|
62
|
-
"code": "<map\n id=\"map\"\n style=\"width: 100vw;height: 300px;\"\n :longitude=\"longitude\"\n :latitude=\"latitude\"\n show-location\n :circles=\"circles\"\n :controls=\"controls\"\n @controltap=\"updateLocation\"\n></map>"
|
|
63
|
-
}
|
|
64
|
-
]
|
|
65
|
-
}
|
|
66
|
-
}
|
|
@@ -1,158 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"id": "area",
|
|
3
|
-
"name": "em-area",
|
|
4
|
-
"title": "省市区选择",
|
|
5
|
-
"description": "省市区三级联动选择。",
|
|
6
|
-
"props": [
|
|
7
|
-
{
|
|
8
|
-
"name": "v-model",
|
|
9
|
-
"type": "boolean",
|
|
10
|
-
"default": "false",
|
|
11
|
-
"required": false,
|
|
12
|
-
"description": "切换组件显隐"
|
|
13
|
-
},
|
|
14
|
-
{
|
|
15
|
-
"name": "code-value",
|
|
16
|
-
"type": "string",
|
|
17
|
-
"default": "-",
|
|
18
|
-
"required": false,
|
|
19
|
-
"description": "当前选中的省市区`code`"
|
|
20
|
-
},
|
|
21
|
-
{
|
|
22
|
-
"name": "title",
|
|
23
|
-
"type": "string",
|
|
24
|
-
"default": "-",
|
|
25
|
-
"required": false,
|
|
26
|
-
"description": "顶部栏标题"
|
|
27
|
-
},
|
|
28
|
-
{
|
|
29
|
-
"name": "confirm-button-text",
|
|
30
|
-
"type": "string",
|
|
31
|
-
"default": "确认",
|
|
32
|
-
"required": false,
|
|
33
|
-
"description": "确认按钮文字"
|
|
34
|
-
},
|
|
35
|
-
{
|
|
36
|
-
"name": "cancel-button-text",
|
|
37
|
-
"type": "string",
|
|
38
|
-
"default": "取消",
|
|
39
|
-
"required": false,
|
|
40
|
-
"description": "取消按钮文字"
|
|
41
|
-
},
|
|
42
|
-
{
|
|
43
|
-
"name": "area-list",
|
|
44
|
-
"type": "object",
|
|
45
|
-
"default": "-",
|
|
46
|
-
"required": false,
|
|
47
|
-
"description": "省市区数据,格式见下方"
|
|
48
|
-
},
|
|
49
|
-
{
|
|
50
|
-
"name": "columns-placeholder",
|
|
51
|
-
"type": "string[]",
|
|
52
|
-
"default": "[]",
|
|
53
|
-
"required": false,
|
|
54
|
-
"description": "列占位提示文字"
|
|
55
|
-
},
|
|
56
|
-
{
|
|
57
|
-
"name": "loading",
|
|
58
|
-
"type": "boolean",
|
|
59
|
-
"default": "false",
|
|
60
|
-
"required": false,
|
|
61
|
-
"description": "是否显示加载状态"
|
|
62
|
-
},
|
|
63
|
-
{
|
|
64
|
-
"name": "readonly",
|
|
65
|
-
"type": "boolean",
|
|
66
|
-
"default": "false",
|
|
67
|
-
"required": false,
|
|
68
|
-
"description": "是否为只读状态,只读状态下无法切换选项"
|
|
69
|
-
},
|
|
70
|
-
{
|
|
71
|
-
"name": "item-height",
|
|
72
|
-
"type": "number / string",
|
|
73
|
-
"default": "44",
|
|
74
|
-
"required": false,
|
|
75
|
-
"description": "选项高度,支持 `px` `vw` `rem` 单位,默认 `px`"
|
|
76
|
-
},
|
|
77
|
-
{
|
|
78
|
-
"name": "columns-num",
|
|
79
|
-
"type": "number / string",
|
|
80
|
-
"default": "3",
|
|
81
|
-
"required": false,
|
|
82
|
-
"description": "显示列数,3-省市区,2-省市,1-省"
|
|
83
|
-
},
|
|
84
|
-
{
|
|
85
|
-
"name": "visible-item-count",
|
|
86
|
-
"type": "number / string",
|
|
87
|
-
"default": "6",
|
|
88
|
-
"required": false,
|
|
89
|
-
"description": "可见的选项个数"
|
|
90
|
-
},
|
|
91
|
-
{
|
|
92
|
-
"name": "swipe-duration",
|
|
93
|
-
"type": "number / string",
|
|
94
|
-
"default": "1000",
|
|
95
|
-
"required": false,
|
|
96
|
-
"description": "快速滑动时惯性滚动的时长,单位`ms`"
|
|
97
|
-
}
|
|
98
|
-
],
|
|
99
|
-
"events": [
|
|
100
|
-
{
|
|
101
|
-
"name": "close",
|
|
102
|
-
"parameters": "关闭弹出层时触发",
|
|
103
|
-
"description": "`value`: 当前弹出层是否展开"
|
|
104
|
-
}
|
|
105
|
-
],
|
|
106
|
-
"slots": [
|
|
107
|
-
{
|
|
108
|
-
"name": "title",
|
|
109
|
-
"description": "自定义标题内容"
|
|
110
|
-
},
|
|
111
|
-
{
|
|
112
|
-
"name": "columns-top",
|
|
113
|
-
"description": "自定义选项上方内容"
|
|
114
|
-
},
|
|
115
|
-
{
|
|
116
|
-
"name": "columns-bottom",
|
|
117
|
-
"description": "自定义选项下方内容"
|
|
118
|
-
}
|
|
119
|
-
],
|
|
120
|
-
"examples": {
|
|
121
|
-
"vue2": [
|
|
122
|
-
{
|
|
123
|
-
"title": "基础用法",
|
|
124
|
-
"code": "<em-cell @click=\"show1 = true\">基础用法</em-cell>\n<em-area v-model=\"show1\" title=\"标题\" :area-list=\"areaList\"></em-area>"
|
|
125
|
-
},
|
|
126
|
-
{
|
|
127
|
-
"title": "选中省市区",
|
|
128
|
-
"code": "<em-cell @click=\"show2 = true\">选中省市区</em-cell>\n<em-area v-model=\"show2\" title=\"标题\" :area-list=\"areaList\" code-value=\"120105\"></em-area>"
|
|
129
|
-
},
|
|
130
|
-
{
|
|
131
|
-
"title": "配置显示列",
|
|
132
|
-
"code": "<em-cell @click=\"show3 = true\">配置显示列</em-cell>\n<em-area v-model=\"show3\" title=\"标题\" :area-list=\"areaList\" :columns-num=\"2\"></em-area>"
|
|
133
|
-
},
|
|
134
|
-
{
|
|
135
|
-
"title": "配置列占位提示文字",
|
|
136
|
-
"code": "<em-cell @click=\"show4 = true\">配置列占位提示文字</em-cell>\n<em-area\n v-model=\"show4\"\n title=\"标题\"\n :area-list=\"areaList\"\n :columns-placeholder=\"['请选择', '请选择', '请选择']\"\n></em-area>"
|
|
137
|
-
}
|
|
138
|
-
],
|
|
139
|
-
"vue3": [
|
|
140
|
-
{
|
|
141
|
-
"title": "基础用法",
|
|
142
|
-
"code": "<em-cell @click=\"show1 = true\">基础用法</em-cell>\n<em-area v-model=\"show1\" title=\"标题\" :area-list=\"areaList\"></em-area>"
|
|
143
|
-
},
|
|
144
|
-
{
|
|
145
|
-
"title": "选中省市区",
|
|
146
|
-
"code": "<em-cell @click=\"show2 = true\">选中省市区</em-cell>\n<em-area v-model=\"show2\" title=\"标题\" :area-list=\"areaList\" code-value=\"120105\"></em-area>"
|
|
147
|
-
},
|
|
148
|
-
{
|
|
149
|
-
"title": "配置显示列",
|
|
150
|
-
"code": "<em-cell @click=\"show3 = true\">配置显示列</em-cell>\n<em-area v-model=\"show3\" title=\"标题\" :area-list=\"areaList\" :columns-num=\"2\"></em-area>"
|
|
151
|
-
},
|
|
152
|
-
{
|
|
153
|
-
"title": "配置列占位提示文字",
|
|
154
|
-
"code": "<em-cell @click=\"show4 = true\">配置列占位提示文字</em-cell>\n<em-area\n v-model=\"show4\"\n title=\"标题\"\n :area-list=\"areaList\"\n :columns-placeholder=\"['请选择', '请选择', '请选择']\"\n></em-area>"
|
|
155
|
-
}
|
|
156
|
-
]
|
|
157
|
-
}
|
|
158
|
-
}
|
|
@@ -1,93 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"id": "badge",
|
|
3
|
-
"name": "em-badge",
|
|
4
|
-
"title": "徽标",
|
|
5
|
-
"description": "在右上角展示徽标数字或小红点。",
|
|
6
|
-
"props": [
|
|
7
|
-
{
|
|
8
|
-
"name": "content",
|
|
9
|
-
"type": "number / string",
|
|
10
|
-
"default": "-",
|
|
11
|
-
"required": false,
|
|
12
|
-
"description": "徽标内容"
|
|
13
|
-
},
|
|
14
|
-
{
|
|
15
|
-
"name": "color",
|
|
16
|
-
"type": "string",
|
|
17
|
-
"default": "#e03f3f",
|
|
18
|
-
"required": false,
|
|
19
|
-
"description": "徽标背景颜色"
|
|
20
|
-
},
|
|
21
|
-
{
|
|
22
|
-
"name": "dot",
|
|
23
|
-
"type": "boolean",
|
|
24
|
-
"default": "false",
|
|
25
|
-
"required": false,
|
|
26
|
-
"description": "是否展示为小红点"
|
|
27
|
-
},
|
|
28
|
-
{
|
|
29
|
-
"name": "max",
|
|
30
|
-
"type": "number / string",
|
|
31
|
-
"default": "-",
|
|
32
|
-
"required": false,
|
|
33
|
-
"description": "最大值,超过最大值会显示 `{max}+`,仅当 `content` 为数字时有效"
|
|
34
|
-
}
|
|
35
|
-
],
|
|
36
|
-
"events": [],
|
|
37
|
-
"slots": [
|
|
38
|
-
{
|
|
39
|
-
"name": "default",
|
|
40
|
-
"description": "徽标包裹的子元素"
|
|
41
|
-
},
|
|
42
|
-
{
|
|
43
|
-
"name": "content",
|
|
44
|
-
"description": "自定义徽标内容"
|
|
45
|
-
}
|
|
46
|
-
],
|
|
47
|
-
"examples": {
|
|
48
|
-
"vue2": [
|
|
49
|
-
{
|
|
50
|
-
"title": "基础用法",
|
|
51
|
-
"code": "<em-badge :content=\"5\">\n <div class=\"child\" />\n</em-badge>\n<em-badge :content=\"10\">\n <div class=\"child\" />\n</em-badge>\n<em-badge content=\"Hot\">\n <div class=\"child\" />\n</em-badge>\n<em-badge dot>\n <div class=\"child\" />\n</em-badge>\n\n<style>\n .child {\n width: 40px;\n height: 40px;\n background: #f2f3f5;\n border-radius: 4px;\n }\n</style>"
|
|
52
|
-
},
|
|
53
|
-
{
|
|
54
|
-
"title": "最大值",
|
|
55
|
-
"code": "<em-badge :content=\"20\" max=\"9\">\n <div class=\"child\" />\n</em-badge>\n<em-badge :content=\"50\" max=\"20\">\n <div class=\"child\" />\n</em-badge>\n<em-badge :content=\"200\" max=\"99\">\n <div class=\"child\" />\n</em-badge>"
|
|
56
|
-
},
|
|
57
|
-
{
|
|
58
|
-
"title": "自定义颜色",
|
|
59
|
-
"code": "<em-badge :content=\"5\" color=\"#1989fa\">\n <div class=\"child\" />\n</em-badge>\n<em-badge :content=\"10\" color=\"#1989fa\">\n <div class=\"child\" />\n</em-badge>\n<em-badge dot color=\"#1989fa\">\n <div class=\"child\" />\n</em-badge>"
|
|
60
|
-
},
|
|
61
|
-
{
|
|
62
|
-
"title": "自定义徽标内容",
|
|
63
|
-
"code": "<em-badge>\n <div class=\"child\" />\n <template #content>\n <em-icon name=\"success\" class=\"badge-icon\" />\n </template>\n</em-badge>\n<em-badge>\n <div class=\"child\" />\n <template #content>\n <em-icon name=\"cross\" class=\"badge-icon\" />\n </template>\n</em-badge>\n<em-badge>\n <div class=\"child\" />\n <template #content>\n <em-icon name=\"down\" class=\"badge-icon\" />\n </template>\n</em-badge>"
|
|
64
|
-
},
|
|
65
|
-
{
|
|
66
|
-
"title": "独立展示",
|
|
67
|
-
"code": "<em-badge :content=\"20\" />\n\n<em-badge :content=\"200\" max=\"99\" />"
|
|
68
|
-
}
|
|
69
|
-
],
|
|
70
|
-
"vue3": [
|
|
71
|
-
{
|
|
72
|
-
"title": "基础用法",
|
|
73
|
-
"code": "<em-badge :content=\"5\">\n <div class=\"child\" />\n</em-badge>\n<em-badge :content=\"10\">\n <div class=\"child\" />\n</em-badge>\n<em-badge content=\"Hot\">\n <div class=\"child\" />\n</em-badge>\n<em-badge dot>\n <div class=\"child\" />\n</em-badge>\n\n<style>\n .child {\n width: 40px;\n height: 40px;\n background: #f2f3f5;\n border-radius: 4px;\n }\n</style>"
|
|
74
|
-
},
|
|
75
|
-
{
|
|
76
|
-
"title": "最大值",
|
|
77
|
-
"code": "<em-badge :content=\"20\" max=\"9\">\n <div class=\"child\" />\n</em-badge>\n<em-badge :content=\"50\" max=\"20\">\n <div class=\"child\" />\n</em-badge>\n<em-badge :content=\"200\" max=\"99\">\n <div class=\"child\" />\n</em-badge>"
|
|
78
|
-
},
|
|
79
|
-
{
|
|
80
|
-
"title": "自定义颜色",
|
|
81
|
-
"code": "<em-badge :content=\"5\" color=\"#1989fa\">\n <div class=\"child\" />\n</em-badge>\n<em-badge :content=\"10\" color=\"#1989fa\">\n <div class=\"child\" />\n</em-badge>\n<em-badge dot color=\"#1989fa\">\n <div class=\"child\" />\n</em-badge>"
|
|
82
|
-
},
|
|
83
|
-
{
|
|
84
|
-
"title": "自定义徽标内容",
|
|
85
|
-
"code": "<em-badge>\n <div class=\"child\" />\n <template #content>\n <em-icon name=\"success\" class=\"badge-icon\" />\n </template>\n</em-badge>\n<em-badge>\n <div class=\"child\" />\n <template #content>\n <em-icon name=\"cross\" class=\"badge-icon\" />\n </template>\n</em-badge>\n<em-badge>\n <div class=\"child\" />\n <template #content>\n <em-icon name=\"down\" class=\"badge-icon\" />\n </template>\n</em-badge>"
|
|
86
|
-
},
|
|
87
|
-
{
|
|
88
|
-
"title": "独立展示",
|
|
89
|
-
"code": "<em-badge :content=\"20\" />\n\n<em-badge :content=\"200\" max=\"99\" />"
|
|
90
|
-
}
|
|
91
|
-
]
|
|
92
|
-
}
|
|
93
|
-
}
|