xm
2020-07-21 9a4b76398009cf76c508d61f7e48fb6f5cb7ac2d
ZigbeeApp/Shared/Phone/UserCenter/Password/CheckOldPhoneForm.cs
@@ -108,6 +108,7 @@
            btnErrorMsg.TextAlignment = TextAlignment.Center;
            btnErrorMsg.TextColor = 0xfff75858;
            btnErrorMsg.TextID = R.MyInternationalizationString.uVerificationCodeErrorInputAgain;
            btnErrorMsg.IsBold = true;
            bodyFrameLayout.AddChidren(btnErrorMsg);
            btnErrorMsg.Visible = false;
@@ -118,6 +119,8 @@
            bodyFrameLayout.AddChidren(btnNext);
            btnNext.ButtonClickEvent += (sender, e) =>
            {
                //清空输入的值
                btnCodeControl.ClearInputValue();
                //发送验证码到手机
                this.SendCodeToPhone(btnNext);
            };
@@ -130,11 +133,11 @@
        /// <summary>
        /// 发送验证码到手机
        /// </summary>
        private async void SendCodeToPhone(BottomClickButton btnNext)
        private void SendCodeToPhone(BottomClickButton btnNext)
        {
            var sendCodePra = new SendCodePra();
            bool flage = await UserCenterLogic.GetResultStatuByRequestHttps("ZigbeeUsers/LoginSendVerCode", false, sendCodePra);
            bool flage = UserCenterLogic.GetResultStatuByRequestHttps("ZigbeeUsers/LoginSendVerCode", false, sendCodePra);
            if (flage == false)
            {
                return;
@@ -189,7 +192,7 @@
        /// 验证验证码
        /// </summary>
        /// <returns></returns>
        private async void CheckVerificationCode(string code)
        private void CheckVerificationCode(string code)
        {
            if (this.canCheckCode == false)
            {
@@ -200,7 +203,7 @@
            var checkCodePra = new CheckCodePra();
            checkCodePra.Code = code;
            bool flage = await UserCenterLogic.GetResultStatuByRequestHttps("ZigbeeUsers/ValidatorCode", false, checkCodePra);
            bool flage = UserCenterLogic.GetResultStatuByRequestHttps("ZigbeeUsers/ValidatorCode", false, checkCodePra);
            if (flage == false)
            {
                //验证码错误,请重新输入