轮播图懒加载

dev
truthhun 7 months ago
parent 434a876bf7
commit 3ea0d2ff92

Binary file not shown.

@ -11,7 +11,7 @@
>
<el-carousel-item
:style="
'background: url(' + (carouselIndexes.indexOf(index) ? banner.path: '') + ') center center no-repeat;'
'background: url(' + (carouselIndexes.indexOf(index)>-1 ? banner.path: '') + ') center center no-repeat;'
"
>
</el-carousel-item>

Loading…
Cancel
Save