Showing
1 changed file
with
2 additions
and
3 deletions
| @@ -442,15 +442,14 @@ struct MineHomePage { | @@ -442,15 +442,14 @@ struct MineHomePage { | ||
| 442 | @Builder TabBuilder(index: number, title: string) { | 442 | @Builder TabBuilder(index: number, title: string) { |
| 443 | Stack(){ | 443 | Stack(){ |
| 444 | Text(title) | 444 | Text(title) |
| 445 | - .height(20) | ||
| 446 | .fontSize(18) | 445 | .fontSize(18) |
| 447 | - .fontWeight(this.currentIndex === index ? 500 : 400) | 446 | + .fontWeight(this.currentIndex === index ? 600 : 400) |
| 448 | .fontColor(this.currentIndex === index ? this.selectedFontColor : this.fontColor) | 447 | .fontColor(this.currentIndex === index ? this.selectedFontColor : this.fontColor) |
| 449 | .lineHeight(20) | 448 | .lineHeight(20) |
| 450 | 449 | ||
| 451 | if(this.currentIndex === index){ | 450 | if(this.currentIndex === index){ |
| 452 | Divider() | 451 | Divider() |
| 453 | - .width(14.2) | 452 | + .width(16) |
| 454 | .height(2) | 453 | .height(2) |
| 455 | .color('#ED2800') | 454 | .color('#ED2800') |
| 456 | .strokeWidth(2) | 455 | .strokeWidth(2) |
-
Please register or login to post a comment