| | |
| | | /// <summary> |
| | | /// |
| | | /// </summary> |
| | | Button btnTitle; |
| | | /// <summary> |
| | | /// |
| | | /// </summary> |
| | | Button btnContent; |
| | | |
| | | /// <summary> |
| | | /// |
| | | /// </summary> |
| | | Action<string> action; |
| | | |
| | | /// <summary> |
| | | /// 操作目标类型 1:邮箱,2:手机 |
| | | /// </summary> |
| | |
| | | /// <summary> |
| | | /// 是否为解绑验证 |
| | | /// </summary> |
| | | public bool isUnbind; |
| | | |
| | | /// <summary> |
| | | /// |
| | | /// </summary> |
| | | Button btnTitle; |
| | | /// <summary> |
| | | /// |
| | | /// </summary> |
| | | Button btnContent; |
| | | public bool IsUnbind; |
| | | |
| | | |
| | | /// <summary> |
| | | /// ChangeBindAccountPage |
| | |
| | | Y = Application.GetRealHeight(213), |
| | | Gravity = Gravity.CenterHorizontal, |
| | | Width = Application.GetRealWidth(220), |
| | | Height = Application.GetRealHeight(44), |
| | | Height = Application.GetRealWidth(44), |
| | | BackgroundColor = CSS_Color.MainColor, |
| | | TextAlignment = TextAlignment.Center, |
| | | TextColor = CSS_Color.MainBackgroundColor, |
| | |
| | | { |
| | | if (optionType == 2) |
| | | { |
| | | btnTitle.TextID = isUnbind ? StringId.CurPhone : StringId.PhoneNumberVerification; |
| | | btnTitle.TextID = IsUnbind ? StringId.CurPhone : StringId.PhoneNumberVerification; |
| | | btnContent.Text = UserInfo.Current.userMobileInfo; |
| | | } |
| | | else |
| | | { |
| | | btnTitle.TextID = isUnbind ? StringId.CurrentEmail : StringId.EmailVerification; |
| | | btnTitle.TextID = IsUnbind ? StringId.CurrentEmail : StringId.EmailVerification; |
| | | btnContent.Text = UserInfo.Current.userEmailInfo; |
| | | } |
| | | } |
| | |
| | | { |
| | | button.BackgroundColor = CSS_Color.PromptingColor1; |
| | | var vcp = new ChangeBindVerificationCodePage(); |
| | | vcp.isUnbind = isUnbind; |
| | | vcp.IsUnbind = IsUnbind; |
| | | MainPage.BasePageView.AddChidren(vcp); |
| | | vcp.LoadPage(action, titleId, optionType, time); |
| | | MainPage.BasePageView.PageIndex = MainPage.BasePageView.ChildrenCount - 1; |