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-12 14:51:23 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
21e2784c878ca5dc059b60ff9ea0667c44df7f30
21e2784c
1 parent
d833e6d5
feat:优化直播界面人民号名称展示,人民号主页-直播list展示
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
1 deletions
sight_harmony/features/wdComponent/src/main/ets/components/cardCommon/LiveFollowComponent.ets
sight_harmony/features/wdComponent/src/main/ets/components/cardCommon/RmhTitle.ets
sight_harmony/features/wdComponent/src/main/ets/components/peopleShipHomePage/PeopleShipHomeArticleListComponent.ets
sight_harmony/features/wdComponent/src/main/ets/components/cardCommon/LiveFollowComponent.ets
View file @
21e2784
...
...
@@ -71,6 +71,7 @@ export struct LiveFollowComponent {
//号主名称
Text(this.rmhInfo.rmhName)
.fontColor(Color.White)
.textOverflow({overflow:TextOverflow.Ellipsis})
.maxLines(1)
.fontWeight(500)
.fontSize('12fp')
...
...
sight_harmony/features/wdComponent/src/main/ets/components/cardCommon/RmhTitle.ets
View file @
21e2784
...
...
@@ -115,7 +115,8 @@ export struct RmhTitle {
build() {
Flex() {
Stack() {
Image(this.loadImg ? this.rmhInfo?.rmhHeadUrl : $r('app.media.comment_rmh_tag'))
Image(this.loadImg ? this.rmhInfo?.rmhHeadUrl : this.rmhInfo.userType == '1'?$r('app.media.default_head_userPage'):$r('app.media.comment_rmh_tag'))
.alt(this.rmhInfo.userType == '1'?$r('app.media.default_head_userPage'):$r('app.media.comment_rmh_tag'))
.width(36)
.height(36)
.borderRadius(50)
...
...
sight_harmony/features/wdComponent/src/main/ets/components/peopleShipHomePage/PeopleShipHomeArticleListComponent.ets
View file @
21e2784
...
...
@@ -198,11 +198,19 @@ export struct PeopleShipHomeArticleListComponent {
contentType: item.type
})
});
///直播没有评论
if (this.typeModel.type === 2){
this.articleListDTOChangeContentDTO(listData, [])
}else {
PageRepository.getContentInteract(params).then(res => {
this.articleListDTOChangeContentDTO(listData, res.data ?? [])
}).catch(() => {
this.articleListDTOChangeContentDTO(listData, [])
})
}
}
}
...
...
Please
register
or
login
to post a comment