Commit dae2a16e8aac83dc018850d51ee674c5b8989368
1 parent
a3c6eee7
feat:我的页面间距修改
Showing
1 changed file
with
5 additions
and
5 deletions
lib/pages/user/user_page.dart
| @@ -191,7 +191,10 @@ class _UserView extends StatelessWidget { | @@ -191,7 +191,10 @@ class _UserView extends StatelessWidget { | ||
| 191 | style: textStyle21sp, | 191 | style: textStyle21sp, |
| 192 | )), | 192 | )), |
| 193 | ), | 193 | ), |
| 194 | - 12.verticalSpace, | 194 | + Offstage( |
| 195 | + offstage: AppConfigHelper.shouldHidePay(), | ||
| 196 | + child: 12.verticalSpace, | ||
| 197 | + ), | ||
| 195 | OutlinedButton( | 198 | OutlinedButton( |
| 196 | onPressed: () => pushNamed(AppRouteName.fogPwd), | 199 | onPressed: () => pushNamed(AppRouteName.fogPwd), |
| 197 | style: normalButtonStyle, | 200 | style: normalButtonStyle, |
| @@ -200,10 +203,7 @@ class _UserView extends StatelessWidget { | @@ -200,10 +203,7 @@ class _UserView extends StatelessWidget { | ||
| 200 | style: textStyle21sp, | 203 | style: textStyle21sp, |
| 201 | ), | 204 | ), |
| 202 | ), | 205 | ), |
| 203 | - Offstage( | ||
| 204 | - offstage: AppConfigHelper.shouldHidePay(), | ||
| 205 | - child: 12.verticalSpace, | ||
| 206 | - ), | 206 | + 12.verticalSpace, |
| 207 | OutlinedButton( | 207 | OutlinedButton( |
| 208 | onPressed: () { | 208 | onPressed: () { |
| 209 | pushNamed(AppRouteName.webView, arguments: { | 209 | pushNamed(AppRouteName.webView, arguments: { |