# Panel 面板
### 引入
在`app.json`或`index.json`中引入组件,默认为`ES6`版本,`ES5`引入方式参见[快速上手](#/quickstart)
```json
"usingComponents": {
"van-panel": "path/to/vant-weapp/dist/panel/index"
}
```
## 代码演示
### 基础用法
面板只是一个容器,里面可以放入自定义的内容
```html
内容
```
### 高级用法
使用`slot`自定义内容
```html
内容
按钮
按钮
```
### Props
| 参数 | 说明 | 类型 | 默认值 | 版本 |
|-----------|-----------|-----------|-------------|-------------|
| title | 标题 | *string* | - | - |
| desc | 描述 | *string* | - | - |
| status | 状态 | *string* | - | - |
| use-footer-slot | 是否使用 footer slot | *boolean* | `false` | - |
### Slot
| 名称 | 说明 |
|-----------|-----------|
| - | 自定义内容 |
| header | 自定义 header,如果设置了`title`、`desc`、`status`属性则不生效 |
| footer | 自定义 footer,需要设置 `use-footer-slot`属性 |
### 外部样式类
| 类名 | 说明 |
|-----------|-----------|
| custom-class | 根节点样式类 |
| header-class | 头部样式类 |
| footer-class | 底部样式类 |