From aa04ac9ad176dc09fd0e432707574e0d3d119d57 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=B1=E7=9C=A0=E5=84=80=E5=BC=8F?= <854085467@qq.com> Date: Thu, 9 Dec 2021 14:11:29 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A1=A5=E5=85=85=20layer=20=E6=96=87=E6=A1=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- example/docs/zh-CN/components/confirm.md | 20 ++++++++++++++++++++ example/docs/zh-CN/components/load.md | 20 ++++++++++++++++++++ example/docs/zh-CN/components/msg.md | 19 +++++++++++++++++++ src/module/menu/index.vue | 2 +- 4 files changed, 60 insertions(+), 1 deletion(-) diff --git a/example/docs/zh-CN/components/confirm.md b/example/docs/zh-CN/components/confirm.md index bd2f7074..93c69c7b 100644 --- a/example/docs/zh-CN/components/confirm.md +++ b/example/docs/zh-CN/components/confirm.md @@ -52,4 +52,24 @@ export default { } +::: + + +::: title 组件方法 +::: + +``` +layer.confirm(content, options) +``` + +::: title 组件属性 +::: + +::: table + +| 属性 | 描述 | 备注 | +| ------------------- | ------ | ---- | +| content | 内容 | -- | +| options | 选配属性 | { time: 加载时长, btn: 按钮组 } | + ::: \ No newline at end of file diff --git a/example/docs/zh-CN/components/load.md b/example/docs/zh-CN/components/load.md index 994674cb..cb9067ff 100644 --- a/example/docs/zh-CN/components/load.md +++ b/example/docs/zh-CN/components/load.md @@ -103,3 +103,23 @@ export default { ::: + + +::: title 组件方法 +::: + +``` +layer.load(load, options) +``` + +::: title 组件属性 +::: + +::: table + +| 属性 | 描述 | 备注 | +| ------------------- | ------ | ---- | +| load | 组件类型 | `1` `2` `3` | +| options | 选配属性 | { time: 加载时长 } | + +::: \ No newline at end of file diff --git a/example/docs/zh-CN/components/msg.md b/example/docs/zh-CN/components/msg.md index 63c6f1e8..2b2d507d 100644 --- a/example/docs/zh-CN/components/msg.md +++ b/example/docs/zh-CN/components/msg.md @@ -71,4 +71,23 @@ export default { } +::: + +::: title 组件方法 +::: + +``` +layer.msg(content, options) +``` + +::: title 组件属性 +::: + +::: table + +| 属性 | 描述 | 备注 | +| ------------------- | ------ | ----| +| content | 消息内容 | -- | +| options | 选配属性 | { time: 加载时长, icon: 图标 } | + ::: \ No newline at end of file diff --git a/src/module/menu/index.vue b/src/module/menu/index.vue index cd287160..bf918cd2 100644 --- a/src/module/menu/index.vue +++ b/src/module/menu/index.vue @@ -5,7 +5,7 @@