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-06-06 16:50:36 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
83b5d14011920eb539afd9f3f273fa525d6413a6
83b5d140
1 parent
bb4e1073
fix(二级栏目页面):顶部适配
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletions
sight_harmony/products/phone/src/main/ets/pages/column/ColumnPage.ets
sight_harmony/products/phone/src/main/ets/pages/column/ColumnPage.ets
View file @
83b5d14
...
...
@@ -17,7 +17,7 @@ export struct ColumnPage {
pageId: string = "";
channelId: string = "";
pageName: string = ''
@Provide topSafeHeight: number = AppStorage.get<number>('topSafeHeight') || 0
aboutToAppear() {
this.pageId = this.param.pageId
this.channelId = this.param.channelId
...
...
@@ -26,6 +26,7 @@ export struct ColumnPage {
build() {
Column() {
Blank().height(`${this.topSafeHeight}px`)
CustomTitleUI({ titleName: this.pageName })
PageComponent({
currentTopNavSelectedIndex: $currentTopNavSelectedIndex,
...
...
Please
register
or
login
to post a comment