Toggle navigation
Toggle navigation
This project
Loading...
Sign in
developOne
/
harmonyPool
Go to a project
Toggle navigation
Projects
Groups
Snippets
Help
Toggle navigation pinning
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
张善主
2024-06-17 15:38:58 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
e9abe22ba6c5d18fd90f78a307ef6d2e559416fd
e9abe22b
1 parent
0a5bee45
fix(18831): UI还原问题-【uat】进入竖屏直播直播间。点击会显示播放和全屏按钮---新版本3.0.025-老版本无问题
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
sight_harmony/features/wdDetailPlayLive/src/main/ets/widgets/vertical/PlayerTitleComponent.ets
sight_harmony/features/wdDetailPlayLive/src/main/ets/widgets/vertical/PlayerTitleComponent.ets
View file @
e9abe22
...
...
@@ -44,12 +44,12 @@ export struct PlayerTitleComponent {
Image($r('app.media.icon_arrow_left_white'))
.width(24)
.aspectRatio(1)
.visibility(
this.isLarge
? Visibility.Visible : Visibility.None)
.visibility(
(this.isLarge && this.displayDirection == DisplayDirection.VIDEO_HORIZONTAL)
? Visibility.Visible : Visibility.None)
.margin({
right: 10
})
.onClick(() => {
WindowModel.shared.setPreferredOrientation(
this.isLarge
?
WindowModel.shared.setPreferredOrientation(
(this.isLarge && this.displayDirection == DisplayDirection.VIDEO_HORIZONTAL)
?
window.Orientation.PORTRAIT :
window.Orientation.LANDSCAPE_INVERTED)
WindowModel.shared.setSpecificSystemBarEnabled(true)
...
...
@@ -74,7 +74,7 @@ export struct PlayerTitleComponent {
Image($r('app.media.icon_share'))
.width(24)
.aspectRatio(1)
.visibility(
this.isLarge
? Visibility.Visible : Visibility.None)
.visibility(
(this.isLarge && this.displayDirection == DisplayDirection.VIDEO_HORIZONTAL)
? Visibility.Visible : Visibility.None)
.margin({right:16})
}.margin({ bottom: 10 })
...
...
Please
register
or
login
to post a comment