Tencent / Tencent/tdesign-miniprogram
[calendar] 想要在dates-item中承载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
这个功能解决了什么问题
通过日历视图进行记录展示时,需要在对应日期位置展示更加复杂的自定义的view元素,希望可以支持。
你建议的方案是什么
通过在format返回值添加一个图片src字段可以方便实现图片展示,但是view还没有好的思路
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 tracing the calendar component's dates-item rendering and the format return value described in the issue. Determine how image src and custom view content should be represented, then verify the calendar can render the requested date content without breaking existing formatting.
Written by the indexing model from the issue text.
Assessment
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100