Fix:【其他-注册】
https://www.tapd.cn/69273997/bugtrace/bugs/view/1169273997001002903
This commit is contained in:
parent
22887609f5
commit
72d5d3dc20
@ -194,31 +194,27 @@ class _StarLockRegisterPageState extends State<StarLockRegisterXHJPage> {
|
|||||||
]),
|
]),
|
||||||
),
|
),
|
||||||
Obx(() => GestureDetector(
|
Obx(() => GestureDetector(
|
||||||
onTap:
|
onTap: (state.canSendCode.value && state.canResend.value)
|
||||||
(state.canSendCode.value && state.canResend.value)
|
? () async {
|
||||||
? () async {
|
// Navigator.pushNamed(context, Routers.safetyVerificationPage, arguments: {"countryCode":"+86", "account":state.phoneOrEmailStr.value});
|
||||||
// Navigator.pushNamed(context, Routers.safetyVerificationPage, arguments: {"countryCode":"+86", "account":state.phoneOrEmailStr.value});
|
final result = await Get.toNamed(
|
||||||
if (state.pwd.value != state.surePwd.value) {
|
Routers.safetyVerificationPage,
|
||||||
logic.showToast('密码不一致哦'.tr);
|
arguments: <String, Object>{
|
||||||
return;
|
'countryCode': state.countryCode,
|
||||||
}
|
'account': state.phoneOrEmailStr.value
|
||||||
final result = await Get.toNamed(
|
});
|
||||||
Routers.safetyVerificationPage,
|
state.xWidth.value =
|
||||||
arguments: <String, Object>{
|
(result as Map<String, dynamic>)['xWidth'];
|
||||||
'countryCode': state.countryCode,
|
logic.sendValidationCode();
|
||||||
'account': state.phoneOrEmailStr.value
|
}
|
||||||
});
|
: null,
|
||||||
state.xWidth.value =
|
|
||||||
(result as Map<String, dynamic>)['xWidth'];
|
|
||||||
logic.sendValidationCode();
|
|
||||||
}
|
|
||||||
: null,
|
|
||||||
child: Container(
|
child: Container(
|
||||||
padding: EdgeInsets.all(10.h),
|
padding: EdgeInsets.all(10.h),
|
||||||
decoration: BoxDecoration(
|
decoration: BoxDecoration(
|
||||||
color: (state.canSendCode.value && state.canResend.value)
|
color:
|
||||||
? AppColors.mainColor
|
(state.canSendCode.value && state.canResend.value)
|
||||||
: AppColors.btnDisableColor,
|
? AppColors.mainColor
|
||||||
|
: AppColors.btnDisableColor,
|
||||||
borderRadius: BorderRadius.circular(5)),
|
borderRadius: BorderRadius.circular(5)),
|
||||||
child: Center(
|
child: Center(
|
||||||
child: Text(state.btnText.value,
|
child: Text(state.btnText.value,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user