swiper指示点怎么移动到轮播图外面?
swiper指示点
indicatorDots
怎么移动到轮播图外面? 我改不了swiper-item 这个高度
5 回复
有两种方案:
第一种 更改swiper高度500,swiper-item高度450。就可以达到以下效果
![](https://image.wxopen.club/content_c5cbe99c-4d3a-11ea-aaf9-001a7dda7111.png)
![](https://image.wxopen.club/content_c600c70a-4d3a-11ea-b862-001a7dda7111.png)
![](https://image.wxopen.club/content_c63f7142-4d3a-11ea-ae5a-001a7dda7111.png)
第二种:自定义view模拟,我写了个文章加代码片段:
https://developers.weixin.qq.com/community/develop/article/doc/000602f6c7c378127a097257b5b413