Fix:【其他-注册】
https://www.tapd.cn/69273997/bugtrace/bugs/view/1169273997001002903
This commit is contained in:
parent
22887609f5
commit
72d5d3dc20
@ -194,14 +194,9 @@ 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});
|
||||||
if (state.pwd.value != state.surePwd.value) {
|
|
||||||
logic.showToast('密码不一致哦'.tr);
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
final result = await Get.toNamed(
|
final result = await Get.toNamed(
|
||||||
Routers.safetyVerificationPage,
|
Routers.safetyVerificationPage,
|
||||||
arguments: <String, Object>{
|
arguments: <String, Object>{
|
||||||
@ -216,7 +211,8 @@ class _StarLockRegisterPageState extends State<StarLockRegisterXHJPage> {
|
|||||||
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:
|
||||||
|
(state.canSendCode.value && state.canResend.value)
|
||||||
? AppColors.mainColor
|
? AppColors.mainColor
|
||||||
: AppColors.btnDisableColor,
|
: AppColors.btnDisableColor,
|
||||||
borderRadius: BorderRadius.circular(5)),
|
borderRadius: BorderRadius.circular(5)),
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user