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是否需要圆角样式Booleanfalse
margin间距String0 0 16px
size 1.1.16标题大小String'default' / 'small'default

Slot

名称说明
default自定义标题内容
suf-append自定义标题后缀内容

Copyright 2025 Winning Health 版权所有