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
zhangwenqiang
2024-08-02 17:51:58 +0800
Browse Files
Options
Browse Files
Download
Plain Diff
Commit
2d18b71568f60defbf09d75d1cf1ff60ba41a106
2d18b715
2 parents
b7879e13
f131845e
Merge branch 'bugfix-branch'
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
sight_harmony/products/phone/src/main/ets/pages/view/BottomNavigationComponent.ets
sight_harmony/products/phone/src/main/ets/pages/view/BottomNavigationComponent.ets
View file @
2d18b71
import { BottomNavi, DisplayDirection } from 'wdConstant';
import { BottomNavDTO, NavigationBodyDTO, TopNavDTO } from 'wdBean';
import { EmitterEventId, EmitterUtils, Logger } from 'wdKit';
import { EmitterEventId, EmitterUtils, Logger
, StringUtils
} from 'wdKit';
import { HttpUtils } from 'wdNetwork/Index';
import HomeChannelUtils, { AssignChannelParam } from 'wdRouter/Index';
import { MinePageComponent } from 'wdComponent/src/main/ets/components/page/MinePageComponent';
...
...
@@ -170,7 +170,7 @@ export struct BottomNavigationComponent {
private setTabbarNameCColor(navItem:BottomNavDTO) {
if (this.isImmersive) {
return navItem.immersiveNameCColor
return
StringUtils.isEmpty(navItem.immersiveNameCColor) ? "#ED2800" :
navItem.immersiveNameCColor
}
if (this.isNight) {
...
...
@@ -183,7 +183,7 @@ export struct BottomNavigationComponent {
private setTabbarNameColor(navItem:BottomNavDTO) {
if (this.isImmersive) {
return navItem.immersiveNameColor
return
StringUtils.isEmpty(navItem.immersiveNameColor) ? "#737B87" :
navItem.immersiveNameColor
}
if (this.isNight) {
return navItem.nightNameColor
...
...
Please
register
or
login
to post a comment