wangliang_wd

feat:优化我的界面消息红点展示

@@ -21,7 +21,7 @@ export struct PagePersonFunction{ @@ -21,7 +21,7 @@ export struct PagePersonFunction{
21 .type(ButtonType.Circle) 21 .type(ButtonType.Circle)
22 .width(`${this.calcHeight(12)}lpx`) 22 .width(`${this.calcHeight(12)}lpx`)
23 .height(`${this.calcHeight(12)}lpx`) 23 .height(`${this.calcHeight(12)}lpx`)
24 - .backgroundColor($r('app.color.color_ED2800')) 24 + .backgroundColor(this.navItem?.noticeColor.length > 0?this.navItem?.noticeColor:$r('app.color.color_ED2800'))
25 } 25 }
26 }.width(`${this.calcHeight(46)}lpx`) 26 }.width(`${this.calcHeight(46)}lpx`)
27 .height(`${this.calcHeight(46)}lpx`) 27 .height(`${this.calcHeight(46)}lpx`)
@@ -127,6 +127,10 @@ export struct MinePageComponent { @@ -127,6 +127,10 @@ export struct MinePageComponent {
127 } 127 }
128 TrackingPageBrowse.trackCommonPageExposureEnd(TrackConstants.PageName.My,TrackConstants.PageName.My,Math.floor(duration)) 128 TrackingPageBrowse.trackCommonPageExposureEnd(TrackConstants.PageName.My,TrackConstants.PageName.My,Math.floor(duration))
129 } 129 }
  130 +
  131 + WindowModel.shared.setWindowSystemBarProperties({
  132 + statusBarContentColor: '#000000',
  133 + })
130 } 134 }
131 135
132 aboutToAppear(){ 136 aboutToAppear(){