fix: 修复恢复账号页面键盘弹出时的溢出错误
- 将 Column 改为 SingleChildScrollView 包裹,支持滚动 - 在底部添加额外间距,避免内容被键盘遮挡 - 修复 RenderFlex overflowed by 18 pixels 错误 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
parent
6b0194089a
commit
6bbd4a6c78
|
|
@ -149,7 +149,7 @@ class _PhoneLoginPageState extends ConsumerState<PhoneLoginPage> {
|
||||||
body: GestureDetector(
|
body: GestureDetector(
|
||||||
onTap: () => FocusScope.of(context).unfocus(),
|
onTap: () => FocusScope.of(context).unfocus(),
|
||||||
child: SafeArea(
|
child: SafeArea(
|
||||||
child: Padding(
|
child: SingleChildScrollView(
|
||||||
padding: EdgeInsets.symmetric(horizontal: 24.w),
|
padding: EdgeInsets.symmetric(horizontal: 24.w),
|
||||||
child: Column(
|
child: Column(
|
||||||
crossAxisAlignment: CrossAxisAlignment.start,
|
crossAxisAlignment: CrossAxisAlignment.start,
|
||||||
|
|
@ -192,6 +192,7 @@ class _PhoneLoginPageState extends ConsumerState<PhoneLoginPage> {
|
||||||
SizedBox(height: 24.h),
|
SizedBox(height: 24.h),
|
||||||
// 注册提示
|
// 注册提示
|
||||||
_buildRegisterHint(),
|
_buildRegisterHint(),
|
||||||
|
SizedBox(height: 32.h),
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue