BhtContentOne

文档版本:1.0.0

描述

菜单内容组件,用于展示菜单及其内容列表。

效果

BhtContentOne 效果图

示例

<bht-content-one></bht-content-one>

代码

<bht-content-one :ref="item.id" :item="item"></bht-content-one>

或者

<BhtContentOne :ref="item.id" :item="item"></BhtContentOne>

参数

参数类型必填默认值说明
itemObject-组件配置信息。

配置项

item.config.data 支持的常用字段如下:

key名称类型默认值说明
noContentShow没有内容显示stringtrue请输入是否 没有内容显示
titleStyle标题样式stringfont-size: 20px;请输入 标题样式
listStyle列表样式stringmax-width: 420px;请输入 列表样式
imgHeight图片高度string180px请输入 图片高度
imgWidth图片宽度string180px请输入 图片宽度
contentStyle内容样式stringcolor: #646a73; font-size: 14px;请输入 内容样式
name菜单名称query-请输入 菜单名称
groupName分组名称query-请输入 分组名称
menuPage.current菜单页码query1请输入 菜单页码
menuPage.size菜单条数query2请输入 菜单条数
contentPage.current内容页码query1请输入 内容页码
contentPage.size内容条数query4请输入 内容条数
orderByColumn排序字段querycreateDatetime请输入 排序字段
isAsc排序方式querydesc请输入排序方式(可选值:desc、asc

引入

import { BhtContentOne } from '@behappyto/cms-ui-vue3'