点击tabbar
This commit is contained in:
@@ -75,7 +75,7 @@ export struct FourSection {
|
||||
abilityName: 'com.huawei.hmos.settings.MainAbility',
|
||||
uri: 'application_info_entry',
|
||||
parameters: {
|
||||
pushParams: 'com.example.expert'
|
||||
pushParams: 'cn.shangyu.gdxzExprt'
|
||||
}
|
||||
};
|
||||
const context = getContext(this) as common.UIAbilityContext;
|
||||
|
||||
@@ -36,7 +36,8 @@ export struct HeaderView {
|
||||
@State myPageData:object = new Object;
|
||||
@State heroArray:Array<object> = [];
|
||||
@State clickHeroId:string = '';
|
||||
|
||||
@Consume@Watch('gotoTop')
|
||||
toTop:boolean;
|
||||
private scrollerForList: Scroller = new Scroller()
|
||||
|
||||
dialogController: CustomDialogController = new CustomDialogController({
|
||||
@@ -162,4 +163,10 @@ export struct HeaderView {
|
||||
.backgroundImage(this.myPageData["myInfoBackGround"]).backgroundImageSize(ImageSize.Cover)
|
||||
}
|
||||
// }
|
||||
gotoTop()
|
||||
{
|
||||
this.photoPath = BasicConstant.urlImage+authStore.getUser().photo;
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user