BhtContentCard
文档版本:1.0.0
描述
卡片内容组件,用于以卡片形式展示菜单内容。
效果
![]()
示例
<bht-content-card></bht-content-card>
代码
<bht-content-card :ref="item.id" :item="item"></bht-content-card>
或者
<BhtContentCard :ref="item.id" :item="item"></BhtContentCard>
参数
| 参数 | 类型 | 必填 | 默认值 | 说明 |
|---|---|---|---|---|
| item | Object | 否 | - | 组件配置信息。 |
配置项
item.config.data 支持的常用字段如下:
| key | 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|---|
| name | 菜单名称 | query | - | 请输入菜单名称 |
| groupName | 分组名称 | query | - | 请输入分组名称 |
| menuPage.current | 菜单页码 | query | 1 | 请输入 菜单页码 |
| menuPage.size | 菜单条数 | query | 10 | 请输入的菜单条数 |
| contentPage.current | 内容页码 | query | 1 | 请输入 内容页码 |
| contentPage.size | 内容条数 | query | 10 | 请输入的内容条数 |
| orderByColumn | 排序字段 | query | createDatetime | 请输入排序字段 |
| isAsc | 排序方式 | query | desc | 请输入排序方式(可选值:desc、asc |
引入
import { BhtContentCard } from '@behappyto/cms-ui-vue3'