鸿蒙text 字符串过长,显示... 宇宙最强的无天佛祖 2026-03-27 4 阅读1分钟 Text('xxxxxxxxxxxxxxxxxxxxxxxx') .fontSize(15) .fontWight(500) .maxLines(1) .textOverflow({ overflow: TextOverflow.Ellipsis }) .wordBreak(WordBreak.BREAK_ALL) .constraintSize({ maxWidth: `calc(100% - ${SHARELINK_ICON_WIDTH + 7}vp)` })