Showing
2 changed files
with
6 additions
and
2 deletions
| @@ -115,6 +115,7 @@ export struct CompParser { | @@ -115,6 +115,7 @@ export struct CompParser { | ||
| 115 | } | 115 | } |
| 116 | } else if (this.compDTO.compStyle === CompStyle.Zh_Single_Row_02) { | 116 | } else if (this.compDTO.compStyle === CompStyle.Zh_Single_Row_02) { |
| 117 | ZhSingleRow02({ compDTO: this.compDTO, pageId: this.pageId, pageName: this.pageName }) | 117 | ZhSingleRow02({ compDTO: this.compDTO, pageId: this.pageId, pageName: this.pageName }) |
| 118 | + Divider().strokeWidth(1).color('#f5f5f5').width(CommonConstants.FULL_WIDTH).padding({ left: 10, right: 10 }) | ||
| 118 | } else if (this.compDTO.compStyle === CompStyle.Zh_Single_Row_03) { | 119 | } else if (this.compDTO.compStyle === CompStyle.Zh_Single_Row_03) { |
| 119 | ZhSingleRow03({ compDTO: this.compDTO, pageId: this.pageId, pageName: this.pageName }) | 120 | ZhSingleRow03({ compDTO: this.compDTO, pageId: this.pageId, pageName: this.pageName }) |
| 120 | } else if (this.compDTO.compStyle === CompStyle.Zh_Grid_Layout_02) { //双列流小视频,一行两图卡 ->标题 | 121 | } else if (this.compDTO.compStyle === CompStyle.Zh_Grid_Layout_02) { //双列流小视频,一行两图卡 ->标题 |
| @@ -131,6 +132,7 @@ export struct CompParser { | @@ -131,6 +132,7 @@ export struct CompParser { | ||
| 131 | 132 | ||
| 132 | } else if (this.compDTO.compStyle === CompStyle.Zh_Grid_Layout_03) { | 133 | } else if (this.compDTO.compStyle === CompStyle.Zh_Grid_Layout_03) { |
| 133 | ZhGridLayout03({ compDTO: this.compDTO, pageId: this.pageId, pageName: this.pageName }) | 134 | ZhGridLayout03({ compDTO: this.compDTO, pageId: this.pageId, pageName: this.pageName }) |
| 135 | + Divider().strokeWidth(1).color('#f5f5f5').width(CommonConstants.FULL_WIDTH).padding({ left: 10, right: 10 }) | ||
| 134 | } else if (this.compDTO.compStyle === CompStyle.Zh_Single_Row_04) { | 136 | } else if (this.compDTO.compStyle === CompStyle.Zh_Single_Row_04) { |
| 135 | ZhSingleRow04({ compDTO: this.compDTO, pageId: this.pageId, pageName: this.pageName }) | 137 | ZhSingleRow04({ compDTO: this.compDTO, pageId: this.pageId, pageName: this.pageName }) |
| 136 | } else if (this.compDTO.compStyle === CompStyle.Zh_Single_Row_05) { | 138 | } else if (this.compDTO.compStyle === CompStyle.Zh_Single_Row_05) { |
| @@ -178,6 +180,7 @@ export struct CompParser { | @@ -178,6 +180,7 @@ export struct CompParser { | ||
| 178 | }) | 180 | }) |
| 179 | } else if (this.compDTO.compStyle === CompStyle.Zh_Single_Column_04) { | 181 | } else if (this.compDTO.compStyle === CompStyle.Zh_Single_Column_04) { |
| 180 | ZhSingleColumn04({ compDTO: this.compDTO, pageId: this.pageId, pageName: this.pageName }) | 182 | ZhSingleColumn04({ compDTO: this.compDTO, pageId: this.pageId, pageName: this.pageName }) |
| 183 | + Divider().strokeWidth(1).color('#f5f5f5').width(CommonConstants.FULL_WIDTH).padding({ left: 10, right: 10 }) | ||
| 181 | } else if (this.compDTO.compStyle === CompStyle.Zh_Single_Column_05) { | 184 | } else if (this.compDTO.compStyle === CompStyle.Zh_Single_Column_05) { |
| 182 | // ZhSingleColumn05({ compDTO: compDTO }) | 185 | // ZhSingleColumn05({ compDTO: compDTO }) |
| 183 | } else if (this.compDTO.compStyle === CompStyle.Zh_Single_Column_09) { | 186 | } else if (this.compDTO.compStyle === CompStyle.Zh_Single_Column_09) { |
| @@ -216,7 +219,8 @@ export struct CompParser { | @@ -216,7 +219,8 @@ export struct CompParser { | ||
| 216 | Divider().strokeWidth(5).color('#f5f5f5').width('120%').margin({left: -6}) | 219 | Divider().strokeWidth(5).color('#f5f5f5').width('120%').margin({left: -6}) |
| 217 | } | 220 | } |
| 218 | } else if (this.compDTO.compStyle === CompStyle.Zh_Carousel_Layout_01) { | 221 | } else if (this.compDTO.compStyle === CompStyle.Zh_Carousel_Layout_01) { |
| 219 | - Divider().strokeWidth(1).color('#f5f5f5').width(CommonConstants.FULL_WIDTH).padding({ left: 10, right: 10 }) | 222 | + // Divider().strokeWidth(1).color('#f5f5f5').width(CommonConstants.FULL_WIDTH).padding({ left: 10, right: 10 }) |
| 223 | + Divider().strokeWidth(5).color('#f5f5f5').width('120%').margin({left: -6}) | ||
| 220 | } else if (this.compDTO?.operDataList?.[0]?.appStyle === CompStyle.Card_10) { | 224 | } else if (this.compDTO?.operDataList?.[0]?.appStyle === CompStyle.Card_10) { |
| 221 | // 大专题 | 225 | // 大专题 |
| 222 | if (this.nextCompDTO?.operDataList?.[0]?.appStyle === CompStyle.Card_10) { | 226 | if (this.nextCompDTO?.operDataList?.[0]?.appStyle === CompStyle.Card_10) { |
| @@ -69,7 +69,7 @@ export struct ZhGridLayout03 { | @@ -69,7 +69,7 @@ export struct ZhGridLayout03 { | ||
| 69 | .maxLines(1) | 69 | .maxLines(1) |
| 70 | .margin({ | 70 | .margin({ |
| 71 | top: 8, | 71 | top: 8, |
| 72 | - bottom: 11 | 72 | + bottom: 8 |
| 73 | }) | 73 | }) |
| 74 | .textOverflow({ overflow: TextOverflow.Ellipsis }) | 74 | .textOverflow({ overflow: TextOverflow.Ellipsis }) |
| 75 | 75 |
-
Please register or login to post a comment