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
yangchenggong1_wd
2024-05-27 17:53:10 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
f8a716e7e45a5b051558c720a1294e8d2b91b9fb
f8a716e7
1 parent
8fd8712b
fix:bug[17967] 号主页-页面展示_顶部展示异常
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
8 deletions
sight_harmony/features/wdComponent/src/main/ets/components/page/PeopleShipHomePage.ets
sight_harmony/features/wdComponent/src/main/ets/components/peopleShipHomePage/PeopleShipHomePageTopComponent.ets
sight_harmony/features/wdComponent/src/main/ets/components/page/PeopleShipHomePage.ets
View file @
f8a716e
...
...
@@ -36,7 +36,7 @@ struct PeopleShipHomePage {
@Provide @Watch('handleChangeAttentionStata') isLoadingAttention: boolean = false
//关注显示
@State attentionOpacity: boolean = false
@Provide topHeight: number = 2
86
@Provide topHeight: number = 2
14
@State isLoading: boolean = true
@State topSafeHeight: number = AppStorage.get<number>('topSafeHeight') || 0
...
...
@@ -123,13 +123,12 @@ struct PeopleShipHomePage {
})
}
}.expandSafeArea([SafeAreaType.SYSTEM], [SafeAreaEdge.BOTTOM])
}
.expandSafeArea([SafeAreaType.SYSTEM], [SafeAreaEdge.BOTTOM])
.alignItems(HorizontalAlign.Start)
.justifyContent(FlexAlign.Start)
.width('100%')
// .height('100%')
}
// .height('100%')
.width('100%')
}
...
...
sight_harmony/features/wdComponent/src/main/ets/components/peopleShipHomePage/PeopleShipHomePageTopComponent.ets
View file @
f8a716e
...
...
@@ -28,7 +28,7 @@ export struct PeopleShipHomePageTopComponent {
@State collapseTxt: string = '…展开';
private subTxt: string = '';
@State content: string = ''
@State topFixedHeight: number = 2
86
@State topFixedHeight: number = 2
14
@State lineInNum: number = 1
@Link topHeight: number
@State provinceName: string = ''
...
...
@@ -39,7 +39,7 @@ export struct PeopleShipHomePageTopComponent {
// 顶部图片
Image($r('app.media.home_page_bg'))
.width('100%')
.height('
120
vp')
.height('
48
vp')
.objectFit(ImageFit.Fill)
.backgroundColor(Color.White)
// 头像和名称
...
...
@@ -83,7 +83,7 @@ export struct PeopleShipHomePageTopComponent {
}
.width('100%')
.height('1
80
vp')
.height('1
08
vp')
.backgroundColor(Color.Transparent)
// 认证id:1蓝2黄,蓝v 只有官方认证,黄v有领域和身份认证
...
...
@@ -321,7 +321,7 @@ export struct PeopleShipHomePageTopComponent {
}
}
if (this.detailModel) {
this.topFixedHeight = 2
86
this.topFixedHeight = 2
14
if (this.detailModel.region && this.detailModel.region.length > 0) {
this.provinceName = this.detailModel.region
} else {
...
...
Please
register
or
login
to post a comment