更新文档
This commit is contained in:
@@ -68,6 +68,8 @@ export default {
|
||||
|
||||
:::
|
||||
|
||||
<lay-field title="Animation class" style="margin-top:40px"/>
|
||||
|
||||
| | | |
|
||||
| --------------------------------- | ------------ | ---------------------------------------------- |
|
||||
| layui-anim-down | 顶部往下滑入 | `layui-anim layui-anim-down` |
|
||||
|
||||
@@ -71,6 +71,8 @@ export default {
|
||||
|
||||
:::
|
||||
|
||||
<lay-field title="Avatar attributes" style="margin-top:40px"/>
|
||||
|
||||
| | | |
|
||||
| ------ | ---- | -------------- |
|
||||
| src | 图源 | -- |
|
||||
|
||||
@@ -33,6 +33,8 @@ export default {
|
||||
|
||||
:::
|
||||
|
||||
<lay-field title="Badge attributes" style="margin-top:40px"/>
|
||||
|
||||
| | | |
|
||||
| ----- | ---- | --------------------------------------------- |
|
||||
| type | 类型 | `dot` `rim` |
|
||||
|
||||
@@ -37,3 +37,9 @@ export default {
|
||||
</script>
|
||||
|
||||
:::
|
||||
|
||||
<lay-field title="Block attributes" style="margin-top:40px"/>
|
||||
|
||||
| | | |
|
||||
| ----- | ------ | -------------- |
|
||||
| nm | 灰色样式 | -- |
|
||||
@@ -46,6 +46,8 @@ export default {
|
||||
|
||||
:::
|
||||
|
||||
<lay-field title="Breadcrumb attributes" style="margin-top:40px"/>
|
||||
|
||||
| | | |
|
||||
| --------- | ------ | --- |
|
||||
| separator | 分割符 | `/` |
|
||||
|
||||
@@ -199,6 +199,8 @@ export default {
|
||||
|
||||
:::
|
||||
|
||||
<lay-field title="Button attributes" style="margin-top:40px"/>
|
||||
|
||||
| | | |
|
||||
| ------ | ------ | --------------------------------------------- |
|
||||
| type | 主题 | `primary` `normal` `warm` `danger` `disabled` |
|
||||
|
||||
@@ -49,6 +49,8 @@ export default {
|
||||
|
||||
:::
|
||||
|
||||
<lay-field title="Card attributes" style="margin-top:40px"/>
|
||||
|
||||
| | | |
|
||||
| ------ | ---- | ------ |
|
||||
| header | 插槽 | `内容` |
|
||||
|
||||
@@ -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 |
|
||||
@@ -25,6 +25,8 @@ export default {
|
||||
|
||||
:::
|
||||
|
||||
<lay-field title="Collapse attributes" style="margin-top:40px"/>
|
||||
|
||||
| | | |
|
||||
| ----- | ------ | -------------- |
|
||||
| openKeys | 打开的目录 | `array` |
|
||||
@@ -59,6 +59,8 @@ export default {
|
||||
|
||||
:::
|
||||
|
||||
<lay-field title="Container attributes" style="margin-top:40px"/>
|
||||
|
||||
| | | |
|
||||
| ----- | ------ | -------------- |
|
||||
| fluid | 流模式 | `true` `false` |
|
||||
|
||||
@@ -61,6 +61,8 @@ export default {
|
||||
|
||||
:::
|
||||
|
||||
<lay-field title="Dropdown attributes" style="margin-top:40px"/>
|
||||
|
||||
| | | |
|
||||
| ------- | -------- | --------------- |
|
||||
| trigger | 触发方式 | `click` `hover` |
|
||||
|
||||
@@ -38,6 +38,8 @@ export default {
|
||||
|
||||
:::
|
||||
|
||||
<lay-field title="Empty attributes" style="margin-top:40px"/>
|
||||
|
||||
| | | |
|
||||
| ----------- | -------- | --- |
|
||||
| description | 描述信息 | -- |
|
||||
|
||||
@@ -58,6 +58,8 @@ export default {
|
||||
|
||||
:::
|
||||
|
||||
<lay-field title="Field attributes" style="margin-top:40px"/>
|
||||
|
||||
| | | |
|
||||
| ----- | ---- | --- |
|
||||
| title | 标题 | -- |
|
||||
|
||||
@@ -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 |
|
||||
|
||||
@@ -1047,6 +1047,8 @@ export default {
|
||||
|
||||
:::
|
||||
|
||||
<lay-field title="Icon attributes" style="margin-top:40px"/>
|
||||
|
||||
| | | |
|
||||
| ---- | ---- | ----------------- |
|
||||
| type | 图标 | `layui-icon-home` |
|
||||
|
||||
@@ -86,6 +86,8 @@ export default {
|
||||
|
||||
:::
|
||||
|
||||
<lay-field title="IconPicker attributes" style="margin-top:40px"/>
|
||||
|
||||
| | | |
|
||||
| ---------- | -------- | --- |
|
||||
| v-model | 默认值 | -- |
|
||||
|
||||
@@ -31,6 +31,8 @@ export default {
|
||||
|
||||
:::
|
||||
|
||||
<lay-field title="Line attributes" style="margin-top:40px"/>
|
||||
|
||||
| | | |
|
||||
| ----- | ---- | --------------------------------------------- |
|
||||
| theme | 主题 | `orange` `green` `cyan` `blue` `black` `gray` |
|
||||
|
||||
@@ -56,6 +56,8 @@ export default {
|
||||
|
||||
:::
|
||||
|
||||
<lay-field title="Menu attributes" style="margin-top:40px"/>
|
||||
|
||||
| | | |
|
||||
| ----------- | -------- | --- |
|
||||
| selectedKey | 默认选择 | -- |
|
||||
|
||||
@@ -107,6 +107,8 @@ export default {
|
||||
|
||||
:::
|
||||
|
||||
<lay-field title="Page attributes" style="margin-top:40px"/>
|
||||
|
||||
| | | |
|
||||
| ----------- | ------------ | ------- |
|
||||
| limit | 每页数量 | -- |
|
||||
|
||||
@@ -67,6 +67,8 @@ export default {
|
||||
|
||||
:::
|
||||
|
||||
<lay-field title="Progress attributes" style="margin-top:40px"/>
|
||||
|
||||
| | | |
|
||||
| -------- | -------- | --------------------------------------------- |
|
||||
| percent | 进度 | -- |
|
||||
|
||||
@@ -64,6 +64,11 @@ export default {
|
||||
|
||||
:::
|
||||
|
||||
| | | |
|
||||
| ------- | -------- | -------------- |
|
||||
| v-model | 当前激活 | -- |
|
||||
| type | 主题样式 | `card` `brief` |
|
||||
|
||||
| | | |
|
||||
| ------- | -------- | --- |
|
||||
| v-model | 评分值 | -- |
|
||||
|
||||
@@ -76,6 +76,8 @@ export default {
|
||||
|
||||
:::
|
||||
|
||||
<lay-field title="Tab attributes" style="margin-top:40px"/>
|
||||
|
||||
| | | |
|
||||
| ------- | -------- | -------------- |
|
||||
| v-model | 当前激活 | -- |
|
||||
|
||||
@@ -193,6 +193,8 @@ export default {
|
||||
|
||||
:::
|
||||
|
||||
<lay-field title="Table attributes" style="margin-top:40px"/>
|
||||
|
||||
| | | |
|
||||
| --------------- | ---------- | --- |
|
||||
| columns | 列配置 | -- |
|
||||
|
||||
@@ -65,3 +65,10 @@ export default {
|
||||
</script>
|
||||
|
||||
:::
|
||||
|
||||
<lay-field title="TimelineItem attributes" style="margin-top:40px"/>
|
||||
|
||||
| | | |
|
||||
| --------------- | ---------- | --- |
|
||||
| simple | 简单模式 | -- |
|
||||
| title | 标题 | -- |
|
||||
Reference in New Issue
Block a user