|
|
|
@ -21,40 +21,41 @@ class RealNamePage extends StatelessWidget { |
|
|
|
body: Column( |
|
|
|
children: [ |
|
|
|
Container( |
|
|
|
height: 48, |
|
|
|
decoration: BoxDecoration(color: Color(0xffE7E7E7)), |
|
|
|
height: 56, |
|
|
|
decoration: BoxDecoration(color: Color(0xffFFFFFF)), |
|
|
|
padding: const EdgeInsets.only(left: 16), |
|
|
|
child: Row( |
|
|
|
crossAxisAlignment: CrossAxisAlignment.center, // 垂直居中 |
|
|
|
children: [ |
|
|
|
Text( |
|
|
|
'*请填写本人实名信息', |
|
|
|
style: TextStyle( |
|
|
|
fontSize: 14, |
|
|
|
color: Colors.black87, |
|
|
|
), |
|
|
|
child: Center( |
|
|
|
child: Text( |
|
|
|
'*请填写本人实名信息', |
|
|
|
style: TextStyle( |
|
|
|
fontSize: 14, |
|
|
|
color: Colors.black87, |
|
|
|
), |
|
|
|
], |
|
|
|
), |
|
|
|
), |
|
|
|
), |
|
|
|
// SizedBox(height: 12), |
|
|
|
Container( |
|
|
|
height: 56, // 固定高度确保垂直居中 |
|
|
|
width: MediaQuery.of(context).size.width - 40, |
|
|
|
decoration: BoxDecoration( |
|
|
|
border: Border( |
|
|
|
bottom: BorderSide( |
|
|
|
color: Colors.grey[400]!, |
|
|
|
width: 0.5, |
|
|
|
), |
|
|
|
), |
|
|
|
border: Border.all(color: Colors.grey.shade300), |
|
|
|
borderRadius: BorderRadius.circular(28), |
|
|
|
// border: Border( |
|
|
|
// bottom: BorderSide( |
|
|
|
// color: Colors.grey[400]!, |
|
|
|
// width: 0.5, |
|
|
|
// ), |
|
|
|
// ), |
|
|
|
), |
|
|
|
child: Row( |
|
|
|
crossAxisAlignment: CrossAxisAlignment.center, // 垂直居中 |
|
|
|
children: [ |
|
|
|
// 左侧标签 - 固定宽度 + 垂直居中 |
|
|
|
Container( |
|
|
|
width: 100, |
|
|
|
width: 108, |
|
|
|
alignment: Alignment.centerLeft, |
|
|
|
padding: const EdgeInsets.only(left: 16), |
|
|
|
padding: const EdgeInsets.only(left: 24), |
|
|
|
child: Text( |
|
|
|
'姓名:', |
|
|
|
style: TextStyle( |
|
|
|
@ -63,7 +64,7 @@ class RealNamePage extends StatelessWidget { |
|
|
|
), |
|
|
|
), |
|
|
|
), |
|
|
|
SizedBox(width: 12), |
|
|
|
// SizedBox(width: 4), |
|
|
|
|
|
|
|
// 输入框区域 - 使用Expanded填充剩余空间 |
|
|
|
Expanded( |
|
|
|
@ -90,25 +91,28 @@ class RealNamePage extends StatelessWidget { |
|
|
|
], |
|
|
|
), |
|
|
|
), |
|
|
|
// SizedBox(height: 30), |
|
|
|
SizedBox(height: 24), |
|
|
|
Container( |
|
|
|
height: 56, // 固定高度确保垂直居中 |
|
|
|
width: MediaQuery.of(context).size.width - 40, |
|
|
|
decoration: BoxDecoration( |
|
|
|
border: Border( |
|
|
|
bottom: BorderSide( |
|
|
|
color: Colors.grey[400]!, |
|
|
|
width: 0.5, |
|
|
|
), |
|
|
|
), |
|
|
|
border: Border.all(color: Colors.grey.shade300), |
|
|
|
borderRadius: BorderRadius.circular(28), |
|
|
|
// border: Border( |
|
|
|
// bottom: BorderSide( |
|
|
|
// color: Colors.grey[400]!, |
|
|
|
// width: 0.5, |
|
|
|
// ), |
|
|
|
// ), |
|
|
|
), |
|
|
|
child: Row( |
|
|
|
crossAxisAlignment: CrossAxisAlignment.center, // 垂直居中 |
|
|
|
children: [ |
|
|
|
// 左侧标签 - 固定宽度 + 垂直居中 |
|
|
|
Container( |
|
|
|
width: 100, |
|
|
|
width: 108, |
|
|
|
alignment: Alignment.centerLeft, |
|
|
|
padding: const EdgeInsets.only(left: 16), |
|
|
|
padding: const EdgeInsets.only(left: 24), |
|
|
|
child: Text( |
|
|
|
'身份证号:', |
|
|
|
style: TextStyle( |
|
|
|
@ -117,7 +121,7 @@ class RealNamePage extends StatelessWidget { |
|
|
|
), |
|
|
|
), |
|
|
|
), |
|
|
|
SizedBox(width: 12), |
|
|
|
// SizedBox(width: 4), |
|
|
|
|
|
|
|
// 输入框区域 - 使用Expanded填充剩余空间 |
|
|
|
Expanded( |
|
|
|
|