yangchenggong1_wd

desc:修改号主关注背景色

... ... @@ -8,10 +8,11 @@ export struct PeopleShipHomeAttentionComponent {
Flex({ alignItems: ItemAlign.Center, justifyContent: FlexAlign.Center }) {
Button({type: ButtonType.Normal, stateEffect: false } ) {
Stack() {
Image(this.isAttention == '0'? $r('app.media.home_attention_no_left') : $r('app.media.home_attention_left'))
Row()
.width('100%')
.height('100%')
.objectFit(ImageFit.Cover)
.backgroundColor(this.isAttention == '0'? $r('app.color.color_ED2800') : $r('app.color.color_F5F5F5'))
.borderRadius("5lpx")
Row() {
if(this.isAttention == '0') {
if(this.isLoadingAttention) {
... ...