diff --git a/lib/pages/mine/real_name_page.dart b/lib/pages/mine/real_name_page.dart index 6be4dcb..14669fa 100644 --- a/lib/pages/mine/real_name_page.dart +++ b/lib/pages/mine/real_name_page.dart @@ -36,7 +36,7 @@ class RealNamePage extends StatelessWidget { ), // SizedBox(height: 12), Container( - height: 56, // 固定高度确保垂直居中 + height: 52, // 固定高度确保垂直居中 width: MediaQuery.of(context).size.width - 40, decoration: BoxDecoration( border: Border.all(color: Colors.grey.shade300), @@ -53,9 +53,9 @@ class RealNamePage extends StatelessWidget { children: [ // 左侧标签 - 固定宽度 + 垂直居中 Container( - width: 108, + width: 98, alignment: Alignment.centerLeft, - padding: const EdgeInsets.only(left: 24), + padding: const EdgeInsets.only(left: 20), child: Text( '姓名:', style: TextStyle( @@ -93,7 +93,7 @@ class RealNamePage extends StatelessWidget { ), SizedBox(height: 24), Container( - height: 56, // 固定高度确保垂直居中 + height: 52, // 固定高度确保垂直居中 width: MediaQuery.of(context).size.width - 40, decoration: BoxDecoration( border: Border.all(color: Colors.grey.shade300), @@ -110,9 +110,9 @@ class RealNamePage extends StatelessWidget { children: [ // 左侧标签 - 固定宽度 + 垂直居中 Container( - width: 108, + width: 98, alignment: Alignment.centerLeft, - padding: const EdgeInsets.only(left: 24), + padding: const EdgeInsets.only(left: 20), child: Text( '身份证号:', style: TextStyle( @@ -173,7 +173,7 @@ class RealNamePage extends StatelessWidget { ) ], ), - SizedBox(height: 48), + SizedBox(height: 32), TDButton( text: '立即认证',