-
Notifications
You must be signed in to change notification settings - Fork 319
feat(Popover): add new component #4049
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: develop
Are you sure you want to change the base?
Conversation
commit: |
TDesign Component Site Preview Open
|
| @@ -0,0 +1,181 @@ | |||
| import { getWindowInfo } from 'tdesign-miniprogram/common/wechat'; | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
用相对路径
| import transition from '../mixins/transition'; | ||
|
|
||
| // 保留 visible 以支持受控用法 | ||
| delete props.visible; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
受控部分可以参考下 controlledProps
| <t-demo-header title="Popover 弹出气泡" desc="用于文字提示的气泡框。" notice="渲染框架支持情况:Skyline、WebView" /> | ||
| <view class="tdesign-demo-popover"> | ||
| <t-demo title="01 组件类型" padding> | ||
| <base /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
示例中,气泡没出来👀👀

🤔 这个 PR 的性质是?
🔗 相关 Issue
💡 需求背景和解决方案
📝 更新日志
feat(Popover): 新增
Popover组件本条 PR 不需要纳入 Changelog
☑️ 请求合并前的自查清单