Showing
2 changed files
with
7 additions
and
7 deletions
| @@ -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%') |
-
Please register or login to post a comment