扩展消息部分代码提交

This commit is contained in:
XiuYun CHEN
2025-07-14 17:37:45 +08:00
parent cf7aa93d6e
commit 1121cc3f20
15 changed files with 200 additions and 73 deletions
@@ -2,7 +2,7 @@ import { TabBarConsultationComp } from 'netease';
@Entry
@Component
struct PublicConsultationPage {
pathStack: NavPathStack = new NavPathStack()
@State
@Watch('onChangeIndex')
@@ -22,14 +22,17 @@ struct PublicConsultationPage {
this.onChangeIndex()
}
build() {
Navigation(this.pathStack) {
Flex() {
TabBarConsultationComp({ activeIndex: this.activeIndex})
TabBarConsultationComp({ activeIndex: this.activeIndex, pathStack: this.pathStack})
}
.backgroundColor($r('app.color.white'))
// .backgroundColor(Color.Red)
// .height('100%')
// .width('100%')
}
.mode(NavigationMode.Auto)
.hideTitleBar(true)
}
}