Tencent / Tencent/tdesign-miniprogram
【DropDownMenu】自定义 arrow-icon 缺失激活状态图标设置功能
Open
Nobody has claimed this yet.
💪🏻 enhancement
- Dominant language
- Vue
- Stars
- 1.8k
- Forks
- 337
- Avg merge
- 1d 21h
- Merged PRs (30d)
- 19
Description
这个功能解决了什么问题
默认、激活状态显示不同颜色图标
你建议的方案是什么
arrow-icon 类型应为 Array, 可同时自定义设置默认、激活时图标 (eg: Rate 组件)
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 with the DropDownMenu arrow-icon API and compare the Rate component, which the issue cites as an example. Confirm how default and active-state icons are represented, then verify that both states can be customized independently and display the expected icons.
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