ref |> 横屏直播时,直播tab标题与背景色重叠,无法露出
如果当前时沉浸式,其他TAB全部设置 白色50% http://192.168.1.3:8080/zentao/bug-view-20644.html Signed-off-by: xugenyuan <xugenyuan@wondertek.com.cn>
Showing
1 changed file
with
5 additions
and
2 deletions
| @@ -87,8 +87,11 @@ export struct VideoChannelPage { | @@ -87,8 +87,11 @@ export struct VideoChannelPage { | ||
| 87 | if (item.channelStyle === 1) { | 87 | if (item.channelStyle === 1) { |
| 88 | return this.currentTopNavSelectedIndex === index ? Color.White : this.tabSelectedColor(false) | 88 | return this.currentTopNavSelectedIndex === index ? Color.White : this.tabSelectedColor(false) |
| 89 | } else { | 89 | } else { |
| 90 | - return this.tabSelectedColor(this.currentTopNavSelectedIndex === | ||
| 91 | - index) | 90 | + // 如果当前时沉浸式,其他TAB全部设置 白色50% |
| 91 | + if (this.isImmerseChannel() && this.currentTopNavSelectedIndex != index) { | ||
| 92 | + return "#50FFFFFF" | ||
| 93 | + } | ||
| 94 | + return this.tabSelectedColor(this.currentTopNavSelectedIndex === index) | ||
| 92 | } | 95 | } |
| 93 | } | 96 | } |
| 94 | 97 |
-
Please register or login to post a comment