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-09-23 16:30:05 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
ab89b861260f4879cb02d574ea66722cba65820f
ab89b861
1 parent
e6eeb8b1
fix: 20533 人民号推荐频道,采集数据不应展示号主头像和关注按钮
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
2 deletions
sight_harmony/features/wdComponent/src/main/ets/components/cardCommon/RmhTitle.ets
sight_harmony/features/wdComponent/src/main/ets/components/cardCommon/RmhTitle.ets
View file @
ab89b86
...
...
@@ -130,9 +130,17 @@ export struct RmhTitle {
build() {
Flex() {
if (this.rmhInfo.userType != '5') {
Stack() {
Image(this.loadImg ? this.rmhInfo?.rmhHeadUrl : this.rmhInfo.userType == '1'?$r('app.media.default_head_userPage'):$r('app.media.AccountOwner_DefaultIcon'))
.alt(this.rmhInfo.userType == '1'?$r('app.media.default_head_userPage'):$r('app.media.AccountOwner_DefaultIcon'))
Image(
this.loadImg
? this.rmhInfo?.rmhHeadUrl
: this.rmhInfo.userType == '1'
? $r('app.media.default_head_userPage')
: $r('app.media.AccountOwner_DefaultIcon'))
.alt(
this.rmhInfo.userType == '1'?$r('app.media.default_head_userPage'):
$r('app.media.AccountOwner_DefaultIcon'))
.width(36)
.height(36)
.borderRadius(18)
...
...
@@ -149,6 +157,7 @@ export struct RmhTitle {
.margin({ right: 8 })
.alignContent(Alignment.BottomEnd)
.flexShrink(0)
}
Column() {
Text(this.rmhInfo?.rmhName)
...
...
Please
register
or
login
to post a comment