Skip to main content

Text 文本

文本展示。

何时使用

  • 通过文本展示描述信息。

组件示例

组件属性

属性说明类型默认值
behavior

默认状态

'NORMAL' | 'HIDDEN'

'NORMAL'

content

文案内容

string

'文本'

contentPaddingMobile

手机端左右间距,单位为px

'0 | 16'

'0'

maxLine

最大行数,超出时自动省略号显示

number

0

showTitle

是否将内容显示为 html 标签的 title属性上

boolean

false

This doc is generated using machine translation. Any discrepancies or differences created in the translation are not binding and have no legal effect for compliance or enforcement purposes.
Copyright © 2025钉钉(中国)信息技术有限公司和/或其关联公司浙ICP备18037475号-4