Showing
1 changed file
with
11 additions
and
10 deletions
| @@ -136,16 +136,17 @@ export struct PlayerEndView { | @@ -136,16 +136,17 @@ export struct PlayerEndView { | ||
| 136 | .height(254) | 136 | .height(254) |
| 137 | .backgroundColor('#999999') | 137 | .backgroundColor('#999999') |
| 138 | .borderRadius(4) | 138 | .borderRadius(4) |
| 139 | - | ||
| 140 | - Image(this.contentDetailData.rmhInfo?.rmhHeadUrl) | ||
| 141 | - .width(80) | ||
| 142 | - .height(80) | ||
| 143 | - .borderRadius(40) | ||
| 144 | - .borderWidth(1) | ||
| 145 | - .borderColor(Color.White) | ||
| 146 | - .borderStyle(BorderStyle.Solid) | ||
| 147 | - .position({ x: '50%', y: 0 }) | ||
| 148 | - .markAnchor({ x: '50%', y: '50%' }) | 139 | + if (this.contentDetailData.rmhInfo != null) { |
| 140 | + Image(this.contentDetailData.rmhInfo?.rmhHeadUrl) | ||
| 141 | + .width(80) | ||
| 142 | + .height(80) | ||
| 143 | + .borderRadius(40) | ||
| 144 | + .borderWidth(1) | ||
| 145 | + .borderColor(Color.White) | ||
| 146 | + .borderStyle(BorderStyle.Solid) | ||
| 147 | + .position({ x: '50%', y: 0 }) | ||
| 148 | + .markAnchor({ x: '50%', y: '50%' }) | ||
| 149 | + } | ||
| 149 | } | 150 | } |
| 150 | .width(307) | 151 | .width(307) |
| 151 | .padding({ top: 40 }) | 152 | .padding({ top: 40 }) |
-
Please register or login to post a comment