<el-carousel ref="refCarousel" class="wh100Per" :autoplay="false" :loop="true" type="card" arrow="never" indicator-position="none" @change="priceChange"> <el-carousel-item v-for="(item,index) in list" :key="index" :id="item.id"> </el-carousel-item> </el-carousel> const list...
<my-el-carousel :interval="4000" type="card" height="400px" :autoplay="false" indicator-position="none" displayLabelNum="3" marginWithItems="200" > <my-el-carousel-item v-for="item in 12" :key="item"> {{ item }} </my-el-carousel-item> </my-el-carousel> </template> //...
<my-carousel :autoplay="false" type="card" height="600px"> <my-carousel-item v-for="item in 6" :key="item"> {{ item }} </my-carousel-item> </my-carousel> ts import { defineComponent, reactive, ref } from "vue"; import myCarousel from "./carousel/main.vue" import myCaro...
{ value: 'card', label: 'Card 卡片' }, { value: 'carousel', label: 'Carousel 走马灯' }, { value: 'collapse', label: 'Collapse 折叠面板' }] }] }, { value: 'ziyuan', label: '资源', children: [{ value: 'axure', label: 'Axure Components' }, { value: 'sketch', label: ...
label: 'Card 卡片' }, { value: 'carousel', label: 'Carousel 走马灯' }, { value: 'collapse', label: 'Collapse 折叠面板' }] }] }, { value: 'ziyuan', label: '资源', children: [{ value: 'axure', label: 'Axure Components' ...