wuyanan

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

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