| | |
| | | btnLine.Y = txtValue.Bottom;
|
| | | btnLine.BackgroundColor = UserCenterColor.Current.ButtomLine;
|
| | | frame.AddChidren(btnLine);
|
| | | //联动线的状态
|
| | | txtValue.btnLine = btnLine;
|
| | |
|
| | | if (string.IsNullOrEmpty(UserCenterResourse.UserInfo.Email) == false)
|
| | | {
|
| | |
| | | btnErrorMsg.TextAlignment = TextAlignment.Center;
|
| | | btnErrorMsg.TextColor = 0xfff75858;
|
| | | btnErrorMsg.TextID = R.MyInternationalizationString.uVerificationCodeErrorInputAgain;
|
| | | btnErrorMsg.IsBold = true;
|
| | | bodyFrameLayout.AddChidren(btnErrorMsg);
|
| | | btnErrorMsg.Visible = false;
|
| | |
|
| | |
| | | btnOk.CanClick = false;
|
| | | btnOk.ButtonClickEvent += (sender, e) =>
|
| | | {
|
| | | //清空输入的值
|
| | | btnCodeControl.ClearInputValue();
|
| | |
|
| | | this.btnErrorMsg.Visible = false;
|
| | | //检测邮箱的地址
|
| | | if (this.CheckEmail(txtValue.Text.Trim()) == false)
|
| | |
| | | var sendCodePra = new SendCodePra();
|
| | | sendCodePra.Account = Email;
|
| | |
|
| | | bool falge = await UserCenterLogic.GetResultStatuByRequestHttps("ZigbeeUsers/LoginSendVerCode", false, sendCodePra);
|
| | | bool falge = await UserCenterLogic.GetResultStatuByRequestHttps("ZigbeeUsers/RegisterSendVerCode", false, sendCodePra);
|
| | | if (falge == false)
|
| | | {
|
| | | return;
|