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
陈剑华
2024-05-18 15:12:48 +0800
Browse Files
Options
Browse Files
Download
Plain Diff
Commit
b07ebbc8d26a29cfa58771d29779287ff82b734e
b07ebbc8
2 parents
bd629d5c
08da268d
Merge remote-tracking branch 'origin/main'
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
20 additions
and
19 deletions
sight_harmony/features/wdComponent/src/main/ets/components/mine/home/ChildCommentComponent.ets
sight_harmony/features/wdComponent/src/main/ets/pages/MineHomePage.ets
sight_harmony/features/wdComponent/src/main/ets/pages/OtherNormalUserHomePage.ets
sight_harmony/features/wdComponent/src/main/ets/components/mine/home/ChildCommentComponent.ets
View file @
b07ebbc
...
...
@@ -34,7 +34,7 @@ export struct ChildCommentComponent {
.borderRadius(50)
}.width('89lpx')
.height('89lpx')
.margin({ right: '
15
lpx' })
.margin({ right: '
3
lpx' })
Column() {
Text(this.data.fromUserName)
...
...
sight_harmony/features/wdComponent/src/main/ets/pages/MineHomePage.ets
View file @
b07ebbc
...
...
@@ -66,19 +66,19 @@ struct MineHomePage {
Stack(){
Image(this.headPhotoUrl)
.alt($r('app.media.default_head'))
.width('100lpx')
.height('100lpx')
.width('115lpx')
.height('115lpx')
.objectFit(ImageFit.Auto)
.
borderRadius(50
)
.
clip(new Circle({ width: '115lpx', height: '115lpx' })
)
Image(this.levelHead)
.width('130lpx')
.height('130lpx')
.objectFit(ImageFit.Cover)
.width('165lpx')
.height('165lpx')
.objectFit(ImageFit.Auto)
}.onClick(()=>{
let params = {'headPhotoUrl': this.headPhotoUrl} as Record<string, string>;
WDRouterRule.jumpWithPage(WDRouterPage.showUserHeaderPage,params)
}).width('135lpx')
.height('135lpx')
}).width('165lpx')
.height('165lpx')
Column() {
Row() {
...
...
@@ -145,7 +145,7 @@ struct MineHomePage {
}.margin({ left: '15lpx' })
}.margin({ top: '23lpx' })
}.alignItems(HorizontalAlign.Start)
.margin({ left:
'32lpx'
})
.margin({ left:
StringUtils.isEmpty(this.levelHead)?'32lpx':"3lpx"
})
}
.onAreaChange((oldValue: Area, newValue: Area) => {
if (this.firstPositionY === 0) {
...
...
@@ -161,7 +161,9 @@ struct MineHomePage {
.backgroundColor($r('app.color.color_transparent'))
.height('184lpx')
.width('100%')
.padding({ left: '35lpx' })
.padding({ left: '6lpx' })
//用户简介区域
Column() {
Row() {
...
...
sight_harmony/features/wdComponent/src/main/ets/pages/OtherNormalUserHomePage.ets
View file @
b07ebbc
...
...
@@ -66,15 +66,14 @@ struct OtherNormalUserHomePage {
Stack(){
Image(this.headPhotoUrl)
.alt($r('app.media.default_head'))
.width('100lpx')
.height('100lpx')
.width('115lpx')
.height('115lpx')
.objectFit(ImageFit.Cover)
.
borderRadius(50
)
.
clip(new Circle({ width: '115lpx', height: '115lpx' })
)
Image(this.levelHead)
.width('130lpx')
.height('130lpx')
.width('165lpx')
.height('165lpx')
.objectFit(ImageFit.Cover)
.borderRadius(50)
}
Column() {
...
...
@@ -134,7 +133,7 @@ struct OtherNormalUserHomePage {
}.margin({ left: '15lpx' })
}.margin({ top: '23lpx' })
}.alignItems(HorizontalAlign.Start)
.margin({ left:
'32lpx'
})
.margin({ left:
StringUtils.isEmpty(this.levelHead)?'32lpx':"3lpx"
})
}
.onAreaChange((oldValue: Area, newValue: Area) => {
if (this.firstPositionY === 0) {
...
...
@@ -150,7 +149,7 @@ struct OtherNormalUserHomePage {
.backgroundColor($r('app.color.color_transparent'))
.height('184lpx')
.width('100%')
.padding({ left: '
35
lpx' })
.padding({ left: '
6
lpx' })
//用户简介区域
if(StringUtils.isNotEmpty(this.desc)){
...
...
Please
register
or
login
to post a comment