| | |
| | | |
| | | Button btnResend; |
| | | |
| | | Button btnTip; |
| | | |
| | | Action<string> action; |
| | | |
| | | /// <summary> |
| | |
| | | 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), |
| | |
| | | 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(); |
| | | } |
| | | }; |
| | | HDLCommon.Current.ShowConfirmDialog(StringId.Tip, StringId.VerificationCodeMayBeDelayed, null, cancelAction, StringId.ReturnStr, StringId.WaitAMoment); |
| | | } |
| | | else |
| | | { |
| | | //直接关闭 |
| | | if (bodyView != null) |
| | | { |
| | | bodyView.RemoveFromParent(); |
| | | } |
| | | } |
| | | } |
| | | } |
| | | } |