[更新]短视频轮播

This commit is contained in:
唐明明
2020-12-25 17:00:20 +08:00
parent 81b3dbdc59
commit 286f8111bd
10 changed files with 30 additions and 12 deletions

View File

@@ -43,6 +43,9 @@ Component({
methods: {
// 视频滚动了
changeVideo(e){
console.log(e)
let videoLists = this.data.videoList,
current = e.detail.current,
currentId = this.data.playId,

View File

@@ -13,7 +13,7 @@
bindpause="vipdeBindPlay"
loop
>
<cover-image class="videoLayer-play {{!isPlay ? 'show': ''}}" src="/static/icon/play_icon.png"></cover-image>
</video>
<image src=""></image>
</swiper-item>
</swiper>