wangliang_wd

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

... ... @@ -60,12 +60,10 @@ export struct FollowFirstTabsComponent{
.lineHeight(20)
if(this.currentIndex === index){
Divider()
Image($r('app.media.icon_channel_active'))//.colorFilter(ColorUtils.getDrawingColorFilter(this.getBothColor("")))
.width(16)
.height(2)
.color('#ED2800')
.strokeWidth(2)
.margin({top: 35})
.margin({top: 30})
.id("divTag")
}
}.onClick(()=>{
... ...
... ... @@ -448,13 +448,12 @@ struct MineHomePage {
.fontWeight(this.currentIndex === index ? 600 : 400)
.fontColor(this.currentIndex === index ? this.selectedFontColor : this.fontColor)
.lineHeight(20)
.height(40)
if(this.currentIndex === index){
Image($r('app.media.icon_channel_active'))//.colorFilter(ColorUtils.getDrawingColorFilter(this.getBothColor("")))
.width(16)
.height(2)
.margin({top: 40})
.margin({top: 30})
.id("divTag")
}
}.onClick(()=>{
... ...