feat: bugfix
This commit is contained in:
parent
ce4abb7e01
commit
c87d5d4d38
@ -226,7 +226,7 @@ class KRLoginView extends GetView<KRLoginController> {
|
||||
bool isPassword = false,
|
||||
}) {
|
||||
return SizedBox(
|
||||
height: 50.w, // 固定高度
|
||||
height: 50, // 固定高度
|
||||
child: TextField(
|
||||
controller: controller,
|
||||
obscureText: isPassword,
|
||||
@ -272,7 +272,7 @@ class KRLoginView extends GetView<KRLoginController> {
|
||||
// return SizedBox.shrink();
|
||||
// }
|
||||
return SizedBox(
|
||||
height: 50.w, // 固定高度
|
||||
height: 50, // 固定高度
|
||||
child: TextField(
|
||||
controller: controller.codeController,
|
||||
keyboardType: TextInputType.number,
|
||||
@ -381,7 +381,7 @@ class KRLoginView extends GetView<KRLoginController> {
|
||||
},
|
||||
child: Container(
|
||||
width: double.infinity,
|
||||
height: 50.w,
|
||||
height: 50,
|
||||
decoration: BoxDecoration(
|
||||
color: Theme.of(Get.context!).primaryColor,
|
||||
borderRadius: BorderRadius.circular(100.r),
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user