|
|
@ -89,8 +89,10 @@ class LoginPage extends StatelessWidget { |
|
|
hintText: '请输入你的手机号', |
|
|
hintText: '请输入你的手机号', |
|
|
border: InputBorder.none, |
|
|
border: InputBorder.none, |
|
|
contentPadding: EdgeInsets.symmetric(horizontal: 15, vertical: 14), |
|
|
contentPadding: EdgeInsets.symmetric(horizontal: 15, vertical: 14), |
|
|
|
|
|
counterText: '', |
|
|
), |
|
|
), |
|
|
keyboardType: TextInputType.phone, |
|
|
keyboardType: TextInputType.phone, |
|
|
|
|
|
maxLength: 11, |
|
|
onChanged: (value) { |
|
|
onChanged: (value) { |
|
|
controller.phoneNumber.value = value; |
|
|
controller.phoneNumber.value = value; |
|
|
}, |
|
|
}, |
|
|
@ -118,8 +120,10 @@ class LoginPage extends StatelessWidget { |
|
|
hintText: '请输入验证码', |
|
|
hintText: '请输入验证码', |
|
|
border: InputBorder.none, |
|
|
border: InputBorder.none, |
|
|
contentPadding: EdgeInsets.symmetric(horizontal: 15, vertical: 14), |
|
|
contentPadding: EdgeInsets.symmetric(horizontal: 15, vertical: 14), |
|
|
|
|
|
counterText: '', |
|
|
), |
|
|
), |
|
|
keyboardType: TextInputType.number, |
|
|
keyboardType: TextInputType.number, |
|
|
|
|
|
maxLength: 6, |
|
|
onChanged: (value) { |
|
|
onChanged: (value) { |
|
|
controller.verificationCode.value = value; |
|
|
controller.verificationCode.value = value; |
|
|
}, |
|
|
}, |
|
|
|