mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-11 20:06:44 +08:00
轮播图
This commit is contained in:
@@ -10,7 +10,7 @@
|
|||||||
background: `url(${fileBaseUrl + item.image
|
background: `url(${fileBaseUrl + item.image
|
||||||
}) no-repeat 100% / 100%`,
|
}) no-repeat 100% / 100%`,
|
||||||
}"></div>
|
}"></div>
|
||||||
<img class="banner-img" style="margin: 0 auto;" :src="fileBaseUrl + item.image" alt="" />
|
<img class="banner-img" style="margin: 0 auto;width:100%;" :src="fileBaseUrl + item.image" alt="" />
|
||||||
</swiper-slide>
|
</swiper-slide>
|
||||||
</swiper>
|
</swiper>
|
||||||
</div>
|
</div>
|
||||||
@@ -22,7 +22,7 @@
|
|||||||
background: `url(${fileBaseUrl + item.image
|
background: `url(${fileBaseUrl + item.image
|
||||||
}) no-repeat 100% / 100%`,
|
}) no-repeat 100% / 100%`,
|
||||||
}"></div>
|
}"></div>
|
||||||
<img class="banner-img" style="margin: 0 auto;" :src="fileBaseUrl + item.image" alt="" />
|
<img class="banner-img" style="margin: 0 auto;width:100%;" :src="fileBaseUrl + item.image" alt="" />
|
||||||
</swiper-slide>
|
</swiper-slide>
|
||||||
<div class="swiper-pagination" slot="pagination"></div>
|
<div class="swiper-pagination" slot="pagination"></div>
|
||||||
</swiper>
|
</swiper>
|
||||||
|
|||||||
Reference in New Issue
Block a user