补全 md comment 插件

This commit is contained in:
就眠儀式
2021-12-16 17:57:59 +08:00
parent 9a3ea4363b
commit 86350f0ec4
44 changed files with 128 additions and 4 deletions

View File

@@ -91,4 +91,7 @@ export default {
| layui-anim-rotate | 360 度旋转 | `layui-anim layui-anim-rotate` |
| layui-anim-rotate layui-anim-loop | 循环动画 | `layui-anim layui-anim-rotate layui-anim-loop` |
:::
::: comment
:::

View File

@@ -92,3 +92,6 @@ export default {
| radius | 圆形 | `true` `false` |
:::
::: comment
:::

View File

@@ -59,5 +59,5 @@ export default {
:::
::: comment 1
::: comment
:::

View File

@@ -57,3 +57,6 @@ export default {
| nm | 灰色样式 | -- |
:::
::: comment
:::

View File

@@ -100,3 +100,6 @@ export default {
| default | 默认插槽 | `--` |
:::
::: comment
:::

View File

@@ -128,3 +128,6 @@ export default {
| body | 内容插槽 | -- |
:::
::: comment
:::

View File

@@ -139,3 +139,6 @@ export default {
| change | 切换回调 | id |
:::
::: comment
:::

View File

@@ -210,3 +210,6 @@ export default {
| change | 切换事件 | isChecked : 当前状态 |
:::
::: comment
:::

View File

@@ -206,3 +206,6 @@ export default {
| change | 折叠面板变化触发事件 | (`id`, `isShow`, activeValues)<br> <br> `id`: (`number` / `string`)对应当前操作面板的值 <br> <br> `isShow`: (`boolean`)`true` -> 展开, `false` -> 折叠 <br> <br> `activeValues`: (`Array`)当前状态为展开的面板值集合|
:::
::: comment
:::

View File

@@ -28,3 +28,6 @@ export default {
| showSearch | 启用搜索 | -- |
:::
::: comment
:::

View File

@@ -72,4 +72,7 @@ layer.confirm(content, options)
| content | 内容 | -- |
| options | 选配属性 | { time: 加载时长, btn: 按钮组 } |
:::
::: comment
:::

View File

@@ -75,3 +75,6 @@ export default {
| fluid | 流模式 | `true` `false` |
:::
::: comment
:::

View File

@@ -88,3 +88,6 @@ export default {
| content | 下拉内容 | -- |
:::
::: comment
:::

View File

@@ -54,3 +54,6 @@ export default {
| description | 描述信息 | -- |
:::
::: comment
:::

View File

@@ -68,3 +68,6 @@ export default {
| title | 标题 | -- |
:::
::: comment
:::

View File

@@ -74,3 +74,6 @@ export default {
| label | 标题名称 | -- |
:::
::: comment
:::

View File

@@ -164,3 +164,6 @@ export default {
| lg-offset | 偏移 - 大型屏幕 (桌面 ≥1200px) | 0 - 24 |
:::
::: comment
:::

View File

@@ -1127,3 +1127,6 @@ npm install @layui/icons-vue
| size | 尺寸 | -- |
:::
::: comment
:::

View File

@@ -110,3 +110,6 @@ export default {
| showSearch | 启用搜索 | -- |
:::
::: comment
:::

View File

@@ -129,3 +129,6 @@ export default {
| blur | 原生 blur 事件 | -- |
:::
::: comment
:::

View File

@@ -137,3 +137,6 @@
| change | 值更改触发事件 | (value: number) |
:::
::: comment
:::

View File

@@ -184,3 +184,6 @@ export default {
| lay-footer | 底部 | -- |
:::
::: comment
:::

View File

@@ -41,3 +41,6 @@ export default {
| theme | 主题 | `orange` `green` `cyan` `blue` `black` `gray` |
:::
::: comment
:::

View File

@@ -122,4 +122,7 @@ layer.load(load, options)
| load | 组件类型 | `1` `2` `3` |
| options | 选配属性 | { time: 加载时长 } |
:::
::: comment
:::

View File

@@ -99,3 +99,6 @@ export default {
| title | 菜单标题 | -- |
:::
::: comment
:::

View File

@@ -302,3 +302,6 @@ export default {
| isOutAnim | 关闭动画 | `true` `false` |
:::
::: comment
:::

View File

@@ -90,4 +90,7 @@ layer.msg(content, options)
| content | 消息内容 | -- |
| options | 选配属性 | { time: 加载时长, icon: 图标 } |
:::
::: comment
:::

View File

@@ -232,3 +232,6 @@ export default {
| next | 下一页 | 下一页 |
:::
::: comment
:::

View File

@@ -31,3 +31,6 @@ export default {
| default | 默认插槽 | -- |
:::
::: comment
:::

View File

@@ -125,3 +125,6 @@ export default {
| showText | 展示描述 | -- |
:::
::: comment
:::

View File

@@ -117,3 +117,6 @@ export default {
| change | 切换事件 | current : 当前值 |
:::
::: comment
:::

View File

@@ -305,3 +305,6 @@ export default {
| select | 选中之后触发事件 | (value: number) |
:::
::: comment
:::

View File

@@ -100,3 +100,6 @@ export default {
| change | 切换事件 | value |
:::
::: comment
:::

View File

@@ -40,4 +40,7 @@ export default {
}
</script>
:::
::: comment
:::

View File

@@ -133,3 +133,6 @@ export default {
| change | 切换事件 | current : 当前值 |
:::
::: comment
:::

View File

@@ -243,3 +243,6 @@ export default {
| close | 关闭事件 | id |
:::
::: comment
:::

View File

@@ -321,4 +321,7 @@ export default {
| key | 数据字段 | -- |
| customSlot | 插槽名称 | -- |
| width | 宽度 | -- |
:::
::: comment
:::

View File

@@ -108,3 +108,6 @@ export default {
| blur | 原生 blur 事件 | -- |
:::
::: comment
:::

View File

@@ -83,3 +83,6 @@ export default {
| title | 标题 | -- |
:::
::: comment
:::

View File

@@ -125,3 +125,6 @@
| isCanHide | 控制是否可以隐藏,可参考`lay-slider`组件 | `true`(默认值)、`false` ||
:::
::: comment
:::

View File

@@ -106,3 +106,6 @@ export default {
| item | 列表项 | { data } |
:::
::: comment
:::

View File

@@ -253,3 +253,6 @@ function handleClick(node) {
| node-click | 节点 click 事件 | -- |
:::
::: comment
:::