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-07-01 15:31:57 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
ca8f53d8087107e776cc7dafa7d5cacc8209e79f
ca8f53d8
1 parent
04e6cbba
fix(19312):UI还原问题-【uat】进入“竖屏直播间-测试” 大V图标未显示,看图
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
27 additions
and
15 deletions
sight_harmony/features/wdComponent/src/main/ets/components/cardCommon/LiveFollowComponent.ets
sight_harmony/features/wdComponent/src/main/ets/components/cardCommon/LiveFollowComponent.ets
View file @
ca8f53d
...
...
@@ -40,22 +40,34 @@ export struct LiveFollowComponent {
bottomLeft: 90
})
Row() {
//号主头像
Image(this.rmhInfo.rmhHeadUrl)
.alt($r('app.media.icon_default_head_mater'))
.width(24)
.height(24)
.borderRadius(90)
.onClick(() => {
// 跳转到号主页
if (this.contentDetailData.rmhInfo?.cnMainControl === 1) {
const params: Params = {
creatorId: this.contentDetailData.rmhInfo.rmhId,
pageID: ''
Stack({alignContent: Alignment.Bottom}){
//号主头像
Image(this.rmhInfo.rmhHeadUrl)
.alt($r('app.media.icon_default_head_mater'))
.width(24)
.height(24)
.borderRadius(90)
.onClick(() => {
// 跳转到号主页
if (this.contentDetailData.rmhInfo?.cnMainControl === 1) {
const params: Params = {
creatorId: this.contentDetailData.rmhInfo.rmhId,
pageID: ''
}
WDRouterRule.jumpWithPage(WDRouterPage.peopleShipHomePage, params)
}
WDRouterRule.jumpWithPage(WDRouterPage.peopleShipHomePage, params)
}
})
})
if(this.contentDetailData.rmhInfo?.authIcon){
Row(){
Image(this.contentDetailData.rmhInfo?.authIcon)
.width(10)
.height(10)
.objectFit(ImageFit.Cover)
}.width(24)
.justifyContent(FlexAlign.End)
}
}.width(24).height(24)
//号主名称
Text(this.rmhInfo.rmhName)
.fontColor(Color.White)
...
...
Please
register
or
login
to post a comment