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
wangliang_wd
2024-07-15 14:09:49 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
9ec4b48e7fc6a93beddbeb953b985fa96daf00e9
9ec4b48e
1 parent
68f60ad2
feat:调整个人主页UI展示
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
5 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/products/phone/src/main/ets/pages/launchPage/LaunchAdvertisingPage.ets
sight_harmony/features/wdComponent/src/main/ets/components/page/PeopleShipHomePage.ets
View file @
9ec4b48
...
...
@@ -37,7 +37,7 @@ struct PeopleShipHomePage {
@Provide @Watch('handleChangeAttentionStata') isLoadingAttention: boolean = false
//关注显示
@State attentionOpacity: boolean = false
@Provide topHeight: number =
214
@Provide topHeight: number =
190
@State isLoading: boolean = true
@State topSafeHeight: number = AppStorage.get<number>('topSafeHeight') || 0
@State isConnectNetwork : boolean = NetworkUtil.isNetConnected()
...
...
@@ -101,7 +101,7 @@ struct PeopleShipHomePage {
topHeight: this.topHeight
})
.width("100%")
.height(this.topHeight)
//
.height(this.topHeight)
// 列表
Column(){
PeopleShipHomeListComponent({
...
...
sight_harmony/features/wdComponent/src/main/ets/components/peopleShipHomePage/PeopleShipHomePageTopComponent.ets
View file @
9ec4b48
...
...
@@ -28,7 +28,7 @@ export struct PeopleShipHomePageTopComponent {
@State collapseTxt: string = '…展开';
private subTxt: string = '';
@State content: string = ''
@State topFixedHeight: number =
214
@State topFixedHeight: number =
190
@State lineInNum: number = 1
@Link topHeight: number
@State provinceName: string = ''
...
...
@@ -323,7 +323,7 @@ export struct PeopleShipHomePageTopComponent {
}
}
if (this.detailModel) {
this.topFixedHeight =
214
this.topFixedHeight =
190
if (this.detailModel.region && this.detailModel.region.length > 0) {
this.provinceName = this.detailModel.region
} else {
...
...
@@ -364,7 +364,6 @@ export struct PeopleShipHomePageTopComponent {
this.topHeight = this.topFixedHeight + (this.isCollapse ? 21 * 3 : 21 * this.lineInNum)
}
}
}
}
...
...
sight_harmony/products/phone/src/main/ets/pages/launchPage/LaunchAdvertisingPage.ets
View file @
9ec4b48
...
...
@@ -72,6 +72,7 @@ struct LaunchAdvertisingPage {
}else {
//显示图片
Image(this.defaultModel.bootScreenUrl)
.objectFit(ImageFit.Contain)
// .expandSafeArea([SafeAreaType.SYSTEM], [SafeAreaEdge.TOP, SafeAreaEdge.BOTTOM])
.width('100%')
.height('100%')
...
...
Please
register
or
login
to post a comment