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-04 17:35:34 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
87c823f3ff95dc6a29f3aa969d79c1aed3cc394e
87c823f3
1 parent
c9071126
feat:优化个人主页
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
sight_harmony/features/wdComponent/src/main/ets/components/cardview/Card10Component.ets
sight_harmony/features/wdComponent/src/main/ets/components/comment/view/CommentComponent.ets
sight_harmony/features/wdComponent/src/main/ets/components/cardview/Card10Component.ets
View file @
87c823f
...
...
@@ -98,7 +98,7 @@ export struct Card10Component {
}
.width(CommonConstants.FULL_WIDTH)
.fontSize($r('app.float.font_size_18'))
.fontWeight(
600
)
.fontWeight(
FontWeight.Normal
)
.maxLines(1)
.textOverflow({ overflow: TextOverflow.Ellipsis })
.margin({ bottom: 19 })
...
...
sight_harmony/features/wdComponent/src/main/ets/components/comment/view/CommentComponent.ets
View file @
87c823f
...
...
@@ -397,7 +397,7 @@ struct ChildCommentItem {
@Builder headerView() {
Stack() {
Stack() {
Image(this.item.fromUserHeader)
Image(this.item.fromUserHeader
&&this.item.fromUserHeader.length>0?this.item.fromUserHeader:(this.item.fromUserType === 1?$r('app.media.default_head_userPage'):$r('app.media.AccountOwner_DefaultIcon'))
)
.alt($r('app.media.default_head'))
.width(24)
.height(24)
...
...
@@ -607,7 +607,7 @@ struct commentHeaderView {
@Builder headerView() {
Stack() {
Stack() {
Image(this.item.fromUserHeader)
Image(this.item.fromUserHeader
&&this.item.fromUserHeader.length>0?this.item.fromUserHeader:(this.item.fromUserType === 1?$r('app.media.default_head_userPage'):$r('app.media.AccountOwner_DefaultIcon'))
)
.alt($r('app.media.default_head'))
.width(32)
.height(32)
...
...
Please
register
or
login
to post a comment