Showing
1 changed file
with
15 additions
and
8 deletions
| @@ -160,7 +160,7 @@ class MyPageState extends State<MyPage> with WidgetsBindingObserver { | @@ -160,7 +160,7 @@ class MyPageState extends State<MyPage> with WidgetsBindingObserver { | ||
| 160 | pinned: false, | 160 | pinned: false, |
| 161 | floating: false, | 161 | floating: false, |
| 162 | backgroundColor: MyColours.color_F8F9FD, | 162 | backgroundColor: MyColours.color_F8F9FD, |
| 163 | - expandedHeight: ScreenUtil().setWidth(154 * 2 + 33 * 2 + 72 + 50), | 163 | + expandedHeight: ScreenUtil().setWidth(154 * 2 + 72 + 60), |
| 164 | flexibleSpace: FlexibleSpaceBar( | 164 | flexibleSpace: FlexibleSpaceBar( |
| 165 | collapseMode: CollapseMode.pin, | 165 | collapseMode: CollapseMode.pin, |
| 166 | background: Consumer<UserModel>(builder: | 166 | background: Consumer<UserModel>(builder: |
| @@ -170,14 +170,14 @@ class MyPageState extends State<MyPage> with WidgetsBindingObserver { | @@ -170,14 +170,14 @@ class MyPageState extends State<MyPage> with WidgetsBindingObserver { | ||
| 170 | children: [ | 170 | children: [ |
| 171 | Container( | 171 | Container( |
| 172 | width: double.infinity, | 172 | width: double.infinity, |
| 173 | - height: ScreenUtil().setHeight(154 * 2 + 33 * 2 + 50), | 173 | + height: ScreenUtil().setWidth(154 * 2 + 23 * 2), |
| 174 | alignment: Alignment.centerLeft, | 174 | alignment: Alignment.centerLeft, |
| 175 | color: MyColours.color_438E93, | 175 | color: MyColours.color_438E93, |
| 176 | child: Padding( | 176 | child: Padding( |
| 177 | padding: EdgeInsets.only( | 177 | padding: EdgeInsets.only( |
| 178 | left: ScreenUtil().setWidth(24 * 2), | 178 | left: ScreenUtil().setWidth(24 * 2), |
| 179 | right: ScreenUtil().setWidth(24 * 2), | 179 | right: ScreenUtil().setWidth(24 * 2), |
| 180 | - top: ScreenUtil().setWidth(60 * 2 + 50), | 180 | + top: ScreenUtil().setWidth(60 * 2 + 20), |
| 181 | ), | 181 | ), |
| 182 | child: Row( | 182 | child: Row( |
| 183 | crossAxisAlignment: CrossAxisAlignment.start, | 183 | crossAxisAlignment: CrossAxisAlignment.start, |
| @@ -311,6 +311,8 @@ class MyPageState extends State<MyPage> with WidgetsBindingObserver { | @@ -311,6 +311,8 @@ class MyPageState extends State<MyPage> with WidgetsBindingObserver { | ||
| 311 | ? MyColours.color_999999 | 311 | ? MyColours.color_999999 |
| 312 | : MyColours.color_438E93, | 312 | : MyColours.color_438E93, |
| 313 | radius: ScreenUtil().setWidth(34), | 313 | radius: ScreenUtil().setWidth(34), |
| 314 | + margin: EdgeInsets.only( | ||
| 315 | + top: ScreenUtil().setWidth(20)), | ||
| 314 | onPressed: () { | 316 | onPressed: () { |
| 315 | if (App.sp.getBool("accountLogin") ?? | 317 | if (App.sp.getBool("accountLogin") ?? |
| 316 | false) { | 318 | false) { |
| @@ -336,11 +338,16 @@ class MyPageState extends State<MyPage> with WidgetsBindingObserver { | @@ -336,11 +338,16 @@ class MyPageState extends State<MyPage> with WidgetsBindingObserver { | ||
| 336 | decoration: BoxDecoration( | 338 | decoration: BoxDecoration( |
| 337 | color: MyColours.color_ffffff, | 339 | color: MyColours.color_ffffff, |
| 338 | boxShadow: [ | 340 | boxShadow: [ |
| 341 | + // BoxShadow( | ||
| 342 | + // color: Color.fromRGBO(0, 0, 0, 0.4), | ||
| 343 | + // offset: Offset(0, ScreenUtil().setWidth(8)), | ||
| 344 | + // spreadRadius: ScreenUtil().setWidth(2), | ||
| 345 | + // blurRadius: ScreenUtil().setWidth(34)) | ||
| 339 | BoxShadow( | 346 | BoxShadow( |
| 340 | - color: Color.fromRGBO(0, 0, 0, 0.4), | 347 | + color: Color.fromRGBO(0, 0, 0, 0.1), |
| 341 | offset: Offset(0, ScreenUtil().setWidth(8)), | 348 | offset: Offset(0, ScreenUtil().setWidth(8)), |
| 342 | - spreadRadius: ScreenUtil().setWidth(2), | ||
| 343 | - blurRadius: ScreenUtil().setWidth(34)) | 349 | + blurRadius: ScreenUtil().setWidth(20), |
| 350 | + spreadRadius: ScreenUtil().setWidth(1)) | ||
| 344 | ], | 351 | ], |
| 345 | borderRadius: BorderRadius.circular( | 352 | borderRadius: BorderRadius.circular( |
| 346 | ScreenUtil().setWidth(14))), | 353 | ScreenUtil().setWidth(14))), |
| @@ -473,7 +480,7 @@ class MyPageState extends State<MyPage> with WidgetsBindingObserver { | @@ -473,7 +480,7 @@ class MyPageState extends State<MyPage> with WidgetsBindingObserver { | ||
| 473 | ); | 480 | ); |
| 474 | }), | 481 | }), |
| 475 | ), | 482 | ), |
| 476 | - ) | 483 | + ), |
| 477 | ]; | 484 | ]; |
| 478 | }, body: Consumer<UserModel>( | 485 | }, body: Consumer<UserModel>( |
| 479 | builder: (BuildContext context, UserModel model, Widget child) { | 486 | builder: (BuildContext context, UserModel model, Widget child) { |
| @@ -522,7 +529,7 @@ class MyPageState extends State<MyPage> with WidgetsBindingObserver { | @@ -522,7 +529,7 @@ class MyPageState extends State<MyPage> with WidgetsBindingObserver { | ||
| 522 | // )) | 529 | // )) |
| 523 | // ], | 530 | // ], |
| 524 | // ), | 531 | // ), |
| 525 | - // VEmptyView(40), | 532 | + // VEmptyView(10), |
| 526 | 533 | ||
| 527 | Padding( | 534 | Padding( |
| 528 | padding: EdgeInsets.symmetric( | 535 | padding: EdgeInsets.symmetric( |
-
Please register or login to post a comment