当前位置:网站首页>swiper设置点击某个切换项之后,不进行切换

swiper设置点击某个切换项之后,不进行切换

2020-11-10 12:02:50 程序猿欧文

<!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <title>Document</title> <link rel="stylesheet" href="dist/css/swiper.css">  <script src="dist/js/swiper.js"> </script>  <style> html, body {  position: relative;  height: 100%; } body {  background: #eee;  font-family: Helvetica Neue, Helvetica, Arial, sans-serif;  font-size: 14px;  color: #000;  margin: 0;  padding: 0; } .swiper-container {  width: 100%;  height: 100%; } .swiper-slide {  text-align: center;  font-size: 18px;  background: #fff;  /* Center slide text vertically */  display: -webkit-box;  display: -ms-flexbox;  display: -webkit-flex;  display: flex;  -webkit-box-pack: center;  -ms-flex-pack: center;  -webkit-justify-content: center;  justify-content: center;  -webkit-box-align: center;  -ms-flex-align: center;  -webkit-align-items: center;  align-items: center; } </style> </head><body> <!-- Swiper --> <div class="swiper-container"> &l.........

版权声明
本文为[程序猿欧文]所创,转载请带上原文链接,感谢
https://my.oschina.net/mikeowen/blog/4711054