Showing
1 changed file
with
5 additions
and
1 deletions
| @@ -81,8 +81,9 @@ export struct LiveBigImage01Component { | @@ -81,8 +81,9 @@ export struct LiveBigImage01Component { | ||
| 81 | .fontFamily('PingFang SC-Medium') | 81 | .fontFamily('PingFang SC-Medium') |
| 82 | .maxLines(1) | 82 | .maxLines(1) |
| 83 | .textOverflow({ overflow: TextOverflow.Ellipsis }) | 83 | .textOverflow({ overflow: TextOverflow.Ellipsis }) |
| 84 | - .margin({ top: 8, bottom: 8 }) | ||
| 85 | .align(Alignment.Start) | 84 | .align(Alignment.Start) |
| 85 | + .height(24) | ||
| 86 | + .textAlign(TextAlign.Center) | ||
| 86 | 87 | ||
| 87 | Image($r('app.media.point_icon')) | 88 | Image($r('app.media.point_icon')) |
| 88 | .objectFit(ImageFit.Auto) | 89 | .objectFit(ImageFit.Auto) |
| @@ -100,9 +101,12 @@ export struct LiveBigImage01Component { | @@ -100,9 +101,12 @@ export struct LiveBigImage01Component { | ||
| 100 | .textOverflow({ overflow: TextOverflow.Ellipsis }) | 101 | .textOverflow({ overflow: TextOverflow.Ellipsis }) |
| 101 | .margin({ top: 8, bottom: 8, right: 10 }) | 102 | .margin({ top: 8, bottom: 8, right: 10 }) |
| 102 | .align(Alignment.Start) | 103 | .align(Alignment.Start) |
| 104 | + .height(24) | ||
| 105 | + .textAlign(TextAlign.Center) | ||
| 103 | } | 106 | } |
| 104 | .backgroundColor('#F5F5F5') | 107 | .backgroundColor('#F5F5F5') |
| 105 | .margin(12) | 108 | .margin(12) |
| 109 | + .height(24) | ||
| 106 | } | 110 | } |
| 107 | // 预约 | 111 | // 预约 |
| 108 | Row() { | 112 | Row() { |
-
Please register or login to post a comment