html
<html lang="en">
<head>
<meta charset="utf-8">
<title>swiper製作酷炫輪播圖</title>
<link rel="stylesheet" href="http://www.jq22.com/demo/swiperlbt201810230049/css/swiper.min.css">
<style type="text/css">
* {
margin: 0;
padding: 0;
}
#certify {
position: relative;
width: 1200px;
height: 408px;
margin: 50px auto 0;
}
#certify .swiper-container {
padding-bottom: 60px
}
#certify .swiper-slide {
width: 520px;
height: 408px;
background: #fff;
box-shadow: 0 8px 30px #ddd
}
#certify .swiper-slide img {
display: block;
width: 100%;
height: 310px;
}
#certify .swiper-slide p {
line-height: 98px;
padding-top: 0;
text-align: center;
color: #636363;
font-size: 1.1em;
margin: 0;
}
#certify .swiper-pagination {
width: 100%;
bottom: 20px;
}
#certify .swiper-pagination-bullets .swiper-pagination-bullet {
margin: 0 5px;
border: 3px solid #fff;
background-color: #d5d5d5;
width: 10px;
height: 10px;
opacity: 1;
}
#certify .swiper-pagination-bullets .swiper-pagination-bullet-active {
border: 3px solid #00aadc;
background-color: #fff;
}
#certify .swiper-button-prev {
left: -30px;
width: 45px;
height: 45px;
background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAD8AAAECCAMAAAB+Ev8qAAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAALWUExURQAAAACq3ACq3JmZmZmZmZmZmZmZmZmZmZmZmZmZmQCq3JmZmZmZmQCq3JmZmQCq3JmZmQCq3ACq3JmZmZmZmZmZmZmZmQCq3ACq3ACq3JmZmQCq3JmZmZmZmZmZmZmZmQCq3JmZmZmZmZmZmZmZmZmZmZmZmQCq3ACq3ACq3ACq3ACq3JmZmQCq3JmZmQCq3ACq3ACq3ACq3ACq3ACq3ACq3JmZmZmZmZmZmQCq3JmZmQCq3ACq3JmZmQCq3ACq3ACq3JmZmZmZmQCq3ACq3ACq3ACq3JmZmQCq3ACq3ACq3ACq3JmZmQCq3ACq3ACq3ACq3JmZmZmZmQCq3ACq3ACq3ACq3ACq3ACq3ACq3ACq3ACq3ACq3JmZm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 100%;
}
#certify .swiper-button-prev:hover {
background-position: 0 -46px;
background-size: 100%;
}
#certify .swiper-button-next {
right: -30px;
width: 45px;
height: 45px;
background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAD8AAAECCAMAAAB+Ev8qAAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAALWUExURQAAAACq3ACq3JmZmZmZmZmZmZmZmZmZmZmZmZmZmQCq3JmZmZmZmQCq3JmZmQCq3JmZmQCq3ACq3JmZmZmZmZmZmZmZmQCq3ACq3ACq3JmZmQCq3JmZmZmZmZmZmZmZmQCq3JmZmZmZmZmZmZmZmZmZmZmZmQCq3ACq3ACq3ACq3ACq3JmZmQCq3JmZmQCq3ACq3ACq3ACq3ACq3ACq3ACq3JmZmZmZmZmZmQCq3JmZmQCq3ACq3JmZmQCq3ACq3ACq3JmZmZmZmQCq3ACq3ACq3ACq3JmZmQCq3ACq3ACq3ACq3JmZmQCq3ACq3ACq3ACq3JmZmZmZmQCq3ACq3ACq3ACq3ACq3ACq3ACq3ACq3ACq3ACq3JmZmZmZmQCq3ACq3JmZmZmZmQCq3JmZmZmZmQCq3JmZmQCq3JmZmZmZmZmZmZmZmZmZmQCq3ACq3ACq3ACq3ACq3ACq3ACq3ACq3JmZmQCq3JmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmQCq3ACq3ACq3ACq3ACq3ACq3JmZmQCq3ACq3JmZmQCq3ACq3JmZmQCq3ACq3ACq3ACq3JmZmQCq3ACq3ACq3ACq3ACq3ACq3ACq3ACq3ACq3ACq3ACq3ACq3JmZmQCq3ACq3ACq3ACq3ACq3ACq3ACq3ACq3ACq3JmZmZmZmZmZmZmZmZmZmZmZmQCq3ACq3ACq3ACq3JmZmQCq3JmZmQCq3ACq3ACq3ACq3JmZmQCq3JmZmZmZmZmZmQCq3ACq3ACq3ACq3ACq3ACq3ACq3ACq3ACq3ACq3JmZmQCq3JmZmZmZmQCq3ACq3JmZmZmZmZmZmZ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R1R/3g4Tv5BuP6SR6YP96w/MZJ/kB1HhKuN4B84O+yORTr97WH+wXRygHMP8g3dC54kv7X5B2ucO7ySy+s1+itt/kEdqaoY7JrJ5Wp9u/44Tcc/+KxcN4MKcp9U6uqv8kWFbWTHlk9ukEbyZ80iR5TzS5VsBjlbxz+wA8vn/FEVDMmQ3KAt34rINz9xldKADZJDJumBtraBvzsKriJvklzSQFOQdaP4h9Mc15F1Kv5BVPuN3O0MULoZfwP5q6jGN6//B3K1ev1G+39M/qK0f4nx+88gv1LHsJA06kkKT5Gva/Gnx/9Kcpoe/1r/e465z6hf3kTu0/IPqpn5rMn/NfHnBb64wBh/5BN1/Hv+ad2X2UF+GuYfOMff3Vpa2EP/GP7B0Dj5B9Pi3//7b43Y/+38w5N+dP6ROP+g2hP/877Y/Cvh/M9L/vlAXyX/wI0N7vy/8g/KDPyDrWb+gdoXdv5t/IM2/O9da7zyD1bs/T7MP/hu759/O/8g9vxbHxf/oOlrjqzX8g/+Aq73uBu3EV4yAAAAAElFTkSuQmCC) no-repeat;
background-position: 0 -93px;
background-size: 100%;
}
#certify .swiper-button-next:hover {
background-position: 0 -139px;
background-size: 100%;
}
</style>
</head>
<body>
<!--http://www.jq22.com/demo/swiperlbt201810230049/css/swiper.min.css-->
<div id="certify">
<div class="swiper-container">
<div class="swiper-wrapper">
<div class="swiper-slide"><img src="https://s3.ap-northeast-1.wasabisys.com/img.tw511.com/202008/148964317858ca26aacf7b5s43hkxz05cm.jpg" />
<p>Picture information 1</p>
</div>
<div class="swiper-slide"><img src="https://s3.ap-northeast-1.wasabisys.com/img.tw511.com/202008/140746636153e43b79c4445ezamvppunej.jpg" />
<p>Picture information 2</p>
</div>
<div class="swiper-slide"><img src="https://s3.ap-northeast-1.wasabisys.com/img.tw511.com/202008/14799594365836638ca92a33tsjkerkrvl.jpg" />
<p>Picture information 3</p>
</div>
<div class="swiper-slide"><img src="https://s3.ap-northeast-1.wasabisys.com/img.tw511.com/202008/147451504457e35064c47c2rdhetaknjpo.jpg" />
<p>Picture information 4</p>
</div>
<div class="swiper-slide"><img src="https://s3.ap-northeast-1.wasabisys.com/img.tw511.com/202008/54ngfvw11dj5.jpg" />
<p>Picture information 5</p>
</div>
</div>
</div>
<div class="swiper-pagination"></div>
<div class="swiper-button-prev"></div>
<div class="swiper-button-next"></div>
</div>
<script src="http://www.jq22.com/demo/swiperlbt201810230049/js/swiper.min.js"></script>
<script>
var certifySwiper = new Swiper('#certify .swiper-container', {
watchSlidesProgress: true,
slidesPerView: 'auto',
centeredSlides: true,
loop: true,
autoplay: true,
loopedSlides: 5,
autoplay: true,
navigation: {
nextEl: '.swiper-button-next',
prevEl: '.swiper-button-prev',
},
pagination: {
el: '.swiper-pagination',
//clickable :true,
},
on: {
progress: function(progress) {
for(i = 0; i < this.slides.length; i++) {
var slide = this.slides.eq(i);
var slideProgress = this.slides[i].progress;
modify = 1;
if(Math.abs(slideProgress) > 1) {
modify = (Math.abs(slideProgress) - 1) * 0.3 + 1;
}
translate = slideProgress * modify * 260 + 'px';
scale = 1 - Math.abs(slideProgress) / 5;
zIndex = 999 - Math.abs(Math.round(10 * slideProgress));
slide.transform('translateX(' + translate + ') scale(' + scale + ')');
slide.css('zIndex', zIndex);
slide.css('opacity', 1);
if(Math.abs(slideProgress) > 3) {
slide.css('opacity', 0);
}
}
},
setTransition: function(transition) {
for(var i = 0; i < this.slides.length; i++) {
var slide = this.slides.eq(i)
slide.transition(transition);
}
}
}
})
</script>
</body>
</html>