swiper轮播
基于swiper及基本轮播效果 自动轮播+无缝轮播 左右按钮控制效果 指示器(分页器) 代码示例: <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title>swiper轮播</title> <!-- 引入swiper css 及 js 文件 --> <!-- <link rel="stylesheet" href="Swiper-3.4.2/dist/css/swiper.min.css" /> <script src="Swiper-3.4.2/dist/js/swiper.min.js"></script> --> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/Swiper/3.4.2/css/swiper.min.css"> <script src="https://cdnjs.cloudflare.com/ajax/libs/Swiper/3.4.2/js/swiper.min.js"></script> <!-- 设置轮播最外层大小 --> <style type="text/css"> .swiper-container { width: 1200px; height: 400px; } </style> </head