Skip to content
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

[upload] 允许自定义图片预览方法 #1560

Open
dd1994 opened this issue Sep 1, 2024 · 4 comments
Open

[upload] 允许自定义图片预览方法 #1560

dd1994 opened this issue Sep 1, 2024 · 4 comments
Labels
enhancement New feature or request

Comments

@dd1994
Copy link

dd1994 commented Sep 1, 2024

这个功能解决了什么问题

场景:开发一个只在微信里打开的页面,点击图片预览时,期待可以调用微信原生的 wx.previewImg 方法预览,这个方法的预览效果更好。但是目前无法自定义图片预览的方法。

你建议的方案是什么

允许自定义图片预览方法

Copy link
Contributor

github-actions bot commented Sep 1, 2024

👋 @dd1994,感谢给 TDesign 提出了 issue。
请根据 issue 模版确保背景信息的完善,我们将调查并尽快回复你。

@anlyyao
Copy link
Collaborator

anlyyao commented Sep 11, 2024

这里是 h5,做不到调用微信原生的 wx.previewImg()哈 😂。 你期望的图片预览效果是什么?

@anlyyao anlyyao added enhancement New feature or request and removed enhancement New feature or request labels Sep 11, 2024
@mkdirnow
Copy link

@dd1994
Copy link
Author

dd1994 commented Sep 18, 2024

这里是 h5,做不到调用微信原生的 wx.previewImg()哈 😂。 你期望的图片预览效果是什么?

关键不是我期望的效果,我建议的方案是 允许自定义图片预览方法,具体怎么做图片预览我自己实现即可

@anlyyao anlyyao added the enhancement New feature or request label Sep 26, 2024
@anlyyao anlyyao marked this as a duplicate of #1554 Oct 18, 2024
@anlyyao anlyyao closed this as completed Oct 18, 2024
@github-actions github-actions bot added the duplicate This issue or pull request already exists label Oct 18, 2024
@anlyyao anlyyao removed the duplicate This issue or pull request already exists label Oct 18, 2024
@anlyyao anlyyao reopened this Oct 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants