layui/example/docs/zh-CN/components/panel.md

42 lines
492 B
Markdown
Raw Normal View History

::: anchor
:::
2021-10-26 01:13:23 +08:00
::: title 基础使用
2021-10-19 22:28:44 +08:00
:::
2022-02-01 21:48:39 +08:00
::: demo 使用 `lay-panel` 标签, 创建面板组件
2021-09-27 06:59:01 +08:00
<template>
<lay-panel><div style="padding: 30px;">面板</div></lay-panel>
</template>
<script>
import { ref } from 'vue'
export default {
setup() {
return {
}
}
}
</script>
:::
2022-01-10 01:17:03 +08:00
::: title Panel 插槽
:::
2021-11-07 15:55:08 +08:00
::: table
| 插槽 | 描述 | 可选值 |
| ------- | -------- | ------ |
| default | 默认插槽 | -- |
2021-11-07 15:55:08 +08:00
2021-11-07 15:56:24 +08:00
:::
2021-12-16 17:57:59 +08:00
::: comment
2022-01-12 14:19:06 +08:00
:::
::: previousNext panel
2021-12-16 17:57:59 +08:00
:::