Showing
4 changed files
with
15 additions
and
9 deletions
| @@ -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`) |
| @@ -199,20 +199,22 @@ struct EditUserInfoPage { | @@ -199,20 +199,22 @@ struct EditUserInfoPage { | ||
| 199 | if (backParams) { | 199 | if (backParams) { |
| 200 | let userName = backParams.userName as string ///昵称 | 200 | let userName = backParams.userName as string ///昵称 |
| 201 | let introduction = backParams.introduction as string ///简介 | 201 | let introduction = backParams.introduction as string ///简介 |
| 202 | - | 202 | + this.listData = [] |
| 203 | if (userName) { | 203 | if (userName) { |
| 204 | if (userName != this.currentUserInfo.userName) { | 204 | if (userName != this.currentUserInfo.userName) { |
| 205 | - // this.currentUserInfo.userName = userName; | ||
| 206 | - // this.currentUserInfo.editDataType = WDEditDataModelType.WDEditDataModelType_nickname | 205 | + this.currentUserInfo.userName = userName; |
| 206 | + this.currentUserInfo.editDataType = WDEditDataModelType.WDEditDataModelType_nickname | ||
| 207 | + this.listData.push(...EditInfoViewModel.getEditListInfo(this.currentUserInfo)) | ||
| 207 | // this.updateEditModel() | 208 | // this.updateEditModel() |
| 208 | - this.getAccountOwnerInfo() | 209 | + // this.getAccountOwnerInfo() |
| 209 | } | 210 | } |
| 210 | } else if (introduction){ | 211 | } else if (introduction){ |
| 211 | if (introduction != this.currentUserInfo.userExtend.introduction ) { | 212 | if (introduction != this.currentUserInfo.userExtend.introduction ) { |
| 212 | - // this.currentUserInfo.userExtend.introduction = introduction; | ||
| 213 | - // this.currentUserInfo.editDataType = WDEditDataModelType.WDEditDataModelType_intro | 213 | + this.currentUserInfo.userExtend.introduction = introduction; |
| 214 | + this.currentUserInfo.editDataType = WDEditDataModelType.WDEditDataModelType_intro | ||
| 215 | + this.listData.push(...EditInfoViewModel.getEditListInfo(this.currentUserInfo)) | ||
| 214 | // this.updateEditModel() | 216 | // this.updateEditModel() |
| 215 | - this.getAccountOwnerInfo() | 217 | + // this.getAccountOwnerInfo() |
| 216 | } | 218 | } |
| 217 | } | 219 | } |
| 218 | } | 220 | } |
| @@ -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(){ |
| @@ -44,7 +44,7 @@ export struct CustomTitleAndEditUI { | @@ -44,7 +44,7 @@ export struct CustomTitleAndEditUI { | ||
| 44 | if (this.isDisplayButton){ | 44 | if (this.isDisplayButton){ |
| 45 | Button(this.isEditState === true?'取消':'编辑') | 45 | Button(this.isEditState === true?'取消':'编辑') |
| 46 | .type(ButtonType.Normal) | 46 | .type(ButtonType.Normal) |
| 47 | - .fontColor($r('app.color.color_222222')) | 47 | + .fontColor($r('app.color.color_B0B0B0')) |
| 48 | .backgroundColor(Color.White) | 48 | .backgroundColor(Color.White) |
| 49 | .id("edit_Button") | 49 | .id("edit_Button") |
| 50 | .alignRules({ | 50 | .alignRules({ |
-
Please register or login to post a comment