陈嘉乐
2020-07-10 48ba446936b51fffafa7c3600c0dadc6ac0e8c20
ZigbeeApp/Shared/Phone/UserCenter/Member/AddMemberByIdForm.cs
@@ -43,14 +43,15 @@
            rowAccount.Y = Application.GetRealHeight(23);
            frame.AddChidren(rowAccount);
            //底线
            rowAccount.AddBottomLine();
            var btnLine = rowAccount.AddBottomLine();
            //请输入需要加入成员的ID(Email/手机号)
            var txtCode = new TextInputControl(Application.GetRealWidth(900), rowAccount.Height, false);
            txtCode.X = ControlCommonResourse.XXLeft;
            txtCode.PlaceholderText = Language.StringByID(R.MyInternationalizationString.uPleaseInputAddMenberID);
            txtCode.PlaceholderTextColor = UserCenterColor.Current.TextTipColor;
            rowAccount.AddChidren(txtCode, ChidrenBindMode.NotBind);
            //联动线的状态
            txtCode.btnLine = btnLine;
            //下一步
            var btnBottom = new BottomClickButton(688);
@@ -85,12 +86,20 @@
            var pra = new AccountInfoPra();
            pra.Account = accountId;
            string result = await UserCenterLogic.GetResponseDataByRequestHttps("ZigbeeUsers/GetSubAccountInfo", false, pra);
            string result = await UserCenterLogic.GetResponseDataByRequestHttps("ZigbeeUsers/GetSubAccountInfo", false, pra, new System.Collections.Generic.List<string>() { "AccountNoExists" });
            //关闭进度条
            this.CloseProgressBar();
            if (result == null)
            {
                //异常
                return;
            }
            if (result == string.Empty)
            {
                //成员不存在
                var form = new MemberNotEsixtForm();
                form.AddForm();
                return;
            }