hevue-img-preview icon indicating copy to clipboard operation
hevue-img-preview copied to clipboard

本组件是一个基于 vue 编写的 vue 图片预览组件,支持 pc 和手机端,支持单图和多图预览,仅传入一个图片地址,即可实现图片预览效果。手机端支持单指拖拽和双指缩放。页面各组件颜色均可可自定义,实现个性化设计,...

Results 16 hevue-img-preview issues
Sort by recently updated
recently updated
newest added

![image](https://user-images.githubusercontent.com/20273239/174257345-8e444bbe-5067-4113-95ae-d5e3b783b89c.png)

如果图片分辨率大,那就会占满整个屏幕,看着不太友好。 ## 能不能,自定义初始化的大小,或者默认缩放比例

![image](https://user-images.githubusercontent.com/25380989/173269320-be4e3271-ae45-4867-a3ff-7cebdee06014.png)

我看到代码里面使用了很多 `滚动Event`,不使用默认行为的前提下 event.preventDefault() 可以使用 [`passive`](https://developer.mozilla.org/zh-CN/docs/Web/API/EventTarget/addEventListener#%E4%BD%BF%E7%94%A8_passive_%E6%94%B9%E5%96%84%E7%9A%84%E6%BB%9A%E5%B1%8F%E6%80%A7%E8%83%BD) 来优化滚动性能。 Chrome 也会给出提示(我目前的版本是 97)。 `[Violation] Added non-passive event listener to a scroll-blocking 'mousewheel' event. Consider marking event handler as 'passive' to make the page more...

- 图片不可访问、期待传入默认图,而不是裂开的图

设置mainBackground不起作用。

theme为light的时候模糊效果失效