Showing
1 changed file
with
2 additions
and
0 deletions
| @@ -326,6 +326,7 @@ export struct DynamicDetailComponent { | @@ -326,6 +326,7 @@ export struct DynamicDetailComponent { | ||
| 326 | .margin({ top: $r('app.float.margin_24')}) | 326 | .margin({ top: $r('app.float.margin_24')}) |
| 327 | //点赞 | 327 | //点赞 |
| 328 | Row(){ | 328 | Row(){ |
| 329 | + Blank().layoutWeight(1) | ||
| 329 | Image(this.newsStatusOfUser?.likeStatus == '1'? | 330 | Image(this.newsStatusOfUser?.likeStatus == '1'? |
| 330 | $r('app.media.icon_like_selected_redheart') | 331 | $r('app.media.icon_like_selected_redheart') |
| 331 | :$r('app.media.icon_like_unselect_grey_redheart')) | 332 | :$r('app.media.icon_like_unselect_grey_redheart')) |
| @@ -337,6 +338,7 @@ export struct DynamicDetailComponent { | @@ -337,6 +338,7 @@ export struct DynamicDetailComponent { | ||
| 337 | .fontSize($r('app.float.font_size_16')) | 338 | .fontSize($r('app.float.font_size_16')) |
| 338 | .lineHeight($r('app.float.margin_20')) | 339 | .lineHeight($r('app.float.margin_20')) |
| 339 | .margin({ left: $r('app.float.margin_2')}) | 340 | .margin({ left: $r('app.float.margin_2')}) |
| 341 | + Blank().layoutWeight(1) | ||
| 340 | } | 342 | } |
| 341 | .width($r('app.float.margin_154')) | 343 | .width($r('app.float.margin_154')) |
| 342 | .height($r('app.float.margin_40')) | 344 | .height($r('app.float.margin_40')) |
-
Please register or login to post a comment