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
zhangbo1_wd
2024-05-15 10:17:55 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
c82139f1544254a7824db7e4d383845c80bef3fb
c82139f1
1 parent
52df1565
漏提
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 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 @
c82139f
...
...
@@ -2,6 +2,7 @@ import { PageComponent } from 'wdComponent/Index';
import { HashMap } from '@kit.ArkTS';
import { router } from '@kit.ArkUI';
import { AssignChannelParam } from 'wdRouter/src/main/ets/utils/HomeChannelUtils';
import { CustomTitleUI } from 'wdComponent/src/main/ets/components/reusable/CustomTitleUI';
const TAG = 'ColumnPage';
...
...
@@ -15,21 +16,26 @@ export struct ColumnPage {
@State param: AssignChannelParam = router.getParams() as AssignChannelParam
pageId: string = "";
channelId: string = "";
pageName: string = ''
aboutToAppear() {
this.pageId = this.param.pageId
this.channelId = this.param.channelId
this.pageName = this.param.pageName
}
build() {
Column() {
CustomTitleUI({ titleName: this.pageName })
PageComponent({
currentTopNavSelectedIndex: $currentTopNavSelectedIndex,
navIndex: this.currentTopNavSelectedIndex,
pageId: this.pageId,
channelId: this.channelId,
});
}
}.height('100%')
.width('100%')
.backgroundColor($r('app.color.white'))
}
}
...
...
Please
register
or
login
to post a comment