[新增]增加了直播列表
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
<swiper class="videoSwiper" vertical bindchange="changeVideo">
|
||||
<swiper-item class="videoSwiperItem" wx:for="{{videoList}}" wx:key="videoItem" circular="{{videoList.length > 2}}">
|
||||
<video
|
||||
class="videoSwiperItemVideo"
|
||||
id="video{{item.video_id}}"
|
||||
src="{{item.path_url || ''}}"
|
||||
controls="{{controls}}"
|
||||
@@ -12,8 +13,9 @@
|
||||
bindplay="vipdeBindPlay"
|
||||
bindpause="vipdeBindPlay"
|
||||
loop
|
||||
wx:if="{{item.video_id == playId}}"
|
||||
>
|
||||
</video>
|
||||
<image src=""></image>
|
||||
<image class="videoCover" src="{{item.cover}}" mode="aspectFill"></image>
|
||||
</swiper-item>
|
||||
</swiper>
|
||||
|
||||
Reference in New Issue
Block a user