Showing
1 changed file
with
3 additions
and
3 deletions
| 1 | import { BottomNavDTO } from 'wdBean/Index' | 1 | import { BottomNavDTO } from 'wdBean/Index' |
| 2 | import { SpConstants } from 'wdConstant/Index' | 2 | import { SpConstants } from 'wdConstant/Index' |
| 3 | -import { SPHelper, StringUtils, UserDataLocal } from 'wdKit' | 3 | +import { DisplayUtils, SPHelper, StringUtils, UserDataLocal } from 'wdKit' |
| 4 | import { WDRouterPage, WDRouterRule } from 'wdRouter' | 4 | import { WDRouterPage, WDRouterRule } from 'wdRouter' |
| 5 | import { TrackingButton, TrackConstants } from 'wdTracking/Index' | 5 | import { TrackingButton, TrackConstants } from 'wdTracking/Index' |
| 6 | import MinePageDatasModel from '../../model/MinePageDatasModel' | 6 | import MinePageDatasModel from '../../model/MinePageDatasModel' |
| @@ -86,9 +86,9 @@ export default struct MinePageUserSimpleInfoUI { | @@ -86,9 +86,9 @@ export default struct MinePageUserSimpleInfoUI { | ||
| 86 | .maxLines(1) | 86 | .maxLines(1) |
| 87 | .fontWeight(FontWeight.Medium) | 87 | .fontWeight(FontWeight.Medium) |
| 88 | .textOverflow({ overflow: TextOverflow.Ellipsis }) | 88 | .textOverflow({ overflow: TextOverflow.Ellipsis }) |
| 89 | - .fontSize(20) | 89 | + .fontSize(18) |
| 90 | .lineHeight(24) | 90 | .lineHeight(24) |
| 91 | - .constraintSize({maxWidth:200}) | 91 | + .constraintSize({maxWidth:DisplayUtils.getDeviceWidth() - 32 - 14 - 90}) |
| 92 | 92 | ||
| 93 | Image($r('app.media.mine_user_edit')) | 93 | Image($r('app.media.mine_user_edit')) |
| 94 | .width(14) | 94 | .width(14) |
-
Please register or login to post a comment