视频直播源码,实现上下滚动的广告效果

视频直播源码,实现上下滚动的广告效果

 实现方式使用swiper,设置方向为纵向 virtical

 

1
 <swiper vertical="true" style="margin-top: 40rpx;" class="whiteBg" autoplay="true" circular="true"  ><br>    <block wx:for="{{list}}" wx:key="*this"><br>      <swiper-item style="display: flex;flex-direction: row;align-items: center;justify-content: left;margin-left: 20rpx;" bindtap="onSwiperItemClick" data-index="{{index}}">{{item}}</swiper-item><br>    </block><br>  </swiper>

以上就是 视频直播源码,实现上下滚动的广告效果,更多内容欢迎关注之后的文章

 

posted @   云豹科技-苏凌霄  阅读(107)  评论(0编辑  收藏  举报
点击右上角即可分享
微信分享提示