Showing
2 changed files
with
4 additions
and
7 deletions
| @@ -124,10 +124,9 @@ export struct PeopleShipHomeListComponent { | @@ -124,10 +124,9 @@ export struct PeopleShipHomeListComponent { | ||
| 124 | .fontWeight(this.currentIndex === index ? 500 : 400) | 124 | .fontWeight(this.currentIndex === index ? 500 : 400) |
| 125 | .lineHeight(22) | 125 | .lineHeight(22) |
| 126 | .height(22) | 126 | .height(22) |
| 127 | - Divider() | ||
| 128 | - .width('15vp') | ||
| 129 | - .strokeWidth(2) | ||
| 130 | - .color('#CB0000') | 127 | + Image($r('app.media.icon_channel_active'))//.colorFilter(ColorUtils.getDrawingColorFilter(this.getBothColor(""))) |
| 128 | + .width(16) | ||
| 129 | + .height(2) | ||
| 131 | .opacity(this.currentIndex === index ? 1 : 0) | 130 | .opacity(this.currentIndex === index ? 1 : 0) |
| 132 | } | 131 | } |
| 133 | .justifyContent(FlexAlign.Center) | 132 | .justifyContent(FlexAlign.Center) |
| @@ -451,11 +451,9 @@ struct MineHomePage { | @@ -451,11 +451,9 @@ struct MineHomePage { | ||
| 451 | .height(40) | 451 | .height(40) |
| 452 | 452 | ||
| 453 | if(this.currentIndex === index){ | 453 | if(this.currentIndex === index){ |
| 454 | - Divider() | 454 | + Image($r('app.media.icon_channel_active'))//.colorFilter(ColorUtils.getDrawingColorFilter(this.getBothColor(""))) |
| 455 | .width(16) | 455 | .width(16) |
| 456 | .height(2) | 456 | .height(2) |
| 457 | - .color('#ED2800') | ||
| 458 | - .strokeWidth(2) | ||
| 459 | .margin({top: 40}) | 457 | .margin({top: 40}) |
| 460 | .id("divTag") | 458 | .id("divTag") |
| 461 | } | 459 | } |
-
Please register or login to post a comment