Showing
1 changed file
with
3 additions
and
3 deletions
| @@ -50,12 +50,11 @@ export struct ZhGridLayout02 { | @@ -50,12 +50,11 @@ export struct ZhGridLayout02 { | ||
| 50 | .fontWeight(600) | 50 | .fontWeight(600) |
| 51 | } | 51 | } |
| 52 | .justifyContent(FlexAlign.Start) | 52 | .justifyContent(FlexAlign.Start) |
| 53 | - | ||
| 54 | .margin({ top: 8, bottom: 8 }) | 53 | .margin({ top: 8, bottom: 8 }) |
| 55 | .width(CommonConstants.FULL_WIDTH) | 54 | .width(CommonConstants.FULL_WIDTH) |
| 56 | 55 | ||
| 57 | GridRow({ | 56 | GridRow({ |
| 58 | - gutter: { x: 12, y: 22 }, | 57 | + gutter: { x: 12, y: 15 }, |
| 59 | columns: { sm: listSize, md: 2 }, | 58 | columns: { sm: listSize, md: 2 }, |
| 60 | breakpoints: { value: ['320vp', '520vp', '840vp'] } | 59 | breakpoints: { value: ['320vp', '520vp', '840vp'] } |
| 61 | }) { | 60 | }) { |
| @@ -107,7 +106,8 @@ export struct ZhGridLayout02 { | @@ -107,7 +106,8 @@ export struct ZhGridLayout02 { | ||
| 107 | .height(95) | 106 | .height(95) |
| 108 | .borderRadius(4) | 107 | .borderRadius(4) |
| 109 | Text(item.newsTitle) | 108 | Text(item.newsTitle) |
| 110 | - .fontSize(13) | 109 | + .margin({top:'5'}) |
| 110 | + .fontSize(12) | ||
| 111 | .maxLines(2) | 111 | .maxLines(2) |
| 112 | .textOverflow({ overflow: TextOverflow.Ellipsis }) | 112 | .textOverflow({ overflow: TextOverflow.Ellipsis }) |
| 113 | } | 113 | } |
-
Please register or login to post a comment