王士厅

fix:频道页下配置的回看类直播节目无进度条

@@ -29,11 +29,11 @@ export struct PlayerInfoComponent { @@ -29,11 +29,11 @@ export struct PlayerInfoComponent {
29 .width('100%') 29 .width('100%')
30 .height('100%') 30 .height('100%')
31 .index(this.swiperIndex) 31 .index(this.swiperIndex)
32 - // .onClick(() => {  
33 - // if (this.liveState === 'end') {  
34 - // this.isShowControl = !this.isShowControl  
35 - // }  
36 - // }) 32 + .onClick(() => {
  33 + if (this.liveState === 'end') {
  34 + this.isShowControl = !this.isShowControl
  35 + }
  36 + })
37 .onChange((index) => { 37 .onChange((index) => {
38 this.swiperIndex = index 38 this.swiperIndex = index
39 }) 39 })
@@ -37,8 +37,8 @@ export struct PlayerUIComponent { @@ -37,8 +37,8 @@ export struct PlayerUIComponent {
37 PlayerVideoControlComponent({ playerController: this.playerController }) 37 PlayerVideoControlComponent({ playerController: this.playerController })
38 .visibility(this.isShowControl ? Visibility.Visible : this.isSmall? Visibility.Visible:Visibility.Hidden) 38 .visibility(this.isShowControl ? Visibility.Visible : this.isSmall? Visibility.Visible:Visibility.Hidden)
39 .animation({ duration: 500 }) 39 .animation({ duration: 500 })
40 - // .position({ y: '100%' })  
41 - // .markAnchor({ y: '100%' }) 40 + .position({ y: '100%' })
  41 + .markAnchor({ y: '100%' })
42 .margin({ top: this.isSmall ? 195 + 211 - 105 : 0}) 42 .margin({ top: this.isSmall ? 195 + 211 - 105 : 0})
43 } 43 }
44 .height('100%') 44 .height('100%')