| | |
| | | btnEmailLogin.TextSize = CSS_FontSize.TextFontSize; |
| | | btnPhoneLogin.TextColor = CSS_Color.MainColor; |
| | | btnPhoneLogin.TextSize = CSS_FontSize.EmphasisFontSize_Secondary; |
| | | etAccount.PlaceholderText = Language.StringByID(StringId.PlsEntryAccount); |
| | | etAccount.PlaceholderText = Language.StringByID(StringId.PlsEntryPhoneNumber); |
| | | #endregion |
| | | |
| | | #region 切换方式方式及图标 |
| | |
| | | btnAccountViewBottomLine.Height = Application.GetRealHeight(2); |
| | | new Tip() |
| | | { |
| | | CloseTime = 3, |
| | | CloseTime = 1, |
| | | Text = Language.StringByID(StringId.PlsEntryCorrectMobilNeumber), |
| | | Direction = AMPopTipDirection.None, |
| | | }.Show(bodyView); |
| | |
| | | btnAccountViewBottomLine.Height = Application.GetRealHeight(2); |
| | | new Tip() |
| | | { |
| | | CloseTime = 3, |
| | | CloseTime = 1, |
| | | Text = Language.StringByID(StringId.PlsEntryCorrectEmailAddress), |
| | | Direction = AMPopTipDirection.None, |
| | | }.Show(bodyView); |
| | |
| | | { |
| | | new Tip() |
| | | { |
| | | CloseTime = 3, |
| | | CloseTime = 1, |
| | | Direction = AMPopTipDirection.None, |
| | | Text = Language.StringByID(StringId.PasswordIsUnqualified) |
| | | }.Show(bodyView); |
| | |
| | | btnRepeatPasswordViewBottomLine.Height = Application.GetRealHeight(2); |
| | | new Tip() |
| | | { |
| | | CloseTime = 3, |
| | | CloseTime = 1, |
| | | Direction = AMPopTipDirection.None, |
| | | Text = Language.StringByID(StringId.IncorrectRepeatPassword) |
| | | }.Show(bodyView); |
| | |
| | | }){ IsBackground = true}.Start(); |
| | | new Thread(() => |
| | | { |
| | | var result = pm.SendSms(account); |
| | | var result = pm.GetLoginVerCode(account); |
| | | if (result.StateCode.ToUpper() == "SUCCESS") |
| | | { |
| | | } |
| | |
| | | switch (result.StateCode) |
| | | { |
| | | case "Exist": |
| | | tipString = Language.StringByID(StringId.AccountAlreadyExists); |
| | | tipString = Language.StringByID(StringId.AccountAlreadyUse); |
| | | break; |
| | | case "SendFail": |
| | | tipString = Language.StringByID(StringId.FailedToSendVerificationCode); |
| | |
| | | { |
| | | new Tip() |
| | | { |
| | | CloseTime = 3, |
| | | CloseTime = 1, |
| | | Direction = AMPopTipDirection.None, |
| | | Text = tipString |
| | | }.Show(bodyView); |
| | |
| | | waitPage.Hide(); |
| | | new Tip() |
| | | { |
| | | CloseTime = 3, |
| | | CloseTime = 1, |
| | | Direction = AMPopTipDirection.None, |
| | | Text = erorrInfo, |
| | | }.Show(bodyView); |
| | |
| | | waitPage.Hide(); |
| | | new Tip() |
| | | { |
| | | CloseTime = 3, |
| | | CloseTime = 1, |
| | | Direction = AMPopTipDirection.None, |
| | | Text = erorrInfo, |
| | | }.Show(bodyView); |