补全 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

@ -92,3 +92,6 @@ export default {
| layui-anim-rotate layui-anim-loop | 循环动画 | `layui-anim layui-anim-rotate layui-anim-loop` | | 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` | | radius | 圆形 | `true` `false` |
::: :::
::: comment
:::

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -210,3 +210,6 @@ export default {
| change | 切换事件 | isChecked : 当前状态 | | 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`)当前状态为展开的面板值集合| | 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 | 启用搜索 | -- | | showSearch | 启用搜索 | -- |
::: :::
::: comment
:::

View File

@ -73,3 +73,6 @@ layer.confirm(content, options)
| options | 选配属性 | { time: 加载时长, btn: 按钮组 } | | options | 选配属性 | { time: 加载时长, btn: 按钮组 } |
::: :::
::: comment
:::

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -123,3 +123,6 @@ layer.load(load, options)
| options | 选配属性 | { time: 加载时长 } | | options | 选配属性 | { time: 加载时长 } |
::: :::
::: comment
:::

View File

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

View File

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

View File

@ -91,3 +91,6 @@ layer.msg(content, options)
| options | 选配属性 | { time: 加载时长, icon: 图标 } | | options | 选配属性 | { time: 加载时长, icon: 图标 } |
::: :::
::: comment
:::

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -41,3 +41,6 @@ export default {
</script> </script>
::: :::
::: comment
:::

View File

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

View File

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

View File

@ -322,3 +322,6 @@ export default {
| customSlot | 插槽名称 | -- | | customSlot | 插槽名称 | -- |
| width | 宽度 | -- | | width | 宽度 | -- |
::: :::
::: comment
:::

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -16,9 +16,10 @@
<li> <li>
<h3>0.2.8 <span class="layui-badge-rim">2021-12-15</span></h3> <h3>0.2.8 <span class="layui-badge-rim">2021-12-15</span></h3>
<ul> <ul>
<li>[新增] tooltip 组件, 便捷的信息提示</li> <li>[新增] tooltip 警告提示,展现需要关注的信息。</li>
<li>[新增] input-number 组件, 数字输入框, 方便数字录入</li> <li>[新增] input-number 数字输入框, 通过鼠标或键盘,输入范围内的数值</li>
<li>[加强] layer 组件 area 属性, 支持 字符串 与 数组 类型, 默认为 auto 宽高自适应。</li> <li>[加强] layer 组件 area 属性, 支持 字符串 与 数组 类型, 默认为 auto 宽高自适应。</li>
<li>[修复] layer 组件 body 禁用拖动, 仅支持标题拖动窗体。</li>
<li>[集成] utteranc.es 文档评论。</li> <li>[集成] utteranc.es 文档评论。</li>
<li>[升级] layer-vue 1.1.7。</li> <li>[升级] layer-vue 1.1.7。</li>
</ul> </ul>