Code Monkey home page Code Monkey logo

Comments (7)

heikaimu avatar heikaimu commented on August 27, 2024

图片的高度,除非你一开始就知道,否则都只能等到图片渲染完成之后再去重新计算高度,所以,除非你知道这个图片的宽高,然后给图片的外容器写这个比例的div容器块。这样就不会跳动了,别无他法了。

from vue3-waterfall-plugin.

blackomilk avatar blackomilk commented on August 27, 2024

可以了,多谢。图片报跨域的问题还有解吗,别人电脑windows可以就我的不行。。。。我的是mac

from vue3-waterfall-plugin.

heikaimu avatar heikaimu commented on August 27, 2024

跨域那个确实不知道你的情况了,你可以看下你数据源的问题,比如是否图片存储服务器开了跨域的,然后就需要把插件的跨域打开。

from vue3-waterfall-plugin.

blackomilk avatar blackomilk commented on August 27, 2024

应该不是图片问题,别人的windows电脑能打开,就我的mac不能。。而且不用瀑布流我这能打开,不知道卡在哪了

from vue3-waterfall-plugin.

heikaimu avatar heikaimu commented on August 27, 2024

from vue3-waterfall-plugin.

blackomilk avatar blackomilk commented on August 27, 2024

我本地nginx代理处理了一下,现在有个新问题。。。开始路由缓存的页面每次进入图片都会叠在第一张,然后展开,这个有办法处理吗

from vue3-waterfall-plugin.

heikaimu avatar heikaimu commented on August 27, 2024

目前确实是这样的,进入路由都会在第一个位置重新计算排列,后续有空可能会优化路由切换的体验

from vue3-waterfall-plugin.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.