docs(popover): 同步站点 README 示例与 API 到现网 API - #1033
Open
RSS1102 wants to merge 1 commit into
Open
Conversation
- 修复示例文件链接 td_popover_page.dart -> t_popover_page.dart - 全部代码示例迁移到新 API(TButtonVariant/TButtonColorScheme/child/onPressed/colorScheme) - 自定义内容 width/height 对齐现网(150/146) - 去除重复代码块,结构化官方 3 组 Demo(组件类型/样式/位置) - API 部分与生成链 popover_api.md 对齐
Contributor
Web DemoAPK 下载 |
Open
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

🤔 这个 PR 的性质是?
🔗 相关 Issue
💡 需求背景和解决方案
同步 Popover 站点 README 到现网 API,使其与组件当前实现保持一致:
td_popover_page.dart已不存在,更正为t_popover_page.dart。TButtonType/type、TPopoverTheme/theme、onTap、text写法更新为当前 API(TButtonVariant/variant、TButtonColorScheme/colorScheme、onPressed、child),并与示例页t_popover_page.dart实际源码逐字对齐。TPopoverTheme→TPopoverColorScheme、OnTap→TPopoverTapCallback、OnLongTap→TPopoverLongPressCallback,并补充closeOnScroll等参数的说明与类型。#### 简介,重构演示分组标题,删除冗余/过期代码块。本 PR 仅为站点文档同步,不涉及组件代码与 API 变更。
📝 更新日志
docs(popover): 同步站点 README 示例与 API 到现网 API
本条 PR 不需要纳入 Changelog
☑️ 请求合并前的自查清单
type(<scope>?): 修改描述。示例:
fix(TBottomTabBar): 修复 iconText 模式底部溢出