This commit is contained in:
qiuyuan 2025-12-04 10:50:07 +08:00
parent 93e20d62b4
commit e4daef774b

View File

@ -2,8 +2,9 @@
<div> <div>
<div style="height: 550px; overflow: hidden;"> <div style="height: 550px; overflow: hidden;">
<a-carousel :after-change="onChange" style="height: 100%;"> <a-carousel :after-change="onChange" style="height: 100%;">
<div v-for="item in bannerList" :key="item.id" class="banner-slide" :style="{ <div v-for="item in bannerList" :key="item.id" class="banner-slide" >
background: `url(${item.image_url})`}"></div> <img :src="item.image_url" alt="" srcset="" width="100%" height="100%">
</div>
</a-carousel> </a-carousel>
</div> </div>
<div class="one"> <div class="one">