Showing
2 changed files
with
10 additions
and
12 deletions
| @@ -39,15 +39,15 @@ export default struct MinePageUserSimpleInfoUI { | @@ -39,15 +39,15 @@ export default struct MinePageUserSimpleInfoUI { | ||
| 39 | 39 | ||
| 40 | Image(this.isLogin?(this.headPhotoUrl?this.headPhotoUrl:this.userType === "1"?$r('app.media.default_head'):$r('app.media.AccountOwner_DefaultIcon')):$r('app.media.default_head')) | 40 | Image(this.isLogin?(this.headPhotoUrl?this.headPhotoUrl:this.userType === "1"?$r('app.media.default_head'):$r('app.media.AccountOwner_DefaultIcon')):$r('app.media.default_head')) |
| 41 | .alt($r('app.media.default_head')) | 41 | .alt($r('app.media.default_head')) |
| 42 | - .width(`${this.calcHeight(100)}lpx`) | ||
| 43 | - .height(`${this.calcHeight(100)}lpx`) | 42 | + .width(`${this.calcHeight(110)}lpx`) |
| 43 | + .height(`${this.calcHeight(110)}lpx`) | ||
| 44 | .objectFit(ImageFit.Cover) | 44 | .objectFit(ImageFit.Cover) |
| 45 | .borderRadius(50) | 45 | .borderRadius(50) |
| 46 | 46 | ||
| 47 | if(StringUtils.isNotEmpty(this.levelHead)){ | 47 | if(StringUtils.isNotEmpty(this.levelHead)){ |
| 48 | Image(this.levelHead) | 48 | Image(this.levelHead) |
| 49 | - .width(`${this.calcHeight(130)}lpx`) | ||
| 50 | - .height(`${this.calcHeight(130)}lpx`) | 49 | + .width(`${this.calcHeight(140)}lpx`) |
| 50 | + .height(`${this.calcHeight(140)}lpx`) | ||
| 51 | .objectFit(ImageFit.Cover) | 51 | .objectFit(ImageFit.Cover) |
| 52 | .borderRadius(50) | 52 | .borderRadius(50) |
| 53 | } | 53 | } |
| @@ -64,8 +64,7 @@ export default struct MinePageUserSimpleInfoUI { | @@ -64,8 +64,7 @@ export default struct MinePageUserSimpleInfoUI { | ||
| 64 | Column(){ | 64 | Column(){ |
| 65 | Row(){ | 65 | Row(){ |
| 66 | Text(this.userName) | 66 | Text(this.userName) |
| 67 | - // .fontColor(this.navItem?.homePageColor.length > 0?this.navItem.homePageColor:$r('app.color.color_222222')) | ||
| 68 | - .fontColor($r('app.color.color_222222')) | 67 | + .fontColor(this.navItem?.homePageColor.length > 0?this.navItem.homePageColor:$r('app.color.color_222222')) |
| 69 | .maxLines(1) | 68 | .maxLines(1) |
| 70 | .fontWeight(FontWeight.Medium) | 69 | .fontWeight(FontWeight.Medium) |
| 71 | .textOverflow({ overflow: TextOverflow.Ellipsis }) | 70 | .textOverflow({ overflow: TextOverflow.Ellipsis }) |
| @@ -75,8 +74,7 @@ export default struct MinePageUserSimpleInfoUI { | @@ -75,8 +74,7 @@ export default struct MinePageUserSimpleInfoUI { | ||
| 75 | Image($r('app.media.mine_user_edit')) | 74 | Image($r('app.media.mine_user_edit')) |
| 76 | .width(`${this.calcHeight(27)}lpx`) | 75 | .width(`${this.calcHeight(27)}lpx`) |
| 77 | .height(`${this.calcHeight(27)}lpx`) | 76 | .height(`${this.calcHeight(27)}lpx`) |
| 78 | - // .colorBlend(this.navItem?.homePageColor.length > 0?this.navItem?.homePageColor:null) | ||
| 79 | - .colorBlend(Color.Red) | 77 | + .colorBlend(this.navItem?.homePageColor.length > 0?this.navItem?.homePageColor:null) |
| 80 | .margin({left:`${this.calcHeight(15)}lpx`}) | 78 | .margin({left:`${this.calcHeight(15)}lpx`}) |
| 81 | .objectFit(ImageFit.Cover) | 79 | .objectFit(ImageFit.Cover) |
| 82 | Blank() | 80 | Blank() |
| @@ -101,7 +99,7 @@ export default struct MinePageUserSimpleInfoUI { | @@ -101,7 +99,7 @@ export default struct MinePageUserSimpleInfoUI { | ||
| 101 | }.margin({top:'`${this.calcHeight(15)}lpx`'}) | 99 | }.margin({top:'`${this.calcHeight(15)}lpx`'}) |
| 102 | } | 100 | } |
| 103 | }.alignItems(HorizontalAlign.Start) | 101 | }.alignItems(HorizontalAlign.Start) |
| 104 | - .margin({top:`${this.calcHeight(12)}lpx`,left:`${this.calcHeight(23)}lpx`}) | 102 | + .margin({top:`${this.calcHeight(12)}lpx`,left:`${this.calcHeight(4)}lpx`}) |
| 105 | .width(`${this.calcHeight(352)}lpx`) | 103 | .width(`${this.calcHeight(352)}lpx`) |
| 106 | }else{ | 104 | }else{ |
| 107 | Row(){ | 105 | Row(){ |
| @@ -121,7 +119,7 @@ export default struct MinePageUserSimpleInfoUI { | @@ -121,7 +119,7 @@ export default struct MinePageUserSimpleInfoUI { | ||
| 121 | this.jumpLogin() | 119 | this.jumpLogin() |
| 122 | trackButtonClick("myPageUserLogin") | 120 | trackButtonClick("myPageUserLogin") |
| 123 | }) | 121 | }) |
| 124 | - .margin({top:`${this.calcHeight(11)}lpx`,left:`${this.calcHeight(23)}lpx`}) | 122 | + .margin({top:`${this.calcHeight(11)}lpx`,left:`${this.calcHeight(4)}lpx`}) |
| 125 | .width(`${this.calcHeight(352)}lpx`) | 123 | .width(`${this.calcHeight(352)}lpx`) |
| 126 | } | 124 | } |
| 127 | 125 |
| @@ -12,7 +12,7 @@ export struct PagePersonFunction{ | @@ -12,7 +12,7 @@ export struct PagePersonFunction{ | ||
| 12 | Column(){ | 12 | Column(){ |
| 13 | Stack({ alignContent: Alignment.TopEnd }){ | 13 | Stack({ alignContent: Alignment.TopEnd }){ |
| 14 | Image(this.item.imgSrc) | 14 | Image(this.item.imgSrc) |
| 15 | - // .colorBlend(this.navItem?.homePageColor.length > 0?this.navItem.homePageColor:null) | 15 | + .colorBlend(this.navItem?.homePageColor.length > 0?this.navItem.homePageColor:null) |
| 16 | .objectFit(ImageFit.Auto) | 16 | .objectFit(ImageFit.Auto) |
| 17 | .interpolation(ImageInterpolation.High) | 17 | .interpolation(ImageInterpolation.High) |
| 18 | if (this.item.isShowRedPoint) { | 18 | if (this.item.isShowRedPoint) { |
| @@ -28,7 +28,7 @@ export struct PagePersonFunction{ | @@ -28,7 +28,7 @@ export struct PagePersonFunction{ | ||
| 28 | Text(`${this.item.msg}`) | 28 | Text(`${this.item.msg}`) |
| 29 | .margin({top:`${this.calcHeight(8)}lpx`}) | 29 | .margin({top:`${this.calcHeight(8)}lpx`}) |
| 30 | .height(`${this.calcHeight(23)}lpx`) | 30 | .height(`${this.calcHeight(23)}lpx`) |
| 31 | - // .fontColor(this.navItem?.homePageColor.length > 0?this.navItem.homePageColor:$r('app.color.color_222222')) | 31 | + .fontColor(this.navItem?.homePageColor.length > 0?this.navItem.homePageColor:$r('app.color.color_222222')) |
| 32 | .fontColor($r('app.color.color_222222')) | 32 | .fontColor($r('app.color.color_222222')) |
| 33 | .fontSize(`${this.calcHeight(23)}lpx`) | 33 | .fontSize(`${this.calcHeight(23)}lpx`) |
| 34 | } | 34 | } |
-
Please register or login to post a comment