优化个人信息页面

This commit is contained in:
Daisy 2023-10-13 15:12:03 +08:00
parent ef946fa66c
commit a5d7a49570

View File

@ -92,13 +92,13 @@ class _MinePersonInfoPageState extends State<MinePersonInfoPage> {
arguments: {
'mobile': state.mobileStr.value,
'isFrom': '1'
});
}).then((value) => logic.getUserInfoRequest());
} else {
Navigator.pushNamed(
context, Routers.mineBindPhoneOrEmailPage, arguments: {
'mobile': state.mobileStr.value,
'isFrom': '1'
});
}).then((value) => logic.getUserInfoRequest());
}
})),
Obx(() => CommonItem(
@ -116,13 +116,13 @@ class _MinePersonInfoPageState extends State<MinePersonInfoPage> {
arguments: {
'isFrom': '2',
'email': state.emailStr.value
});
}).then((value) => logic.getUserInfoRequest());
} else {
Navigator.pushNamed(
context, Routers.mineBindPhoneOrEmailPage, arguments: {
'isFrom': '2',
'email': state.emailStr.value
});
}).then((value) => logic.getUserInfoRequest());
}
})),
CommonItem(
@ -134,7 +134,7 @@ class _MinePersonInfoPageState extends State<MinePersonInfoPage> {
Navigator.pushNamed(
context, Routers.minePersonInfoResetPasswordPage);
}),
CommonItem(
Obx(() => CommonItem(
leftTitel: TranslationLoader.lanKeys!.safetyProblem!.tr,
rightTitle: state.haveSafeAnswer.value == 0 ? "去设置" : "",
isHaveLine: true,
@ -148,7 +148,7 @@ class _MinePersonInfoPageState extends State<MinePersonInfoPage> {
Navigator.pushNamed(
context, Routers.minePersonInfoViewSafetyProblemPage);
}
}),
})),
Obx(() => CommonItem(
leftTitel: TranslationLoader.lanKeys!.countryAndRegion!.tr,
rightTitle: state.countryStr.value,