Showing
1 changed file
with
3 additions
and
0 deletions
| @@ -146,6 +146,7 @@ export struct RmhTitle { | @@ -146,6 +146,7 @@ export struct RmhTitle { | ||
| 146 | .height(16) | 146 | .height(16) |
| 147 | } | 147 | } |
| 148 | } | 148 | } |
| 149 | + if(this.rmhInfo?.rmhDesc != undefined){ | ||
| 149 | Text(this.rmhInfo?.rmhDesc.replaceAll('\n', '')) | 150 | Text(this.rmhInfo?.rmhDesc.replaceAll('\n', '')) |
| 150 | .fontSize($r("app.float.font_size_12")) | 151 | .fontSize($r("app.float.font_size_12")) |
| 151 | .fontColor($r("app.color.color_B0B0B0")) | 152 | .fontColor($r("app.color.color_B0B0B0")) |
| @@ -154,6 +155,8 @@ export struct RmhTitle { | @@ -154,6 +155,8 @@ export struct RmhTitle { | ||
| 154 | .textOverflow({ overflow: TextOverflow.Ellipsis }) | 155 | .textOverflow({ overflow: TextOverflow.Ellipsis }) |
| 155 | .textAlign(TextAlign.Start) | 156 | .textAlign(TextAlign.Start) |
| 156 | } | 157 | } |
| 158 | + | ||
| 159 | + } | ||
| 157 | .width('75%') | 160 | .width('75%') |
| 158 | } | 161 | } |
| 159 | } | 162 | } |
-
Please register or login to post a comment