swiper和swiper-item组件使用
常用属性 值 默认值
属性 | 类型 | 默认值 | 说明 |
indicator-dots | boolean | false | 是否展示面板指示点 |
indicator-color | color | rgba(0,0,0,3) | 指示点颜色 |
indicator-active-color | color | #000000 | 选中时指示点颜色 |
autoplay | boolean | false | 是否自动切换 |
interval | number | 5000 | 自动切换时间间隔 |
circular | boolean | false | 是否采用衔接滑动 |
1、使用swiper 布局
2、美化样式