swiper 去掉轮播图上的小点点 小圆圈(完美解决方案)

问题描述

大家好!我是夏小花,今天是2024年4月22日|农历三月十四,今天这篇博文主要解决swiper 去掉轮播图上的小点点 小圆圈,具体解决方案如下所示

解决方案

问题复现

现在现在可以看到轮播图上是有小小圆圈的,但是觉得有点不好看,向把他去掉
在这里插入图片描述
这是源代码

<swiper class="swiper" circular :indicator-dots="indicatorDots" :autoplay="autoplay" :interval="interval"
	:duration="duration">
	<swiper-item v-for="(lunbo,indexl) in lunboList">
		<image style="width: 100%" :src="lunbo"></image>
	</swiper-item>
</swiper>

处理方案

我们需要修改一下indicator-dots的属性值为false,如下所示:
indicator-dots:表示显示标签的样式,比如说小圈圈

:indicator-dots="false"

详细代码如下:

<swiper class="swiper" :indicator-dots="false" :autoplay="autoplay" :interval="interval" :duration="duration">
	<swiper-item v-for="(lunbo,indexl) in lunboList">
		<image style="width: 100%" :src="lunbo"></image>
	</swiper-item>
</swiper>

相关推荐

  1. Swiper

    2024-04-22 16:54:05       38 阅读
  2. js击切换

    2024-04-22 16:54:05       29 阅读

最近更新

  1. docker php8.1+nginx base 镜像 dockerfile 配置

    2024-04-22 16:54:05       94 阅读
  2. Could not load dynamic library ‘cudart64_100.dll‘

    2024-04-22 16:54:05       100 阅读
  3. 在Django里面运行非项目文件

    2024-04-22 16:54:05       82 阅读
  4. Python语言-面向对象

    2024-04-22 16:54:05       91 阅读

热门阅读

  1. 分组带给了我们哪些?

    2024-04-22 16:54:05       166 阅读
  2. Elasticsearch:(二)3.安装Elasticsearch-head插件

    2024-04-22 16:54:05       71 阅读
  3. linux 查看nginx日志

    2024-04-22 16:54:05       38 阅读
  4. 聚类与分类的区别

    2024-04-22 16:54:05       123 阅读
  5. 【运维基础一】 Linux Centos 常用命令

    2024-04-22 16:54:05       90 阅读
  6. https通信流程

    2024-04-22 16:54:05       189 阅读
  7. 「Python大数据」数据采集-某东产品数据评论获取

    2024-04-22 16:54:05       29 阅读
  8. python 绘图

    2024-04-22 16:54:05       34 阅读