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 人民号推荐频道,采集数据不应展示号主头像和关注按钮
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
27 additions
and
18 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,25 +130,34 @@ export struct RmhTitle {
build() {
Flex() {
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'))
.width(36)
.height(36)
.borderRadius(18)
.border({
width: 0.5,
color: '#0D000000', // 5% 透明度的黑色
style: BorderStyle.Solid
})
Image(this.rmhInfo?.authIcon)
.width(14)
.height(14)
.borderRadius(50)
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'))
.width(36)
.height(36)
.borderRadius(18)
.border({
width: 0.5,
color: '#0D000000', // 5% 透明度的黑色
style: BorderStyle.Solid
})
Image(this.rmhInfo?.authIcon)
.width(14)
.height(14)
.borderRadius(50)
}
.margin({ right: 8 })
.alignContent(Alignment.BottomEnd)
.flexShrink(0)
}
.margin({ right: 8 })
.alignContent(Alignment.BottomEnd)
.flexShrink(0)
Column() {
Text(this.rmhInfo?.rmhName)
...
...
Please
register
or
login
to post a comment