tdesign-mobile-react icon indicating copy to clipboard operation
tdesign-mobile-react copied to clipboard

feat(image-viewer): add image-viewer

Open novlan1 opened this issue 10 months ago • 5 comments

🤔 这个 PR 的性质是?

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

🔗 相关 Issue

fix #581 fix #598

💡 需求背景和解决方案

📝 更新日志

  • feat(ImageViewer): 新增图片预览组件

  • [ ] 本条 PR 不需要纳入 Changelog

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

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

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

novlan1 avatar Apr 08 '25 04:04 novlan1

Open in StackBlitz

npm i https://pkg.pr.new/tdesign-mobile-react@607

commit: 7b0b7e9

pkg-pr-new[bot] avatar Apr 08 '25 04:04 pkg-pr-new[bot]

完成

github-actions[bot] avatar Apr 08 '25 04:04 github-actions[bot]

@novlan1 双击缩放、双指缩放时,图片被遮挡; 单点击会造成图片切换。辛苦有空在看看~

链接:https://preview-pr-607-tdesign-mobile-react.surge.sh/mobile.html#/image-viewer

真机效果:

https://github.com/user-attachments/assets/026dd0df-5409-4f72-b730-07ebe5f6df1e

anlyyao avatar Apr 23 '25 11:04 anlyyao

/update-snapshot

anlyyao avatar May 16 '25 02:05 anlyyao

⏳ 正在运行快照更新。。。 CI: Open

github-actions[bot] avatar May 16 '25 02:05 github-actions[bot]