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
chenjun
2024-08-30 18:55:19 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
dc51f88e11f0bc39e90fda195716f89ce7580027
dc51f88e
1 parent
79f0cc70
直播时去掉顶部遮罩设置背景为白色视频字体设置黑色与安卓保持一致 顶部遮罩空隙改出来的问题
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
sight_harmony/products/phone/src/main/ets/pages/view/VideoChannelPage.ets
sight_harmony/products/phone/src/main/ets/pages/view/VideoChannelPage.ets
View file @
dc51f88
...
...
@@ -94,7 +94,8 @@ export struct VideoChannelPage {
return this.navItem.channelChooseColor ? this.navItem.channelChooseColor : '#222222'
} else {
let ccolor = this.navItem.channelChooseCColor.replace('#', '#99')
return this.navItem.channelChooseCColor ? ccolor : '#99FFFFFF'
let defaultColor = this.isImmerseChannel() ? '#99FFFFFF' : '#222222'
return this.navItem.channelChooseCColor ? ccolor : defaultColor
}
}
...
...
@@ -106,7 +107,7 @@ export struct VideoChannelPage {
this.topNavView()
}
.backgroundColor(
Color.Black
)
.backgroundColor(
this.isImmerseChannel()? Color.Black : Color.White
)
.width('100%')
.height('100%')
}
...
...
@@ -210,11 +211,11 @@ export struct VideoChannelPage {
})
.visibility(this.displayDirection === DisplayDirection.VERTICAL ? Visibility.Visible : Visibility.None)
// .backgroundColor(Color.Blue)
.linearGradient({
.linearGradient(
this.isImmerseChannel() ?
{
colors: [
['rgba(18, 18, 18, 0.5)', 0.0], ['rgba(18, 18, 18, 0.0)', 1.0]
]
})
}
: undefined
)
}
/**
...
...
Please
register
or
login
to post a comment