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-08-07 15:46:44 +0800
Browse Files
Options
Browse Files
Download
Plain Diff
Commit
5f9294bdebebea8a620877ca4fd38ca505501439
5f9294bd
2 parents
de86164c
96c2d109
Merge branch 'main' of
http://192.168.1.42/developOne/harmonyPool
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 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 @
5f9294b
...
...
@@ -96,7 +96,7 @@ export struct BottomNavigationComponent {
navItem: navItem
})
} else {
// 其它带顶
到
的页面,如 新闻、人民号、服务
// 其它带顶
导
的页面,如 新闻、人民号、服务
TopNavigationComponentNew({
topNavList: navItem.topNavChannelList.filter(item => item.channelId != 2073),
_currentNavIndex: $currentNavIndex,
...
...
@@ -193,14 +193,17 @@ export struct BottomNavigationComponent {
}
getBottomImageKnifeOption(navItem: BottomNavDTO, isSelect: boolean): ImageKnifeOption {
let defaultIcon = this.getBottomLocalIcon(navItem, isSelect)
let url = this.getBottomIcon(navItem, isSelect)
// Logger.info(TAG, `onChange111, 本地的地址: ${defaultIcon}`);
let imageKnifeOption: ImageKnifeOption = {
loadSrc: url,
// 占位图使用本地资源
placeholderSrc: defaultIcon,
// 失败占位图使用本地资源
errorholderSrc: defaultIcon,
//
errorholderSrc: defaultIcon,
// 是否开启一级内存缓存
isCacheable: true,
// 磁盘缓存
...
...
Please
register
or
login
to post a comment