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
wangliang_wd
2024-08-22 15:24:51 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
2e892d1841c02d5cb4b0e6f9d467c65579ef11ac
2e892d18
1 parent
fdabb806
feat:优化电子报间距,优化tabs显示错误问题
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
sight_harmony/features/wdComponent/src/main/ets/dialog/ENewspaperListDialog.ets
sight_harmony/products/phone/src/main/ets/pages/view/BottomNavigationComponent.ets
sight_harmony/features/wdComponent/src/main/ets/dialog/ENewspaperListDialog.ets
View file @
2e892d1
...
...
@@ -199,7 +199,7 @@ export struct ENewspaperListDialog {
.fontColor($r('app.color.color_222222'))
.fontWeight(600)// .maxLines(2)
.margin({
bottom:
12
bottom:
8
})
}
...
...
sight_harmony/products/phone/src/main/ets/pages/view/BottomNavigationComponent.ets
View file @
2e892d1
...
...
@@ -195,11 +195,11 @@ export struct BottomNavigationComponent {
getBottomImageKnifeOption(navItem: BottomNavDTO, isSelect: boolean): ImageKnifeOption {
let defaultIcon = this.getBottomLocalIcon(navItem, isSelect)
let url = this.getBottomIcon(navItem, isSelect)
let url = this.getBottomIcon(navItem, isSelect)
as string
// Logger.info(TAG, `onChange111, 本地的地址: ${defaultIcon}`);
let imageKnifeOption: ImageKnifeOption = {
loadSrc: url,
loadSrc: url
.length > 0?url:defaultIcon
,
// 占位图使用本地资源
placeholderSrc: defaultIcon,
// 失败占位图使用本地资源
...
...
@@ -215,7 +215,7 @@ export struct BottomNavigationComponent {
return imageKnifeOption
}
private getBottomIcon(navItem: BottomNavDTO, isSelect: boolean): string
| Resource
{
private getBottomIcon(navItem: BottomNavDTO, isSelect: boolean): string {
if (!navItem) {
return ''
}
...
...
Please
register
or
login
to post a comment