王士厅
@@ -130,9 +130,17 @@ export struct RmhTitle { @@ -130,9 +130,17 @@ export struct RmhTitle {
130 130
131 build() { 131 build() {
132 Flex() { 132 Flex() {
  133 + if (this.rmhInfo.userType != '5') {
133 Stack() { 134 Stack() {
134 - Image(this.loadImg ? this.rmhInfo?.rmhHeadUrl : this.rmhInfo.userType == '1'?$r('app.media.default_head_userPage'):$r('app.media.AccountOwner_DefaultIcon'))  
135 - .alt(this.rmhInfo.userType == '1'?$r('app.media.default_head_userPage'):$r('app.media.AccountOwner_DefaultIcon')) 135 + Image(
  136 + this.loadImg
  137 + ? this.rmhInfo?.rmhHeadUrl
  138 + : this.rmhInfo.userType == '1'
  139 + ? $r('app.media.default_head_userPage')
  140 + : $r('app.media.AccountOwner_DefaultIcon'))
  141 + .alt(
  142 + this.rmhInfo.userType == '1'?$r('app.media.default_head_userPage'):
  143 + $r('app.media.AccountOwner_DefaultIcon'))
136 .width(36) 144 .width(36)
137 .height(36) 145 .height(36)
138 .borderRadius(18) 146 .borderRadius(18)
@@ -149,6 +157,7 @@ export struct RmhTitle { @@ -149,6 +157,7 @@ export struct RmhTitle {
149 .margin({ right: 8 }) 157 .margin({ right: 8 })
150 .alignContent(Alignment.BottomEnd) 158 .alignContent(Alignment.BottomEnd)
151 .flexShrink(0) 159 .flexShrink(0)
  160 + }
152 161
153 Column() { 162 Column() {
154 Text(this.rmhInfo?.rmhName) 163 Text(this.rmhInfo?.rmhName)