Showing
1 changed file
with
2 additions
and
2 deletions
| @@ -13,7 +13,7 @@ const TAG: string = 'Card9Component'; | @@ -13,7 +13,7 @@ const TAG: string = 'Card9Component'; | ||
| 13 | @Component | 13 | @Component |
| 14 | export struct Card9Component { | 14 | export struct Card9Component { |
| 15 | @State contentDTO: ContentDTO = new ContentDTO(); | 15 | @State contentDTO: ContentDTO = new ContentDTO(); |
| 16 | - @State loadImg: boolean = true; | 16 | + // @State loadImg: boolean = true; |
| 17 | @State clicked: boolean = false; | 17 | @State clicked: boolean = false; |
| 18 | @State titleMarked: boolean = false; | 18 | @State titleMarked: boolean = false; |
| 19 | @State str01: string = ''; | 19 | @State str01: string = ''; |
| @@ -57,7 +57,7 @@ export struct Card9Component { | @@ -57,7 +57,7 @@ export struct Card9Component { | ||
| 57 | } | 57 | } |
| 58 | // 大图 | 58 | // 大图 |
| 59 | Stack() { | 59 | Stack() { |
| 60 | - Image(this.loadImg ? this.contentDTO.coverUrl : '') | 60 | + Image(this.contentDTO.coverUrl) |
| 61 | .backgroundColor(0xf5f5f5) | 61 | .backgroundColor(0xf5f5f5) |
| 62 | .width('100%') | 62 | .width('100%') |
| 63 | .height(133) | 63 | .height(133) |
-
Please register or login to post a comment