马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。
您需要 登录 才可以下载或查看,没有账号?立即注册
x
效果图
实现
- <swiper class="banner" indicator-dots="true" indicator-color="rgba(255,255,255,1)" indicator-active-color="#ff0000" autoplay="true" interval="100" circular="true">
- <swiper-item >
- <image src = "../../images/main.jpg" class="banner"/>
- </swiper-item>
- <swiper-item>
- <image src = "../../images/banner.jpg" class="banner"/>
- </swiper-item>
- </swiper>
复制代码 属性介绍
属性范例默认值必填阐明indicator-dotsbooleanfalse否是否显示面板指示点1.0.0indicator-colorcolorrgba(0, 0, 0, .3)否指示点颜色1.1.0indicator-active-colorcolor#000000否当前选中的指示点颜色1.1.0autoplaybooleanfalse否是否自动切换1.0.0currentnumber0否当前所在滑块的 index1.0.0intervalnumber5000否自动切换时间间隔1.0.0durationnumber500否滑动动画时长1.0.0circularbooleanfalse否是否接纳衔接滑动1.0.0 官方文档
免责声明:如果侵犯了您的权益,请联系站长,我们会及时删除侵权内容,谢谢合作!更多信息从访问主页:qidao123.com:ToB企服之家,中国第一个企服评测及商务社交产业平台。 |