💎一站式轻松地调用各大LLM模型接口,支持GPT4、智谱、星火、月之暗面及文生图 广告
## 幻灯片 更多个性化定制请参考组件依赖库 [http://www.swiper.com.cn/api/basic/2014/1213/16.html](http://www.swiper.com.cn/api/basic/2014/1213/16.html) [TOC] ![](https://box.kancloud.cn/93177f397df3631b8e9bc1786654ea0e_612x316.png) [查看演示效果](http://hdjstest.hdphp.com/test/swiper.html) ## 使用 ``` <div class="swiper-container"> <div class="swiper-wrapper"> <div class="swiper-slide"> <img src="http://oss.hdcms.com/1502963276236c0417.jpg"> </div> <div class="swiper-slide"> <img src="http://oss.hdcms.com/150183869614d9919.jpg"> </div> <div class="swiper-slide"> <img src="http://www.houdunwang.com/attachment/69661487768411.jpg"> </div> </div> <!-- 如果需要分页器 --> <div class="swiper-pagination"></div> <!-- 如果需要导航按钮 --> <div class="swiper-button-prev"></div> <div class="swiper-button-next"></div> </div> <style> .swiper-container { width: 600px; height: 300px; } </style> <script> require(['hdjs'], function (hdjs) { hdjs.swiper('.swiper-container', { loop: true, //自动轮换 autoplay: { delay: 1000, }, //如果需要分页器 pagination: { el: '.swiper-pagination', clickable: true }, //如果需要前进后退按钮 navigation: { nextEl: '.swiper-button-next', prevEl: '.swiper-button-prev', }, }) }) </script> ```