Showing
2 changed files
with
3 additions
and
5 deletions
| @@ -65,11 +65,6 @@ export struct CardParser { | @@ -65,11 +65,6 @@ export struct CardParser { | ||
| 65 | // Text(this.contentDTO.newsTitle) | 65 | // Text(this.contentDTO.newsTitle) |
| 66 | this.contentBuilder(this.contentDTO); | 66 | this.contentBuilder(this.contentDTO); |
| 67 | } | 67 | } |
| 68 | - .margin({ | ||
| 69 | - left: this.compDTO.compStyle === CompStyle.Zh_Single_Row_04 ? 0 : 6, | ||
| 70 | - right: (this.compDTO.compStyle === CompStyle.Zh_Single_Row_05 || this.compDTO.compStyle === CompStyle.Zh_Single_Row_02 || | ||
| 71 | - this.compDTO.compStyle === CompStyle.Zh_Single_Row_04) ? 0 : 6 | ||
| 72 | - }) | ||
| 73 | } | 68 | } |
| 74 | 69 | ||
| 75 | @Builder | 70 | @Builder |
| @@ -266,6 +266,9 @@ export struct PeopleShipMainComponent { | @@ -266,6 +266,9 @@ export struct PeopleShipMainComponent { | ||
| 266 | ListItem() { | 266 | ListItem() { |
| 267 | Column(){ | 267 | Column(){ |
| 268 | CardParser({ compDTO: new CompDTO, contentDTO: item }) | 268 | CardParser({ compDTO: new CompDTO, contentDTO: item }) |
| 269 | + .margin({ | ||
| 270 | + left: 6, right: 6 | ||
| 271 | + }) | ||
| 269 | // Divider().strokeWidth(1).color('#f5f5f5').padding({ left: 16, right: 16 }) | 272 | // Divider().strokeWidth(1).color('#f5f5f5').padding({ left: 16, right: 16 }) |
| 270 | }.width('100%') | 273 | }.width('100%') |
| 271 | 274 |
-
Please register or login to post a comment