<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...
(chunk); } return result; }, }, }; </script> <style scoped> .carousel-item-content { display: flex; justify-content: space-around; /* 根据需要调整间距 */ } .carousel-item { /* 每个轮播项的具体样式 */ } .carousel-item-img { width: 100px; /* 示例宽度 */ ...