element ui 跑马灯
时间: 2023-08-31 12:11:03 浏览: 139
Element UI提供了一个组件叫做el-carousel,可以实现走马灯的效果。走马灯的样式和指示器效果可以通过自定义来实现。通过ref属性,我们可以获取到el-carousel组件的实例,然后通过操作实例来改变指定显示的内容,从而实现自定义的走马灯效果。 <span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* [解决Vue的项目使用Element ui 走马灯无法实现的问题](https://download.csdn.net/download/weixin_38678550/12924490)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"]
- *2* *3* [ElementUI 走马灯效果(轮播)自定义指示器(切换标签)的实现方法](https://blog.csdn.net/sinat_33255495/article/details/125334986)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文