Showing
3 changed files
with
12 additions
and
6 deletions
| @@ -105,8 +105,10 @@ export struct CompParser { | @@ -105,8 +105,10 @@ export struct CompParser { | ||
| 105 | // ZhSingleColumn05({ compDTO: compDTO }) | 105 | // ZhSingleColumn05({ compDTO: compDTO }) |
| 106 | // Divider().strokeWidth(1).color('#f5f5f5').padding({ left: 16, right: 16 }) | 106 | // Divider().strokeWidth(1).color('#f5f5f5').padding({ left: 16, right: 16 }) |
| 107 | } else if (this.compDTO.compStyle === CompStyle.Zh_Single_Column_09) { | 107 | } else if (this.compDTO.compStyle === CompStyle.Zh_Single_Column_09) { |
| 108 | + Divider().strokeWidth(3).color('#ffffff').padding({ left: 16, right: 16 }).margin({top: -3}) | ||
| 109 | + Divider().strokeWidth(6).color('#f5f5f5') | ||
| 108 | ZhSingleColumn09({ compDTO: this.compDTO }) | 110 | ZhSingleColumn09({ compDTO: this.compDTO }) |
| 109 | - Divider().strokeWidth(1).color('#f5f5f5').padding({ left: 16, right: 16 }) | 111 | + Divider().strokeWidth(6).color('#f5f5f5') |
| 110 | } else if (this.compDTO.compStyle === CompStyle.Card_Comp_Adv) { // 广告 | 112 | } else if (this.compDTO.compStyle === CompStyle.Card_Comp_Adv) { // 广告 |
| 111 | AdvCardParser({ pageModel: this.pageModel, compDTO: this.compDTO }) | 113 | AdvCardParser({ pageModel: this.pageModel, compDTO: this.compDTO }) |
| 112 | //Text(`compIndex = ${compIndex}`).width('100%').fontSize('12fp').fontColor(Color.Red).padding({ left: 16, right: 16 }) | 114 | //Text(`compIndex = ${compIndex}`).width('100%').fontSize('12fp').fontColor(Color.Red).padding({ left: 16, right: 16 }) |
| @@ -55,7 +55,7 @@ export struct ZhGridLayout02 { | @@ -55,7 +55,7 @@ export struct ZhGridLayout02 { | ||
| 55 | .width(CommonConstants.FULL_WIDTH) | 55 | .width(CommonConstants.FULL_WIDTH) |
| 56 | 56 | ||
| 57 | GridRow({ | 57 | GridRow({ |
| 58 | - gutter: { x: 12, y: 15 }, | 58 | + gutter: { x: 12, y: 13 }, |
| 59 | columns: { sm: listSize, md: 2 }, | 59 | columns: { sm: listSize, md: 2 }, |
| 60 | breakpoints: { value: ['320vp', '520vp', '840vp'] } | 60 | breakpoints: { value: ['320vp', '520vp', '840vp'] } |
| 61 | }) { | 61 | }) { |
| @@ -120,7 +120,7 @@ export struct ZhGridLayout02 { | @@ -120,7 +120,7 @@ export struct ZhGridLayout02 { | ||
| 120 | } | 120 | } |
| 121 | 121 | ||
| 122 | Text(item.newsTitle) | 122 | Text(item.newsTitle) |
| 123 | - .margin({ top: '5' }) | 123 | + .margin({top:'6'}) |
| 124 | .fontSize(13) | 124 | .fontSize(13) |
| 125 | .maxLines(2) | 125 | .maxLines(2) |
| 126 | .textOverflow({ overflow: TextOverflow.Ellipsis }) | 126 | .textOverflow({ overflow: TextOverflow.Ellipsis }) |
| @@ -59,12 +59,16 @@ export struct ZhGridLayout03 { | @@ -59,12 +59,16 @@ export struct ZhGridLayout03 { | ||
| 59 | .backgroundColor(0xf5f5f5) | 59 | .backgroundColor(0xf5f5f5) |
| 60 | .width(44) | 60 | .width(44) |
| 61 | .aspectRatio(1 / 1) | 61 | .aspectRatio(1 / 1) |
| 62 | - .margin({ | ||
| 63 | - bottom: 16 | ||
| 64 | - }) | 62 | + // .margin({ |
| 63 | + // bottom: 16 | ||
| 64 | + // }) | ||
| 65 | Text(item.newsTitle) | 65 | Text(item.newsTitle) |
| 66 | .fontSize(13) | 66 | .fontSize(13) |
| 67 | .maxLines(1) | 67 | .maxLines(1) |
| 68 | + .margin({ | ||
| 69 | + top: 8, | ||
| 70 | + bottom:11 | ||
| 71 | + }) | ||
| 68 | .textOverflow({ overflow: TextOverflow.Ellipsis }) | 72 | .textOverflow({ overflow: TextOverflow.Ellipsis }) |
| 69 | } | 73 | } |
| 70 | .width('100%') | 74 | .width('100%') |
-
Please register or login to post a comment