Skip to content

Conversation

@Wesley-0808
Copy link
Contributor

@Wesley-0808 Wesley-0808 commented Nov 11, 2025

🤔 这个 PR 的性质是?

  • 日常 bug 修复
  • 新特性提交
  • 文档改进
  • 演示代码改进
  • 组件样式/交互改进
  • CI/CD 改进
  • 重构
  • 代码风格优化
  • 测试用例
  • 分支合并
  • 其他

🔗 相关 Issue

💡 需求背景和解决方案

📝 更新日志

  • feat(Popover): 新增 Popover 组件

  • 本条 PR 不需要纳入 Changelog

☑️ 请求合并前的自查清单

⚠️ 请自检并全部勾选全部选项⚠️

  • 文档已补充或无须补充
  • 代码演示已提供或无须提供
  • TypeScript 定义已补充或无须补充
  • Changelog 已提供或无须提供

@Wesley-0808 Wesley-0808 changed the title feat(Popover): add new component [WIP] feat(Popover): add new component Nov 11, 2025
@pkg-pr-new
Copy link

pkg-pr-new bot commented Nov 11, 2025

Open in StackBlitz

npm i https://pkg.pr.new/tdesign-miniprogram@4049

commit: 995170f

@tdesign-bot
Copy link
Collaborator

tdesign-bot commented Nov 11, 2025

TDesign Component Site Preview Open

Component Preview
tdesign-miniprogram 完成
@tdesign-miniprogram/chat 完成

@Wesley-0808 Wesley-0808 changed the title [WIP] feat(Popover): add new component feat(Popover): add new component Nov 13, 2025
@@ -0,0 +1,181 @@
import { getWindowInfo } from 'tdesign-miniprogram/common/wechat';
Copy link
Collaborator

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;
Copy link
Collaborator

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 />
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

示例中,气泡没出来👀👀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants