wangliang_wd

feat:调整我的主页,关注列表下划线展示

@@ -60,12 +60,10 @@ export struct FollowFirstTabsComponent{ @@ -60,12 +60,10 @@ export struct FollowFirstTabsComponent{
60 .lineHeight(20) 60 .lineHeight(20)
61 61
62 if(this.currentIndex === index){ 62 if(this.currentIndex === index){
63 - Divider() 63 + Image($r('app.media.icon_channel_active'))//.colorFilter(ColorUtils.getDrawingColorFilter(this.getBothColor("")))
64 .width(16) 64 .width(16)
65 .height(2) 65 .height(2)
66 - .color('#ED2800')  
67 - .strokeWidth(2)  
68 - .margin({top: 35}) 66 + .margin({top: 30})
69 .id("divTag") 67 .id("divTag")
70 } 68 }
71 }.onClick(()=>{ 69 }.onClick(()=>{
@@ -448,13 +448,12 @@ struct MineHomePage { @@ -448,13 +448,12 @@ struct MineHomePage {
448 .fontWeight(this.currentIndex === index ? 600 : 400) 448 .fontWeight(this.currentIndex === index ? 600 : 400)
449 .fontColor(this.currentIndex === index ? this.selectedFontColor : this.fontColor) 449 .fontColor(this.currentIndex === index ? this.selectedFontColor : this.fontColor)
450 .lineHeight(20) 450 .lineHeight(20)
451 - .height(40)  
452 451
453 if(this.currentIndex === index){ 452 if(this.currentIndex === index){
454 Image($r('app.media.icon_channel_active'))//.colorFilter(ColorUtils.getDrawingColorFilter(this.getBothColor(""))) 453 Image($r('app.media.icon_channel_active'))//.colorFilter(ColorUtils.getDrawingColorFilter(this.getBothColor("")))
455 .width(16) 454 .width(16)
456 .height(2) 455 .height(2)
457 - .margin({top: 40}) 456 + .margin({top: 30})
458 .id("divTag") 457 .id("divTag")
459 } 458 }
460 }.onClick(()=>{ 459 }.onClick(()=>{