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
[Bug Report] ImagePreview 组件放大高清图片模糊 #5449
Comments
重复 issue:#4553 |
我也遇到了,请问怎么解决? |
style.transform = "scale3d(" + scale + ", " + scale + ", 1) translate(" + this.moveX / scale + "px, " + this.moveY / scale + "px)";
找到node_modules/vant 下的这句话
然后改成
style.transform = "scale(" + scale + ", " + scale + ") translate(" + this.moveX / scale + "px, " + this.moveY / scale + "px)";
将scale3d改用scale,后面的参数一改就ok
…------------------ 原始邮件 ------------------
发件人: "woomins"<notifications@github.com>;
发送时间: 2020年3月30日(星期一) 下午5:52
收件人: "youzan/vant"<vant@noreply.github.com>;
抄送: "夏伤"<501235949@qq.com>; "Author"<author@noreply.github.com>;
主题: Re: [youzan/vant] [Bug Report] ImagePreview 组件放大高清图片模糊 (#5449)
我也遇到了,请问怎么解决?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
@xiemf Ios始终不行,这个方法试过了,你的可以吗??? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
设备 / 浏览器
iphone6/微信浏览器
Vant 版本
2.4.0
Vue版本
2.6.11
重现链接
https://youzan.github.io/vant/#/zh-CN/image-preview
描述问题
在ios系统浏览器预览图片 放大后导致高清图片模糊(推测为采用scale3d缩放图片导致)
The text was updated successfully, but these errors were encountered: