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 | 191 | style: textStyle21sp, |
192 | 192 | )), |
193 | 193 | ), |
194 | - 12.verticalSpace, | |
194 | + Offstage( | |
195 | + offstage: AppConfigHelper.shouldHidePay(), | |
196 | + child: 12.verticalSpace, | |
197 | + ), | |
195 | 198 | OutlinedButton( |
196 | 199 | onPressed: () => pushNamed(AppRouteName.fogPwd), |
197 | 200 | style: normalButtonStyle, |
... | ... | @@ -200,10 +203,7 @@ class _UserView extends StatelessWidget { |
200 | 203 | style: textStyle21sp, |
201 | 204 | ), |
202 | 205 | ), |
203 | - Offstage( | |
204 | - offstage: AppConfigHelper.shouldHidePay(), | |
205 | - child: 12.verticalSpace, | |
206 | - ), | |
206 | + 12.verticalSpace, | |
207 | 207 | OutlinedButton( |
208 | 208 | onPressed: () { |
209 | 209 | pushNamed(AppRouteName.webView, arguments: { | ... | ... |