document(global): 更新文档

This commit is contained in:
就眠仪式 2021-10-13 10:19:38 +08:00
parent bbe15836c9
commit 84f568c312
25 changed files with 72 additions and 27 deletions

View File

@ -68,7 +68,9 @@ export default {
:::
<lay-field title="Animation class" style="margin-top:40px"/>
::: field animation class
:::
| | | |
| --------------------------------- | ------------ | ---------------------------------------------- |

View File

@ -71,7 +71,7 @@ export default {
:::
::: field Avatar attributes
::: field avatar attributes
:::

View File

@ -33,7 +33,9 @@ export default {
:::
<lay-field title="Badge attributes" style="margin-top:40px"/>
::: field badge attributes
:::
| | | |
| ----- | ---- | --------------------------------------------- |

View File

@ -38,7 +38,9 @@ export default {
:::
<lay-field title="Block attributes" style="margin-top:40px"/>
::: field block attributes
:::
| | | |
| ----- | ------ | -------------- |

View File

@ -46,7 +46,9 @@ export default {
:::
<lay-field title="Breadcrumb attributes" style="margin-top:40px"/>
::: field breadcrumb attributes
:::
| | | |
| --------- | ------ | --- |

View File

@ -199,7 +199,9 @@ export default {
:::
<lay-field title="Button attributes" style="margin-top:40px"/>
::: field button attributes
:::
| | | |
| ------ | ------ | --------------------------------------------- |

View File

@ -94,13 +94,17 @@ export default {
:::
<lay-field title="Card attributes" style="margin-top:40px"/>
::: field card attributes
:::
| | | |
| ------ | ---- | ------ |
| title | 标题 | -- |
<lay-field title="Card slots" style="margin-top:40px"/>
::: field card slots
:::
| | | |
| ------ | ---- | ------ |

View File

@ -127,7 +127,7 @@ export default {
:::
::: field Checkbox attributes
::: field checkbox attributes
:::
@ -137,7 +137,7 @@ export default {
| skin | 主题 | -- |
| label | 选中值 | -- |
::: field Checkbox events
::: field checkbox events
:::

View File

@ -32,4 +32,13 @@ export default {
| | | |
| ----- | ------ | -------------- |
| openKeys | 打开的目录 | `array` |
| openKeys | 打开的目录 | `array` |
::: field Collapse-item attributes
:::
| | | |
| ----- | ------ | -------------- |
| id | 编号 | -- |
| title | 标题 | -- |

View File

@ -59,7 +59,9 @@ export default {
:::
<lay-field title="Container attributes" style="margin-top:40px"/>
::: field container attributes
:::
| | | |
| ----- | ------ | -------------- |

View File

@ -61,7 +61,9 @@ export default {
:::
<lay-field title="Dropdown attributes" style="margin-top:40px"/>
::: field dropdown attributes
:::
| | | |
| ------- | -------- | --------------- |

View File

@ -38,7 +38,9 @@ export default {
:::
<lay-field title="Empty attributes" style="margin-top:40px"/>
::: field empty attributes
:::
| | | |
| ----------- | -------- | --- |

View File

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

View File

@ -124,13 +124,17 @@ export default {
:::
<lay-field title="Col attributes" style="margin-top:40px"/>
::: field row attributes
:::
| | | |
| -------- | ---- | ----------------------- |
| space | 间隔 | -- |
<lay-field title="Col attributes" style="margin-top:40px"/>
::: field col attributes
:::
| | | | |
| -------- | ---- | ----------------------- | --- |

View File

@ -1047,7 +1047,7 @@ export default {
:::
::: field Icon attributes
::: field icon attributes
:::

View File

@ -86,7 +86,7 @@ export default {
:::
::: field IconPicker attributes
::: field icon-picker attributes
:::

View File

@ -19,6 +19,10 @@ layui 之所以赢得如此多人的青睐,更多是在于它「前后界面
</lay-layout>
```
::: field layout components
:::
| | | |
| ---------- | ---- | --- |
| lay-layout | 容器 | -- |

View File

@ -31,7 +31,7 @@ export default {
:::
::: field Line attributes
::: field line attributes
:::

View File

@ -56,7 +56,7 @@ export default {
:::
::: field Menu attributes
::: field menu attributes
:::

View File

@ -121,7 +121,7 @@ export default {
| showRefresh | 显示刷新按钮 | `false` |
| showSkip | 显示跳转 | `false` |
::: field Page events
::: field page events
:::

View File

@ -67,7 +67,9 @@ export default {
:::
<lay-field title="Progress attributes" style="margin-top:40px"/>
::: field progress attributes
:::
| | | |
| -------- | -------- | --------------------------------------------- |

View File

@ -64,7 +64,7 @@ export default {
:::
::: field Rate attributes
::: field rate attributes
:::

View File

@ -76,7 +76,7 @@ export default {
:::
::: field Tab attributes
::: field tab attributes
:::

View File

@ -193,7 +193,9 @@ export default {
:::
<lay-field title="Table attributes" style="margin-top:40px"/>
::: field table attributes
:::
| | | |
| --------------- | ---------- | --- |

View File

@ -66,7 +66,9 @@ export default {
:::
<lay-field title="TimelineItem attributes" style="margin-top:40px"/>
::: field timeline-item attributes
:::
| | | |
| --------------- | ---------- | --- |