wuyanan

fix |> 修复竖屏直播横屏流,全屏后,直播标题与屏幕边缘间距不正确问题

@@ -20,7 +20,7 @@ export struct PlayerInfoComponent { @@ -20,7 +20,7 @@ export struct PlayerInfoComponent {
20 PlayerUIComponent({ playerController: this.playerController }) 20 PlayerUIComponent({ playerController: this.playerController })
21 .margin({ 21 .margin({
22 // bottom: this.bottomSafeHeight + 'px', 22 // bottom: this.bottomSafeHeight + 'px',
23 - top: this.topSafeHeight + 'px' 23 + top:this.isFullScreen ? 0 : this.topSafeHeight + 'px'
24 }) 24 })
25 } 25 }
26 .cachedCount(2) 26 .cachedCount(2)
@@ -59,7 +59,7 @@ export struct PlayerUIComponent { @@ -59,7 +59,7 @@ export struct PlayerUIComponent {
59 } 59 }
60 this.isFullScreen = true 60 this.isFullScreen = true
61 }) 61 })
62 - .visibility(this.isSmall ? Visibility.Visible : Visibility.Hidden) 62 + .visibility(!this.isFullScreen ? Visibility.Visible : Visibility.Hidden)
63 .margin({ top: 301}) // 195 + 211 - 105 63 .margin({ top: 301}) // 195 + 211 - 105
64 .position({ x: '96.8%' }) 64 .position({ x: '96.8%' })
65 .markAnchor({ x: '96.8%' }) 65 .markAnchor({ x: '96.8%' })