2021-12-30 00:44:43 +08:00
|
|
|
::: anchor
|
|
|
|
:::
|
|
|
|
|
2022-02-06 05:20:07 +08:00
|
|
|
::: title 基本介绍
|
|
|
|
:::
|
|
|
|
|
|
|
|
::: describe 面板通常是指一个独立的容器
|
|
|
|
:::
|
|
|
|
|
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>
|
|
|
|
|
2021-10-12 11:30:07 +08:00
|
|
|
:::
|
2021-10-20 00:17:51 +08:00
|
|
|
|
2022-02-09 10:37:44 +08:00
|
|
|
::: title 主题配置
|
|
|
|
:::
|
|
|
|
|
|
|
|
<p style="margin-left: 30px">less</p>
|
|
|
|
|
|
|
|
```
|
|
|
|
@panel-border-color: #eee;
|
|
|
|
@panel-border-radius: 2px;
|
|
|
|
@panel-fore-color: #333;
|
|
|
|
@panel-back-color: #fff;
|
|
|
|
```
|
|
|
|
|
|
|
|
<p style="margin-left: 30px">css</p>
|
|
|
|
|
|
|
|
```
|
|
|
|
--panel-border-color: #eee;
|
|
|
|
--panel-border-radius: 2px;
|
|
|
|
--panel-fore-color: #333;
|
|
|
|
--panel-back-color: #fff;
|
|
|
|
```
|
|
|
|
|
2022-01-10 01:17:03 +08:00
|
|
|
::: title Panel 插槽
|
2021-10-20 00:17:51 +08:00
|
|
|
:::
|
|
|
|
|
2021-11-07 15:55:08 +08:00
|
|
|
::: table
|
|
|
|
|
2021-11-01 01:02:21 +08:00
|
|
|
| 插槽 | 描述 | 可选值 |
|
|
|
|
| ------- | -------- | ------ |
|
|
|
|
| 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
|
|
|
:::
|