已知问题修改
This commit is contained in:
parent
a5d7a49570
commit
38769e5647
@ -34,8 +34,8 @@ class SafeVerifyLogic extends BaseGetXController {
|
|||||||
//获取验证码请求
|
//获取验证码请求
|
||||||
void sendValidationCode() async {
|
void sendValidationCode() async {
|
||||||
var entity = await ApiRepository.to.getValidationCodeAuth(
|
var entity = await ApiRepository.to.getValidationCodeAuth(
|
||||||
"+86",
|
"",
|
||||||
state.loginData.value.mobile!,
|
'',
|
||||||
'1',
|
'1',
|
||||||
state.codeType.value,
|
state.codeType.value,
|
||||||
"B748F838-94EE-4BDB-A0E6-7B2D16849792",
|
"B748F838-94EE-4BDB-A0E6-7B2D16849792",
|
||||||
|
|||||||
@ -248,7 +248,7 @@ class _MineSetPageState extends State<MineSetPage> {
|
|||||||
color: AppColors.darkGrayTextColor, fontSize: 18.sp),
|
color: AppColors.darkGrayTextColor, fontSize: 18.sp),
|
||||||
),
|
),
|
||||||
onPressed: () {
|
onPressed: () {
|
||||||
showCupertinoAlertDialog(context);
|
_showDialog(context);
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
@ -261,25 +261,54 @@ class _MineSetPageState extends State<MineSetPage> {
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
void showCupertinoAlertDialog(BuildContext context) {
|
//确认弹窗
|
||||||
showDialog(
|
void _showDialog(widgetContext) {
|
||||||
context: context,
|
showCupertinoDialog(
|
||||||
builder: (BuildContext context) {
|
context: widgetContext,
|
||||||
return ShowIosTipView(
|
builder: (context) {
|
||||||
title: "",
|
return CupertinoAlertDialog(
|
||||||
tipTitle: TranslationLoader.lanKeys!.deleteAccountTips!.tr,
|
title: Text(TranslationLoader.lanKeys!.deleteAccountTips!.tr),
|
||||||
sureClick: () {
|
actions: [
|
||||||
//安全验证
|
CupertinoDialogAction(
|
||||||
Navigator.pushNamed(context, Routers.safeVerifyPage);
|
child: Text(TranslationLoader.lanKeys!.cancel!.tr),
|
||||||
},
|
onPressed: () {
|
||||||
cancelClick: () {
|
Navigator.of(context).pop();
|
||||||
Navigator.pop(context);
|
},
|
||||||
},
|
),
|
||||||
|
CupertinoDialogAction(
|
||||||
|
child: Text(TranslationLoader.lanKeys!.sure!.tr),
|
||||||
|
onPressed: () {
|
||||||
|
Navigator.of(context).pop();
|
||||||
|
//安全验证
|
||||||
|
Navigator.pushNamed(context, Routers.safeVerifyPage);
|
||||||
|
setState(() {});
|
||||||
|
},
|
||||||
|
),
|
||||||
|
],
|
||||||
);
|
);
|
||||||
},
|
},
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// void showCupertinoAlertDialog(BuildContext context) {
|
||||||
|
// showDialog(
|
||||||
|
// context: context,
|
||||||
|
// builder: (BuildContext context) {
|
||||||
|
// return ShowIosTipView(
|
||||||
|
// title: "",
|
||||||
|
// tipTitle: TranslationLoader.lanKeys!.deleteAccountTips!.tr,
|
||||||
|
// sureClick: () {
|
||||||
|
// //安全验证
|
||||||
|
// Navigator.pushNamed(context, Routers.safeVerifyPage);
|
||||||
|
// },
|
||||||
|
// cancelClick: () {
|
||||||
|
// Navigator.pop(context);
|
||||||
|
// },
|
||||||
|
// );
|
||||||
|
// },
|
||||||
|
// );
|
||||||
|
// }
|
||||||
|
|
||||||
CupertinoSwitch _isPrompToneSwitch() {
|
CupertinoSwitch _isPrompToneSwitch() {
|
||||||
return CupertinoSwitch(
|
return CupertinoSwitch(
|
||||||
activeColor: CupertinoColors.activeBlue,
|
activeColor: CupertinoColors.activeBlue,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user