Showing
1 changed file
with
5 additions
and
4 deletions
| @@ -94,7 +94,8 @@ export struct VideoChannelPage { | @@ -94,7 +94,8 @@ export struct VideoChannelPage { | ||
| 94 | return this.navItem.channelChooseColor ? this.navItem.channelChooseColor : '#222222' | 94 | return this.navItem.channelChooseColor ? this.navItem.channelChooseColor : '#222222' |
| 95 | } else { | 95 | } else { |
| 96 | let ccolor = this.navItem.channelChooseCColor.replace('#', '#99') | 96 | let ccolor = this.navItem.channelChooseCColor.replace('#', '#99') |
| 97 | - return this.navItem.channelChooseCColor ? ccolor : '#99FFFFFF' | 97 | + let defaultColor = this.isImmerseChannel() ? '#99FFFFFF' : '#222222' |
| 98 | + return this.navItem.channelChooseCColor ? ccolor : defaultColor | ||
| 98 | } | 99 | } |
| 99 | 100 | ||
| 100 | } | 101 | } |
| @@ -106,7 +107,7 @@ export struct VideoChannelPage { | @@ -106,7 +107,7 @@ export struct VideoChannelPage { | ||
| 106 | 107 | ||
| 107 | this.topNavView() | 108 | this.topNavView() |
| 108 | } | 109 | } |
| 109 | - .backgroundColor(Color.Black) | 110 | + .backgroundColor(this.isImmerseChannel()? Color.Black : Color.White) |
| 110 | .width('100%') | 111 | .width('100%') |
| 111 | .height('100%') | 112 | .height('100%') |
| 112 | } | 113 | } |
| @@ -210,11 +211,11 @@ export struct VideoChannelPage { | @@ -210,11 +211,11 @@ export struct VideoChannelPage { | ||
| 210 | }) | 211 | }) |
| 211 | .visibility(this.displayDirection === DisplayDirection.VERTICAL ? Visibility.Visible : Visibility.None) | 212 | .visibility(this.displayDirection === DisplayDirection.VERTICAL ? Visibility.Visible : Visibility.None) |
| 212 | // .backgroundColor(Color.Blue) | 213 | // .backgroundColor(Color.Blue) |
| 213 | - .linearGradient({ | 214 | + .linearGradient(this.isImmerseChannel() ? { |
| 214 | colors: [ | 215 | colors: [ |
| 215 | ['rgba(18, 18, 18, 0.5)', 0.0], ['rgba(18, 18, 18, 0.0)', 1.0] | 216 | ['rgba(18, 18, 18, 0.5)', 0.0], ['rgba(18, 18, 18, 0.0)', 1.0] |
| 216 | ] | 217 | ] |
| 217 | - }) | 218 | + } : undefined) |
| 218 | } | 219 | } |
| 219 | 220 | ||
| 220 | /** | 221 | /** |
-
Please register or login to post a comment