直播系统搭建,vue插件之vue-seamless-scroll 无缝滚动
使用
import vueSeamlessScroll from 'vue-seamless-scroll'
//注册组件
components:{
vueSeamlessScroll
}
//template
<vue-seamless-scroll :data="Top10GatewayLog" :class-option="optionSingleHeightTime" class="seamless-warp">
<ul class="item">
<li v-for="(item,index) in Top10GatewayLog" :key="index">
<span class="title" v-text="item"></span>
</li>
</ul>
</vue-seamless-scroll>
以上就是直播系统搭建,vue插件之vue-seamless-scroll 无缝滚动, 更多内容欢迎关注之后的文章
标签:插件,vue,seamless,直播,scroll,无缝 From: https://www.cnblogs.com/yunbaomengnan/p/17474883.html