vue轮播图组件
IOS10版本无法用Swiper3及以上版本
Swiper官网地址:Swiper官网
<!--同步-->
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/Swiper/4.0.2/css/swiper.min.css">
<script src="https://cdnjs.cloudflare.com/ajax/libs/Swiper/4.0.2/js/swiper.min.js"></script>
<script src='../vue.js'> </script> <!--引入css、js文件-->
<style>
.test{
width: 100px;
height: 100px;
background: red;
}
.swiper-container {
width: 600px;
height: 300px;
background: red;
}
img{
width: 600px;
height: 300px;
}
</style>
</head>
<