Showing
1 changed file
with
12 additions
and
0 deletions
| @@ -40,6 +40,7 @@ export struct LiveFollowComponent { | @@ -40,6 +40,7 @@ export struct LiveFollowComponent { | ||
| 40 | bottomLeft: 90 | 40 | bottomLeft: 90 |
| 41 | }) | 41 | }) |
| 42 | Row() { | 42 | Row() { |
| 43 | + Stack({alignContent: Alignment.Bottom}){ | ||
| 43 | //号主头像 | 44 | //号主头像 |
| 44 | Image(this.rmhInfo.rmhHeadUrl) | 45 | Image(this.rmhInfo.rmhHeadUrl) |
| 45 | .alt($r('app.media.icon_default_head_mater')) | 46 | .alt($r('app.media.icon_default_head_mater')) |
| @@ -56,6 +57,17 @@ export struct LiveFollowComponent { | @@ -56,6 +57,17 @@ export struct LiveFollowComponent { | ||
| 56 | WDRouterRule.jumpWithPage(WDRouterPage.peopleShipHomePage, params) | 57 | WDRouterRule.jumpWithPage(WDRouterPage.peopleShipHomePage, params) |
| 57 | } | 58 | } |
| 58 | }) | 59 | }) |
| 60 | + if(this.contentDetailData.rmhInfo?.authIcon){ | ||
| 61 | + Row(){ | ||
| 62 | + Image(this.contentDetailData.rmhInfo?.authIcon) | ||
| 63 | + .width(10) | ||
| 64 | + .height(10) | ||
| 65 | + .objectFit(ImageFit.Cover) | ||
| 66 | + }.width(24) | ||
| 67 | + .justifyContent(FlexAlign.End) | ||
| 68 | + } | ||
| 69 | + }.width(24).height(24) | ||
| 70 | + | ||
| 59 | //号主名称 | 71 | //号主名称 |
| 60 | Text(this.rmhInfo.rmhName) | 72 | Text(this.rmhInfo.rmhName) |
| 61 | .fontColor(Color.White) | 73 | .fontColor(Color.White) |
-
Please register or login to post a comment