harmony/features/netease/src/main/ets/view/ManyForOneComp.ets
2025-07-10 08:57:32 +08:00

27 lines
435 B
Plaintext

import { BasicConstant,HdNav } from '@itcast/basic'
import { TabBarTopComp } from './TabBarTopComp';
@Component
export struct ManyForOneComp {
@State
@Watch('onChangeIndex')
activeIndex: number = 0
@State type: number=1
onChangeIndex() {
}
build() {
Column() {
TabBarTopComp({activeIndex:this.activeIndex,type:this.type});
}.width('100%')
.height('100%')
.backgroundColor(Color.White)
}
}