Tencent / Tencent/tdesign-miniprogram
[view] 没有只是展示文字的组件
Open
Nobody has claimed this yet.
💪🏻 enhancement
- Dominant language
- Vue
- Stars
- 1.8k
- Forks
- 337
- Avg merge
- 1d 21h
- Merged PRs (30d)
- 19
Description
这个功能解决了什么问题
只是展示文本,可以设置自动增加,自适应最好,文字大小可以设置。多行那个我试了一下好像不能用于这种,希望能增加一个。使用场景如,个人头像下面有3行小字自我介绍。
你建议的方案是什么
跟多行输入textarea类似,一个输入,一个是只展示。
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing the existing multiline textarea component and how its input, sizing, and text-display behavior are exposed. Done means providing a separate display-only text component that supports multiple lines, configurable text size, and automatic or adaptive sizing for short introductions.
Written by the indexing model from the issue text.
Assessment
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100