1、swiper组件表示滑块视图容器,用于创建一块可以滑动的区域。(默认高度为150px,默认宽度为100%)
swiper-item组件表示滑块视图内容。(初始高度和初始宽度均为100%)
swiper组件内部需要嵌套swiper-item组件。
<swiper>
<swiper-item>1</swiper-item>
<swiper-item>2</swiper-item>
<swiper-item>3</swiper-item>
</swiper>
| 属性 |
类型 |
说明 |
| indicator-dots |
boolean |
是否显示面板指示点 |
| indicator-color |
color |
指示点颜色 |
| indicator-active-color |
color |
当前选中的指示点颜色 |
| autoplay |
boolean |
是否自动切换 |
| current |


704

被折叠的 条评论
为什么被折叠?



