代码拉取完成,页面将自动刷新
<!DOCTYPE html>
<html lang="zh">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>旋转木马</title>
<link rel="stylesheet" href="./build/css/3dSwiper.css">
<style>
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
html,
body {
overflow: hidden;
}
ul {
list-style: none;
}
@media screen and (max-width: 768px){
.swiper-navigator {display: none;}
}
</style>
</head>
<body>
<div class="swiper-container ">
<ul class="swiper-wrap">
<li>
<img src="./images/3dSwiper/3dBanner1.png">
</li>
<li>
<img src="./images/3dSwiper/3dBanner2.png">
</li>
<li>
<img src="./images/3dSwiper/3dBanner3.png">
</li>
<li>
<img src="./images/3dSwiper/3dBanner4.png">
</li>
<li>
<img src="./images/3dSwiper/3dBanner5.png">
</li>
<li>
<img src="./images/3dSwiper/3dBanner6.png">
</li>
</ul>
<ul class="swiper-dots"></ul>
<ul class="swiper-navigator">
<li class="swiper-btn-prev"><</li>
<li class="swiper-btn-next">></li>
</ul>
</div>
<script src="./build/js/3dSwiper.js"></script>
<script>
new Swiper(".swiper-container",{
pagination: ".swiper-dots",
navigator: {
prev: ".swiper-btn-prev",
next: ".swiper-btn-next"
},
delay: 2000,
autoPlay: true
});
</script>
<body>
</html>
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。