wangliang_wd

feat:优化个人主页

@@ -98,7 +98,7 @@ export struct Card10Component { @@ -98,7 +98,7 @@ export struct Card10Component {
98 } 98 }
99 .width(CommonConstants.FULL_WIDTH) 99 .width(CommonConstants.FULL_WIDTH)
100 .fontSize($r('app.float.font_size_18')) 100 .fontSize($r('app.float.font_size_18'))
101 - .fontWeight(600) 101 + .fontWeight(FontWeight.Normal)
102 .maxLines(1) 102 .maxLines(1)
103 .textOverflow({ overflow: TextOverflow.Ellipsis }) 103 .textOverflow({ overflow: TextOverflow.Ellipsis })
104 .margin({ bottom: 19 }) 104 .margin({ bottom: 19 })
@@ -397,7 +397,7 @@ struct ChildCommentItem { @@ -397,7 +397,7 @@ struct ChildCommentItem {
397 @Builder headerView() { 397 @Builder headerView() {
398 Stack() { 398 Stack() {
399 Stack() { 399 Stack() {
400 - Image(this.item.fromUserHeader) 400 + 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')))
401 .alt($r('app.media.default_head')) 401 .alt($r('app.media.default_head'))
402 .width(24) 402 .width(24)
403 .height(24) 403 .height(24)
@@ -607,7 +607,7 @@ struct commentHeaderView { @@ -607,7 +607,7 @@ struct commentHeaderView {
607 @Builder headerView() { 607 @Builder headerView() {
608 Stack() { 608 Stack() {
609 Stack() { 609 Stack() {
610 - Image(this.item.fromUserHeader) 610 + 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')))
611 .alt($r('app.media.default_head')) 611 .alt($r('app.media.default_head'))
612 .width(32) 612 .width(32)
613 .height(32) 613 .height(32)