更新文档

This commit is contained in:
就眠仪式 2021-10-12 18:00:09 +08:00
parent c89c04839c
commit 0a9f0352ec
25 changed files with 76 additions and 2 deletions

View File

@ -68,6 +68,8 @@ export default {
:::
<lay-field title="Animation class" style="margin-top:40px"/>
| | | |
| --------------------------------- | ------------ | ---------------------------------------------- |
| layui-anim-down | 顶部往下滑入 | `layui-anim layui-anim-down` |

View File

@ -71,6 +71,8 @@ export default {
:::
<lay-field title="Avatar attributes" style="margin-top:40px"/>
| | | |
| ------ | ---- | -------------- |
| src | 图源 | -- |

View File

@ -33,6 +33,8 @@ export default {
:::
<lay-field title="Badge attributes" style="margin-top:40px"/>
| | | |
| ----- | ---- | --------------------------------------------- |
| type | 类型 | `dot` `rim` |

View File

@ -37,3 +37,9 @@ export default {
</script>
:::
<lay-field title="Block attributes" style="margin-top:40px"/>
| | | |
| ----- | ------ | -------------- |
| nm | 灰色样式 | -- |

View File

@ -46,6 +46,8 @@ export default {
:::
<lay-field title="Breadcrumb attributes" style="margin-top:40px"/>
| | | |
| --------- | ------ | --- |
| separator | 分割符 | `/` |

View File

@ -199,6 +199,8 @@ export default {
:::
<lay-field title="Button attributes" style="margin-top:40px"/>
| | | |
| ------ | ------ | --------------------------------------------- |
| type | 主题 | `primary` `normal` `warm` `danger` `disabled` |

View File

@ -49,6 +49,8 @@ export default {
:::
<lay-field title="Card attributes" style="margin-top:40px"/>
| | | |
| ------ | ---- | ------ |
| header | 插槽 | `内容` |

View File

@ -80,6 +80,16 @@ export default {
:::
<lay-field title="Checkbox attributes" style="margin-top:40px"/>
| | | | |
| -------- | ---- | ----------------------- | --- |
| xs | 尺寸 | 超小屏幕 (手机<768px) | 12 |
| name | 尺寸 | 超小屏幕 (手机<768px) | 12 |
| skin | 尺寸 | 超小屏幕 (手机<768px) | 12 |
| label | 尺寸 | 超小屏幕 (手机<768px) | 12 |
<lay-field title="Checkbox events" style="margin-top:40px"/>
| | | | |
| -------- | ---- | ----------------------- | --- |
| change | 切换事件 | 超小屏幕 (手机<768px) | 12 |

View File

@ -25,6 +25,8 @@ export default {
:::
<lay-field title="Collapse attributes" style="margin-top:40px"/>
| | | |
| ----- | ------ | -------------- |
| openKeys | 打开的目录 | `array` |

View File

@ -59,6 +59,8 @@ export default {
:::
<lay-field title="Container attributes" style="margin-top:40px"/>
| | | |
| ----- | ------ | -------------- |
| fluid | 流模式 | `true` `false` |

View File

@ -61,6 +61,8 @@ export default {
:::
<lay-field title="Dropdown attributes" style="margin-top:40px"/>
| | | |
| ------- | -------- | --------------- |
| trigger | 触发方式 | `click` `hover` |

View File

@ -38,6 +38,8 @@ export default {
:::
<lay-field title="Empty attributes" style="margin-top:40px"/>
| | | |
| ----------- | -------- | --- |
| description | 描述信息 | -- |

View File

@ -58,6 +58,8 @@ export default {
:::
<lay-field title="Field attributes" style="margin-top:40px"/>
| | | |
| ----- | ---- | --- |
| title | 标题 | -- |

View File

@ -124,6 +124,14 @@ export default {
:::
<lay-field title="Col attributes" style="margin-top:40px"/>
| | | |
| -------- | ---- | ----------------------- |
| space | 间隔 | -- |
<lay-field title="Col attributes" style="margin-top:40px"/>
| | | | |
| -------- | ---- | ----------------------- | --- |
| xs | 尺寸 | 超小屏幕 (手机<768px) | 12 |

View File

@ -1047,6 +1047,8 @@ export default {
:::
<lay-field title="Icon attributes" style="margin-top:40px"/>
| | | |
| ---- | ---- | ----------------- |
| type | 图标 | `layui-icon-home` |

View File

@ -86,6 +86,8 @@ export default {
:::
<lay-field title="IconPicker attributes" style="margin-top:40px"/>
| | | |
| ---------- | -------- | --- |
| v-model | 默认值 | -- |

View File

@ -31,6 +31,8 @@ export default {
:::
<lay-field title="Line attributes" style="margin-top:40px"/>
| | | |
| ----- | ---- | --------------------------------------------- |
| theme | 主题 | `orange` `green` `cyan` `blue` `black` `gray` |

View File

@ -56,6 +56,8 @@ export default {
:::
<lay-field title="Menu attributes" style="margin-top:40px"/>
| | | |
| ----------- | -------- | --- |
| selectedKey | 默认选择 | -- |

View File

@ -107,6 +107,8 @@ export default {
:::
<lay-field title="Page attributes" style="margin-top:40px"/>
| | | |
| ----------- | ------------ | ------- |
| limit | 每页数量 | -- |

View File

@ -67,6 +67,8 @@ export default {
:::
<lay-field title="Progress attributes" style="margin-top:40px"/>
| | | |
| -------- | -------- | --------------------------------------------- |
| percent | 进度 | -- |

View File

@ -64,6 +64,11 @@ export default {
:::
| | | |
| ------- | -------- | -------------- |
| v-model | 当前激活 | -- |
| type | 主题样式 | `card` `brief` |
| | | |
| ------- | -------- | --- |
| v-model | 评分值 | -- |

View File

@ -76,6 +76,8 @@ export default {
:::
<lay-field title="Tab attributes" style="margin-top:40px"/>
| | | |
| ------- | -------- | -------------- |
| v-model | 当前激活 | -- |

View File

@ -193,6 +193,8 @@ export default {
:::
<lay-field title="Table attributes" style="margin-top:40px"/>
| | | |
| --------------- | ---------- | --- |
| columns | 列配置 | -- |

View File

@ -65,3 +65,10 @@ export default {
</script>
:::
<lay-field title="TimelineItem attributes" style="margin-top:40px"/>
| | | |
| --------------- | ---------- | --- |
| simple | 简单模式 | -- |
| title | 标题 | -- |

View File

@ -8,7 +8,7 @@
</fieldset>
<fieldset v-else class="layui-elem-field layui-field-title">
<legend><a name="docend">结语</a></legend>
<legend><a name="docend">{{title}}</a></legend>
</fieldset>
</template>