Showing
1 changed file
with
9 additions
and
1 deletions
| @@ -36,6 +36,12 @@ export struct ZhGridLayout03 { | @@ -36,6 +36,12 @@ export struct ZhGridLayout03 { | ||
| 36 | } | 36 | } |
| 37 | }) | 37 | }) |
| 38 | } | 38 | } |
| 39 | + .padding({ | ||
| 40 | + left: $r('app.float.card_comp_pagePadding_lf'), | ||
| 41 | + right: $r('app.float.card_comp_pagePadding_lf'), | ||
| 42 | + top: $r('app.float.card_comp_pagePadding_tb'), | ||
| 43 | + bottom: $r('app.float.card_comp_pagePadding_tb') | ||
| 44 | + }) | ||
| 39 | } | 45 | } |
| 40 | 46 | ||
| 41 | /** | 47 | /** |
| @@ -49,7 +55,9 @@ export struct ZhGridLayout03 { | @@ -49,7 +55,9 @@ export struct ZhGridLayout03 { | ||
| 49 | Image(item.coverUrl) | 55 | Image(item.coverUrl) |
| 50 | .width(44) | 56 | .width(44) |
| 51 | .aspectRatio(1 / 1) | 57 | .aspectRatio(1 / 1) |
| 52 | - .margin(16) | 58 | + .margin({ |
| 59 | + bottom: 16 | ||
| 60 | + }) | ||
| 53 | Text(item.newsTitle) | 61 | Text(item.newsTitle) |
| 54 | .fontSize(13) | 62 | .fontSize(13) |
| 55 | .maxLines(1) | 63 | .maxLines(1) |
-
Please register or login to post a comment