Showing
1 changed file
with
3 additions
and
2 deletions
| @@ -8,10 +8,11 @@ export struct PeopleShipHomeAttentionComponent { | @@ -8,10 +8,11 @@ export struct PeopleShipHomeAttentionComponent { | ||
| 8 | Flex({ alignItems: ItemAlign.Center, justifyContent: FlexAlign.Center }) { | 8 | Flex({ alignItems: ItemAlign.Center, justifyContent: FlexAlign.Center }) { |
| 9 | Button({type: ButtonType.Normal, stateEffect: false } ) { | 9 | Button({type: ButtonType.Normal, stateEffect: false } ) { |
| 10 | Stack() { | 10 | Stack() { |
| 11 | - Image(this.isAttention == '0'? $r('app.media.home_attention_no_left') : $r('app.media.home_attention_left')) | 11 | + Row() |
| 12 | .width('100%') | 12 | .width('100%') |
| 13 | .height('100%') | 13 | .height('100%') |
| 14 | - .objectFit(ImageFit.Cover) | 14 | + .backgroundColor(this.isAttention == '0'? $r('app.color.color_ED2800') : $r('app.color.color_F5F5F5')) |
| 15 | + .borderRadius("5lpx") | ||
| 15 | Row() { | 16 | Row() { |
| 16 | if(this.isAttention == '0') { | 17 | if(this.isAttention == '0') { |
| 17 | if(this.isLoadingAttention) { | 18 | if(this.isLoadingAttention) { |
-
Please register or login to post a comment