搜索结果列表页面开发

This commit is contained in:
付民康
2025-03-12 18:41:20 +08:00
commit 7cebe8fc00
739 changed files with 88149 additions and 0 deletions

View File

@@ -0,0 +1,25 @@
# CustomHeader
### 说明
- 自定义header组件
``` js
<CustomList title='' data='' />
```
### Props
| 参数 | 说明 | 类型 | 可选值 | 默认值 |
|-----------|--------|------------------------------------------------------------|----------|------|
| title? | 标题 | string | - | '' |
| data | 数据 | { name: string; extra: string; [propName: string]: any }[] | - | [] |
| showCount? | 是否显示计数 | boolean | - | true |
| showHeader? | 是否显示头部 | boolean | - | true |
### Slots
| 名称 | 说明 |
|------------|--------------|
| actions | 组件头部操作区域插槽 |
| item | 组件单元数据插槽 |
| item-name | 组件单元数据名称区域插槽 |
| item-extra | 组件单元数据尾部区域插槽 |