Showing
1 changed file
with
7 additions
and
7 deletions
| @@ -214,12 +214,7 @@ struct MineHomePage { | @@ -214,12 +214,7 @@ struct MineHomePage { | ||
| 214 | .fontWeight('400lpx') | 214 | .fontWeight('400lpx') |
| 215 | .fontColor(this.isHasIntroduction?$r('app.color.color_222222'):$r('app.color.color_999999')) | 215 | .fontColor(this.isHasIntroduction?$r('app.color.color_222222'):$r('app.color.color_999999')) |
| 216 | .textAlign(TextAlign.Start) | 216 | .textAlign(TextAlign.Start) |
| 217 | - .onClick(()=>{ | ||
| 218 | - let params: editModelParams = { | ||
| 219 | - editContent: this.isHasIntroduction?this.desc:'' | ||
| 220 | - } | ||
| 221 | - WDRouterRule.jumpWithPage(WDRouterPage.editUserIntroductionPage,params) | ||
| 222 | - }) | 217 | + |
| 223 | if(!this.isHasIntroduction){ | 218 | if(!this.isHasIntroduction){ |
| 224 | Image($r('app.media.user_info_edit_icon')) | 219 | Image($r('app.media.user_info_edit_icon')) |
| 225 | .width('27lpx') | 220 | .width('27lpx') |
| @@ -227,7 +222,12 @@ struct MineHomePage { | @@ -227,7 +222,12 @@ struct MineHomePage { | ||
| 227 | .interpolation(ImageInterpolation.High) | 222 | .interpolation(ImageInterpolation.High) |
| 228 | .objectFit(ImageFit.Auto) | 223 | .objectFit(ImageFit.Auto) |
| 229 | } | 224 | } |
| 230 | - } | 225 | + }.onClick(()=>{ |
| 226 | + let params: editModelParams = { | ||
| 227 | + editContent: this.isHasIntroduction?this.desc:'' | ||
| 228 | + } | ||
| 229 | + WDRouterRule.jumpWithPage(WDRouterPage.editUserIntroductionPage,params) | ||
| 230 | + }) | ||
| 231 | 231 | ||
| 232 | 232 | ||
| 233 | Text(`来到人民日报${this.registerTimeForDay}天`) | 233 | Text(`来到人民日报${this.registerTimeForDay}天`) |
-
Please register or login to post a comment