本人后端用的 Python, 想在页面中添加轮播图效果,然后 swiper 的文档没有swiper-slide for 循环对象的用法,这里面的loopedSlides并没有让swipe-slide for 循环 https://www.swiper.com.cn/api/loop/25.html,里面明明还是固定写死的<div class="swiper-slide">slider1</div> slider2,3,4,5 等等.
实在是 Google 不到,我已经不知道怎么搜索了,求助各位大神,非常感谢!!!
ps: 我知道vue.js中vue-awesome-swiper的 for 循环用法如<swiper-slide v-for="(page, index) of pages" :key="index">, 但是这个项目前后盾没有分离,无法用到vue.js,
再次感谢!(第一此用 V2EX 发帖,原谅我不知道怎么上传图😂)