[更新]更新视频组件配置,调整直播弹出样式

This commit is contained in:
唐明明
2020-12-30 15:13:40 +08:00
parent aa90f73d69
commit e2b2490e1a
6 changed files with 94 additions and 38 deletions

View File

@@ -31,8 +31,9 @@ Component({
* 组件的初始数据
*/
data: {
controls: false,
showPlay: false,
controls: true,
showPlay: true,
showFull: false,
isPlay : false,
playId : 0
},
@@ -60,7 +61,6 @@ Component({
videoContextPrev.play()
this.setData({
isPlay: true,
playId: prevId
})
},