wangliang_wd

feat:优化个人主页,人民号主页tab下划线

... ... @@ -124,10 +124,9 @@ export struct PeopleShipHomeListComponent {
.fontWeight(this.currentIndex === index ? 500 : 400)
.lineHeight(22)
.height(22)
Divider()
.width('15vp')
.strokeWidth(2)
.color('#CB0000')
Image($r('app.media.icon_channel_active'))//.colorFilter(ColorUtils.getDrawingColorFilter(this.getBothColor("")))
.width(16)
.height(2)
.opacity(this.currentIndex === index ? 1 : 0)
}
.justifyContent(FlexAlign.Center)
... ...
... ... @@ -451,11 +451,9 @@ struct MineHomePage {
.height(40)
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: 40})
.id("divTag")
}
... ...