Showing
1 changed file
with
3 additions
and
3 deletions
| @@ -107,7 +107,7 @@ export struct Card6Component { | @@ -107,7 +107,7 @@ export struct Card6Component { | ||
| 107 | } | 107 | } |
| 108 | 108 | ||
| 109 | .alignItems(HorizontalAlign.Start) | 109 | .alignItems(HorizontalAlign.Start) |
| 110 | - .height(this.contentDTO.appStyle === CompStyle.Card_13 ? 78: 156) | 110 | + .height(78) |
| 111 | 111 | ||
| 112 | 112 | ||
| 113 | .justifyContent(FlexAlign.SpaceBetween) | 113 | .justifyContent(FlexAlign.SpaceBetween) |
| @@ -119,7 +119,7 @@ export struct Card6Component { | @@ -119,7 +119,7 @@ export struct Card6Component { | ||
| 119 | .backgroundColor(this.loadImg ? $r('app.color.color_B0B0B0') : 0xf5f5f5) | 119 | .backgroundColor(this.loadImg ? $r('app.color.color_B0B0B0') : 0xf5f5f5) |
| 120 | .borderRadius(5) | 120 | .borderRadius(5) |
| 121 | .aspectRatio(this.contentDTO.appStyle === CompStyle.Card_13 ? 3 / 2 : 3 / 4) | 121 | .aspectRatio(this.contentDTO.appStyle === CompStyle.Card_13 ? 3 / 2 : 3 / 4) |
| 122 | - .height(this.contentDTO.appStyle === CompStyle.Card_13 ? 78 : 156) | 122 | + .height(78) |
| 123 | CardMediaInfo({ contentDTO: this.contentDTO }) | 123 | CardMediaInfo({ contentDTO: this.contentDTO }) |
| 124 | } | 124 | } |
| 125 | 125 | ||
| @@ -138,7 +138,7 @@ export struct Card6Component { | @@ -138,7 +138,7 @@ export struct Card6Component { | ||
| 138 | }) | 138 | }) |
| 139 | 139 | ||
| 140 | .width(CommonConstants.FULL_WIDTH) | 140 | .width(CommonConstants.FULL_WIDTH) |
| 141 | - // .height(this.contentDTO.appStyle === CompStyle.Card_13 ? 107 : 217) | 141 | + .height(106) |
| 142 | .justifyContent(FlexAlign.SpaceBetween) | 142 | .justifyContent(FlexAlign.SpaceBetween) |
| 143 | .alignItems(VerticalAlign.Top) | 143 | .alignItems(VerticalAlign.Top) |
| 144 | } | 144 | } |
-
Please register or login to post a comment