扩展消息部分代码提交
This commit is contained in:
@@ -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)
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user