swiper

<template>
    <swiper 
        :indicator-dots="true" 
        :autoplay="true" 
        :interval="3000" 
        :duration="1000"
        indicator-color="#007aff"
        indicator-active-color="#fff"
        circular>
        <swiper-item>
            <text>indicator-dots是否显示面板指示点</text>
            <text>indicator-color指示点颜色</text>
            <text>indicator-active-color当前选中的指示点颜色</text>
        </swiper-item>
        <swiper-item>
            <text>circular是否采用衔接滑动 </text>
        </swiper-item>
    </swiper>
</template>

<script setup>
    
</script>

 

posted on 2025-02-27 16:42  ChoZ  阅读(4)  评论(0)    收藏  举报

导航