BhtContentSnapshot

文档版本:1.0.0

描述

内容快照组件,用于展示菜单与内容摘要。

效果

BhtContentSnapshot 效果图

示例

<bht-content-snapshot></bht-content-snapshot>

代码

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

或者

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

参数

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

配置项

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

key名称类型默认值说明
noMenuShow显示菜单stringtrue请输入是否 显示菜单
titleStyle标题样式stringfont-size: 20px;请输入 标题样式
imgStyle图片样式stringwidth: 360px; height: 260px;请输入 图片样式
contentStyle内容样式stringline-height: 35px;请输入 内容样式
name菜单名称query-请输入菜单名称
groupName分组名称query-请输入菜单分组名称
menuPage.current菜单页码query1请输入 菜单页码
menuPage.size菜单条数query4请输入的菜单条数
menuPage.Orders[0].column排序字段querycreateDatetime请输入的菜单排序字段
menuPage.Orders[0].asc正序排序querytrue请输入菜单是否正序排序
contentPage.current内容页码query1请输入 内容页码
contentPage.size内容条数query10请输入的内容条数
contentPage.Orders[0].column排序字段querycreateDatetime请输入的内容排序字段
contentPage.Orders[0].asc正序排序querytrue请输入内容是否正序排序

引入

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