Showing
2 changed files
with
4 additions
and
4 deletions
| @@ -83,7 +83,7 @@ export struct Card19Component { | @@ -83,7 +83,7 @@ export struct Card19Component { | ||
| 83 | Text(this.contentDTO.newsTitle) | 83 | Text(this.contentDTO.newsTitle) |
| 84 | .fontSize($r('app.float.font_size_17')) | 84 | .fontSize($r('app.float.font_size_17')) |
| 85 | .fontColor($r('app.color.color_222222')) | 85 | .fontColor($r('app.color.color_222222')) |
| 86 | - .textOverflowStyle(2) | 86 | + .textOverflowStyle(3) |
| 87 | .margin({ bottom: 8 }) | 87 | .margin({ bottom: 8 }) |
| 88 | .width(CommonConstants.FULL_WIDTH) | 88 | .width(CommonConstants.FULL_WIDTH) |
| 89 | .onClick((event: ClickEvent) => { | 89 | .onClick((event: ClickEvent) => { |
| @@ -191,12 +191,12 @@ struct createImg { | @@ -191,12 +191,12 @@ struct createImg { | ||
| 191 | if (this.getPicType() === 1) { | 191 | if (this.getPicType() === 1) { |
| 192 | Image(item.fullUrl) | 192 | Image(item.fullUrl) |
| 193 | .width('100%') | 193 | .width('100%') |
| 194 | - .height(172) | 194 | + // .height(172) |
| 195 | .autoResize(true) | 195 | .autoResize(true) |
| 196 | .borderRadius(this.caclImageRadius(index)) | 196 | .borderRadius(this.caclImageRadius(index)) |
| 197 | } else if (this.getPicType() === 2) { | 197 | } else if (this.getPicType() === 2) { |
| 198 | Image(item.fullUrl) | 198 | Image(item.fullUrl) |
| 199 | - .width('100%') | 199 | + // .width('100%') |
| 200 | .height(305) | 200 | .height(305) |
| 201 | .autoResize(true) | 201 | .autoResize(true) |
| 202 | .borderRadius(this.caclImageRadius(index)) | 202 | .borderRadius(this.caclImageRadius(index)) |
| @@ -57,7 +57,7 @@ export struct Card20Component { | @@ -57,7 +57,7 @@ export struct Card20Component { | ||
| 57 | .fontSize($r('app.float.font_size_17')) | 57 | .fontSize($r('app.float.font_size_17')) |
| 58 | .fontColor($r('app.color.color_222222')) | 58 | .fontColor($r('app.color.color_222222')) |
| 59 | .width(CommonConstants.FULL_WIDTH) | 59 | .width(CommonConstants.FULL_WIDTH) |
| 60 | - .textOverflowStyle(2) | 60 | + .textOverflowStyle(3) |
| 61 | .margin({ bottom: 8 }) | 61 | .margin({ bottom: 8 }) |
| 62 | .lineHeight(20) | 62 | .lineHeight(20) |
| 63 | } | 63 | } |
-
Please register or login to post a comment