How vue-lazyload lazily loads the background image

: style= "{backgroundImage: "url (" + video.coverPicture +")"}"
I have many pictures that are dynamically added as background images. How should this be loaded lazily?-sharp-sharp-sharp problem description

Apr.28,2021

you can change the background map style scheme settings to js load background styles in the dynamically loaded components you need. When the scrolling event is triggered, the js naturally loads different backgrounds.


< div < / div >

< _
Menu