-
Notifications
You must be signed in to change notification settings - Fork 25
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
关于懒加载图片适配问题 #57
Comments
懒加载组件用的哪个? |
<LazyImg |
懒加载图片我看有个padding-bottom,最大值是200吗 |
你左边那个红色的正方形图片,我看是铺满了的,你有检查过没铺满的卡片的模糊图和清晰图片是一个比例吗? |
loadProps: { |
emmm....我知道原因了。这是一个数学问题。 |
没想到这。。。这种情况有啥好的处理办法吗,间距还必须保留 |
这种结构试试。 |
其实,你这个没必要用2张图的。你的背景图就用的你主图然后给个高斯模糊的滤镜就行了。这样还能少加载一倍的资源。你在lazyImage加载成功的事件里面给你背景图赋地址就行了。 |
好的,我试试,感谢 |
@blackomilk 你这个照片显示的样式可以提供下吗 |
The text was updated successfully, but these errors were encountered: