走马灯去除下方显示的切换,只要加上indicator-position=“none” 属性即可
<el-carousel indicator-position="none" height="150px"> <el-carousel-item v-for="item in 4" :key="item"> <h3 class="small">{{ item }}</h3> </el-carousel-item> </el-carousel>
京公网安备 11010502049817号