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