Title 标题
基础用法
默认 slot 方式或 title 参数的方式都可以展示标题内容。 标题文字超出一行时自动以省略号截断;鼠标悬浮标题文字,始终显示原生 title 完整内容提示。
默认标题
小标题
个人详情
WinDesignNext is a basic UI component library developed based on Vue. js 3. x and strictly following the latest design specifications. It covers some common UI and interaction function requirements in development, aiming to unify the front-end implementation effect on the basic component UI, reduce developers' attention on the visual level, focus on product function development, and improve application development efficiency while ensuring visual implementation effect.
Title API
Attributes
| 参数 | 说明 | 类型 | 可选值 | 默认值 |
|---|---|---|---|---|
| title | 标题内容 | String | — | — |
| round | 是否需要圆角样式 | Boolean | — | false |
| margin | 间距 | String | — | 0 0 16px |
| size 1.1.16 | 标题大小 | String | 'default' / 'small' | default |
Slot
| 名称 | 说明 |
|---|---|
| default | 自定义标题内容 |
| suf-append | 自定义标题后缀内容 |
Copyright 2025 Winning Health 版权所有

