HDL_ON/UI/UI2/4-PersonalCenter/AccountBindInfo/ChangeBindVerificationCodePage.cs
@@ -35,6 +35,8 @@
        Button btnResend;
        Button btnTip;
        Action<string> action;
        /// <summary>
@@ -80,10 +82,11 @@
            Action backAction = () =>
            {
                Application.HideSoftInput();
                BackConfirmAction();
            };
            new TopViewDiv(bodyView, Language.StringByID(tId)).LoadTopView(backAction);
            new TopViewDiv(bodyView, Language.StringByID(tId), false).LoadTopView(backAction);
            Button btnTip = new Button()
            btnTip = new Button()
            {
                Y = Application.GetRealHeight(64),
                Height = Application.GetRealHeight(84),
@@ -519,7 +522,7 @@
                            else
                            {
                                //失败提示
                                IMessageCommon.Current.ShowErrorInfoAlter(NewAPI.API_POST_Verification_Check, resultObj.Code);
                                IMessageCommon.Current.ShowErrorInfoAlter(resultObj.Code);
                            }
                            Application.RunOnMainThread(() =>
                            {
@@ -579,7 +582,7 @@
                                            else
                                            {
                                                //失败提示
                                                IMessageCommon.Current.ShowErrorInfoAlter(NewAPI.API_POST_Member_UnbindWithAccount, result2);
                                                IMessageCommon.Current.ShowErrorInfoAlter(result2);
                                            }
                                        })
                                        { IsBackground = true }.Start();
@@ -609,7 +612,7 @@
                                            else
                                            {
                                                //失败提示
                                                IMessageCommon.Current.ShowErrorInfoAlter(NewAPI.API_POST_Member_UnbindWithAccount, result2);
                                                IMessageCommon.Current.ShowErrorInfoAlter(result2);
                                            }
                                        })
                                        { IsBackground = true }.Start();
@@ -697,5 +700,32 @@
            aep.LoadPage(action, isPhone, true);
            MainPage.BasePageView.PageIndex = MainPage.BasePageView.ChildrenCount - 1;
        }
        /// <summary>
        /// 返回二次确认事件
        /// </summary>
        void BackConfirmAction()
        {
            //验证码发送成功,二次确认退出
            if (btnTip.TextID == StringId.VerificationCodePrompt)
            {
                Action cancelAction = () =>
                {
                    if (bodyView != null)
                    {
                        bodyView.RemoveFromParent();
                    }
                };
                new ConfirmDialog().ShowDialog(StringId.Tip, StringId.VerificationCodeMayBeDelayed, null, cancelAction, StringId.ReturnStr, StringId.WaitAMoment);
            }
            else
            {
                //直接关闭
                if (bodyView != null)
                {
                    bodyView.RemoveFromParent();
                }
            }
        }
    }
}