BhtOverLayText
文档版本:1.0.0
描述
悬浮文本组件,用于在页面区域上叠加标题和副标题。
效果
![]()
示例
<bht-over-lay-text></bht-over-lay-text>
代码
<bht-over-lay-text :ref="item.id" :item="item"></bht-over-lay-text>
或者
<BhtOverLayText :ref="item.id" :item="item"></BhtOverLayText>
参数
| 参数 | 类型 | 必填 | 默认值 | 说明 |
|---|---|---|---|---|
| item | Object | 否 | - | 组件配置信息。 |
配置项
item.config.data 支持的常用字段如下:
| key | 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|---|
| title | 标题 | string | 互联网+时代 | - |
| subTitle | 副标题 | string | BELIEVE IN YOURSELF | - |
| style | 样式 | string | color: #000000; z-index: 999 | - |
引入
import { BhtOverLayText } from '@behappyto/cms-ui-vue3'