王士厅
@@ -130,25 +130,34 @@ export struct RmhTitle { @@ -130,25 +130,34 @@ export struct RmhTitle {
130 130
131 build() { 131 build() {
132 Flex() { 132 Flex() {
133 - 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'))  
136 - .width(36)  
137 - .height(36)  
138 - .borderRadius(18)  
139 - .border({  
140 - width: 0.5,  
141 - color: '#0D000000', // 5% 透明度的黑色  
142 - style: BorderStyle.Solid  
143 - })  
144 - Image(this.rmhInfo?.authIcon)  
145 - .width(14)  
146 - .height(14)  
147 - .borderRadius(50) 133 + if (this.rmhInfo.userType != '5') {
  134 + Stack() {
  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'))
  144 + .width(36)
  145 + .height(36)
  146 + .borderRadius(18)
  147 + .border({
  148 + width: 0.5,
  149 + color: '#0D000000', // 5% 透明度的黑色
  150 + style: BorderStyle.Solid
  151 + })
  152 + Image(this.rmhInfo?.authIcon)
  153 + .width(14)
  154 + .height(14)
  155 + .borderRadius(50)
  156 + }
  157 + .margin({ right: 8 })
  158 + .alignContent(Alignment.BottomEnd)
  159 + .flexShrink(0)
148 } 160 }
149 - .margin({ right: 8 })  
150 - .alignContent(Alignment.BottomEnd)  
151 - .flexShrink(0)  
152 161
153 Column() { 162 Column() {
154 Text(this.rmhInfo?.rmhName) 163 Text(this.rmhInfo?.rmhName)