From a715181089be0d31cd737a5367ffd02690b9d77f Mon Sep 17 00:00:00 2001 From: wxr <464027401@qq.com> Date: 星期四, 12 十一月 2020 13:36:01 +0800 Subject: [PATCH] 20201112 --- HDL_ON/UI/UI1-Login/RegisterPage.cs | 751 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 751 insertions(+), 0 deletions(-) diff --git a/HDL_ON/UI/UI1-Login/RegisterPage.cs b/HDL_ON/UI/UI1-Login/RegisterPage.cs new file mode 100644 index 0000000..4f30528 --- /dev/null +++ b/HDL_ON/UI/UI1-Login/RegisterPage.cs @@ -0,0 +1,751 @@ +锘縰sing System; +using System.Collections.Generic; +using System.Threading; +using HDL_ON.DAL.Server; +using HDL_ON.Entity; +using HDL_ON.UI.CSS; +using Shared; + +namespace HDL_ON.UI.UI1Login +{ + public partial class RegisterPage : Dialog + { + #region 鎺т欢鍒楄〃 + /// <summary> + /// 绛夊緟鎻愮ず + /// </summary> + Loading waitPage; + /// <summary> + /// 褰撳墠鐣岄潰 + /// </summary> + FrameLayout bodyView; + /// <summary> + /// 閫夋嫨鎵嬫満鐧诲綍鎸夐挳 + /// </summary> + Button btnPhoneLogin; + /// <summary> + /// 閫夋嫨閭鐧诲綍鎸夐挳 + /// </summary> + Button btnEmailLogin; + /// <summary> + /// 璐﹀彿瀛愬尯鍩� + /// </summary> + FrameLayout accountView; + /// <summary> + /// 鍥介檯鍖哄彿鎸夐挳 + /// </summary> + Button btnGlobalRoaming; + /// <summary> + /// 璐﹀彿瀛愬尯鍩熼噷闈㈢殑鍒嗗壊绾� + /// </summary> + Button btnDividingLineVertical_AccountView; + /// <summary> + /// 璐﹀彿鏂囨湰妗� + /// </summary> + EditText etAccount; + /// <summary> + /// 璐﹀彿Icon鎸夐挳 + /// </summary> + Button btnAccountIcon; + /// <summary> + /// 璐﹀彿瀛愬尯鍩熷簳閮ㄦí绾� + /// </summary> + Button btnVerificationCodeViewBottomLine; + /// <summary> + /// 瀵嗙爜瀛愬尯鍩� + /// </summary> + FrameLayout passwordView; + /// <summary> + /// 瀵嗙爜Icon鎸夐挳 + /// </summary> + Button btnPasswordIcon; + /// <summary> + /// 瀵嗙爜鏂囨湰妗� + /// </summary> + EditText etPassword; + /// <summary> + /// 瀵嗙爜瀛愬尯鍩熼噷闈㈢殑鍒嗗壊绾�1 + /// </summary> + Button btnDividingLineVertical_PasswordView1; + /// <summary> + /// 瀵嗙爜鏄惁鍙鎸夐挳 + /// </summary> + Button btnVisiblePassword; + /// <summary> + /// 瀵嗙爜瀛愬尯鍩熷簳閮ㄦí绾� + /// </summary> + Button btnPasswordViewBottomLine; + + /// <summary> + /// 纭瀵嗙爜瀛愬尯鍩� + /// </summary> + FrameLayout repeatPasswordView; + /// <summary> + /// 纭瀵嗙爜Icon鎸夐挳 + /// </summary> + Button btnRepeatPasswordIcon; + /// <summary> + /// 纭瀵嗙爜鏂囨湰妗� + /// </summary> + EditText etRepeatPassword; + /// <summary> + /// 纭瀵嗙爜瀛愬尯鍩熼噷闈㈢殑鍒嗗壊绾�1 + /// </summary> + Button btnRepeatDividingLineVertical_PasswordView1; + /// <summary> + /// 纭瀵嗙爜鏄惁鍙鎸夐挳 + /// </summary> + Button btnRepeatVisiblePassword; + /// <summary> + /// 纭瀵嗙爜瀛愬尯鍩熷簳閮ㄦí绾� + /// </summary> + Button btnRepeatPasswordViewBottomLine; + /// <summary> + /// 楠岃瘉鐮佸瓙鍖哄煙 + /// </summary> + FrameLayout verificationCodeView; + /// <summary> + /// 楠岃瘉鐮佸浘鏍� + /// </summary> + Button btnVerificationCodeIcon; + /// <summary> + /// 楠岃瘉鐮佸瓙鍖哄煙鍒嗗壊绾� + /// </summary> + Button btnDividingLineVertical_VerificationCodeView1; + /// <summary> + /// 楠岃瘉鐮佹枃鏈緭鍏ユ + /// </summary> + EditText etVerificationCode; + /// <summary> + /// 鑾峰彇楠岃瘉鐮佹寜閽� + /// </summary> + Button btnGetVerificationCode_Phone; + /// <summary> + /// 鑾峰彇楠岃瘉鐮佹寜閽� + /// </summary> + Button btnGetVerificationCode_Mail; + /// <summary> + /// 楠岃瘉鐮佸瓙鍖哄煙搴曢儴鍒嗗壊绾� + /// </summary> + Button btnAccountViewBottomLine; + /// <summary> + /// 娉ㄥ唽鎸夐挳 + /// </summary> + Button btnRegister; + + #endregion + + #region 灞�閮ㄥ彉閲忓垪琛� + /// <summary> + /// 璐﹀彿绫诲瀷 + /// 0:鎵嬫満 + /// 1:閭 + /// </summary> + int accountType = 0; + /// <summary> + /// 鎵嬫満鍙风爜鏄惁鏈夋晥 + /// </summary> + bool ValidMobileNumber = false; + /// <summary> + /// 瀵嗙爜鏄惁鏈夋晥 + /// </summary> + bool ValidPassword = false; + /// <summary> + /// 鏈嶅姟鍣ㄨ姹傚璞� + /// </summary> + HttpServerRequest pm; + /// <summary> + /// 鍥炶皟浜嬩欢 + /// </summary> + //Action callbackAction; + /// <summary> + /// 娉ㄥ唽绫诲瀷 + /// 0:鎵嬫満 + /// 1:閭 + /// </summary> + int registerType; + + string registerPhone; + string registerEmail; + #endregion + public RegisterPage() + { + bodyView = new FrameLayout() + { + BackgroundColor = CSS_Color.BackgroundColor, + }; + AddChidren(bodyView); + + pm = new HttpServerRequest(); + } + + //public RegisterPage(Action action) + //{ + // bodyView = new FrameLayout() + // { + // BackgroundColor = CSS_Color.MainBackgroundColor, + // }; + // AddChidren(bodyView); + // pm = new HttpServerRequest(); + // callbackAction = action; + //} + + public void ShowDialog() + { + new TopViewDiv(this, bodyView, Language.StringByID(StringId.Register)).LoadTopView(); + //new PublicAssmebly().LoadTopView(this, bodyView, Language.StringByID(StringId.Register)); + + #region 娉ㄥ唽鏂瑰紡閫夋嫨 + btnPhoneLogin = new Button() + { + X = Application.GetRealWidth(28), + Y = Application.GetRealHeight(112), + Width = Application.GetRealWidth(120), + Height = Application.GetRealHeight(40), + TextID = StringId.RegisterByPhone, + TextColor = CSS_Color.MainColor, + TextAlignment = TextAlignment.CenterLeft, + TextSize = CSS_FontSize.EmphasisFontSize_Secondary, + }; + bodyView.AddChidren(btnPhoneLogin); + + btnEmailLogin = new Button() + { + X = btnPhoneLogin.Right, + Y = Application.GetRealHeight(112), + Width = Application.GetRealWidth(100), + Height = Application.GetRealHeight(40), + TextID = StringId.RegisterByEmail, + TextColor = CSS_Color.PromptingColor1, + TextAlignment = TextAlignment.Center, + TextSize = CSS_FontSize.TextFontSize, + }; + bodyView.AddChidren(btnEmailLogin); + #endregion + + #region 璐﹀彿濉啓 + accountView = new FrameLayout() + { + X = Application.GetRealWidth(28), + Y = Application.GetRealHeight(167), + Width = Application.GetRealWidth(319), + Height = Application.GetRealHeight(44), + }; + bodyView.AddChidren(accountView); + + btnGlobalRoaming = new Button() + { + Width = Application.GetRealWidth(57), + X = Application.GetRealWidth(9), + TextAlignment = TextAlignment.CenterLeft, + TextColor = CSS_Color.FirstLevelTitleColor, + Text = "+86", + TextSize = CSS_FontSize.TextFontSize, + }; + if (accountType == 0) + { + accountView.AddChidren(btnGlobalRoaming); + } + + //btnDividingLineVertical_AccountView = new Button() + //{ + // X = Application.GetRealWidth(65), + // Gravity = Gravity.CenterVertical, + // Width = 1, + // Height = Application.GetRealHeight(20), + // BackgroundColor = CSS_Color.DividingLineColor, + //}; + //accountView.AddChidren(btnDividingLineVertical_AccountView); + + etAccount = new EditText() + { + X = Application.GetRealWidth(49), + Width = Application.GetRealWidth(319 - 78), + TextAlignment = TextAlignment.CenterLeft, + TextColor = CSS_Color.FirstLevelTitleColor, + TextSize = CSS_FontSize.TextFontSize, + PlaceholderTextColor = CSS_Color.PromptingColor1, + PlaceholderText = Language.StringByID(StringId.PlsEntryPhoneNumber), + }; + accountView.AddChidren(etAccount); + + btnAccountViewBottomLine = new Button() + { + Y = Application.GetRealHeight(42), + BackgroundColor = CSS_Color.DividingLineColor, + Height = Application.GetRealHeight(1), + }; + accountView.AddChidren(btnAccountViewBottomLine); + + btnAccountIcon = new Button() + { + X = Application.GetRealWidth(9), + Gravity = Gravity.CenterVertical, + Width = Application.GetMinRealAverage(20), + Height = Application.GetMinRealAverage(20), + UnSelectedImagePath = "LoginIcon/AccountIcon.png", + }; + if (accountType == 1) + { + accountView.AddChidren(btnAccountIcon); + } + #endregion + + #region 瀵嗙爜濉啓 + passwordView = new FrameLayout() + { + X = Application.GetRealWidth(28), + Y = Application.GetRealHeight(223), + Width = Application.GetRealWidth(319), + Height = Application.GetRealHeight(44), + }; + bodyView.AddChidren(passwordView); + + btnPasswordIcon = new Button() + { + X = Application.GetRealWidth(9), + Gravity = Gravity.CenterVertical, + Width = Application.GetMinRealAverage(20), + Height = Application.GetMinRealAverage(20), + UnSelectedImagePath = "LoginIcon/PasswordIcon.png", + + }; + passwordView.AddChidren(btnPasswordIcon); + //btnDividingLineVertical_PasswordView1 = new Button() + //{ + // X = Application.GetRealWidth(65), + // Gravity = Gravity.CenterVertical, + // Width = 1, + // Height = Application.GetRealHeight(20), + // BackgroundColor = CSS_Color.DividingLineColor, + //}; + //passwordView.AddChidren(btnDividingLineVertical_PasswordView1); + + etPassword = new EditText() + { + X = Application.GetRealWidth(49), + Width = Application.GetRealWidth(319 - 78), + TextAlignment = TextAlignment.CenterLeft, + TextColor = CSS_Color.FirstLevelTitleColor, + TextSize = CSS_FontSize.TextFontSize, + PlaceholderTextColor = CSS_Color.PromptingColor1, + PlaceholderText = Language.StringByID(StringId.PlsRegisterPassword), + SecureTextEntry = true, + }; + passwordView.AddChidren(etPassword); + + #region 瀵嗙爜鐧诲綍-鎺т欢鍔犺浇 + btnVisiblePassword = new Button() + { + X = Application.GetRealWidth(295), + Gravity = Gravity.CenterVertical, + Width = Application.GetMinRealAverage(20), + Height = Application.GetMinRealAverage(20), + UnSelectedImagePath = "LoginIcon/HidePasswordIcon.png", + SelectedImagePath = "LoginIcon/ShowPasswordIcon.png", + }; + passwordView.AddChidren(btnVisiblePassword); + + #endregion + btnPasswordViewBottomLine = new Button() + { + Y = Application.GetRealHeight(42), + BackgroundColor = CSS_Color.DividingLineColor, + SelectedBackgroundColor = CSS_Color.MainColor, + Height = Application.GetRealHeight(1), + }; + passwordView.AddChidren(btnPasswordViewBottomLine); + #endregion + + #region 纭瀵嗙爜濉啓 + repeatPasswordView = new FrameLayout() + { + X = Application.GetRealWidth(28), + Y = Application.GetRealHeight(279), + Width = Application.GetRealWidth(319), + Height = Application.GetRealHeight(44), + }; + bodyView.AddChidren(repeatPasswordView); + + btnRepeatPasswordIcon = new Button() + { + X = Application.GetRealWidth(9), + Gravity = Gravity.CenterVertical, + Width = Application.GetMinRealAverage(20), + Height = Application.GetMinRealAverage(20), + UnSelectedImagePath = "LoginIcon/PasswordIcon.png", + + }; + repeatPasswordView.AddChidren(btnRepeatPasswordIcon); + //btnRepeatDividingLineVertical_PasswordView1 = new Button() + //{ + // X = Application.GetRealWidth(65), + // Gravity = Gravity.CenterVertical, + // Width = 1, + // Height = Application.GetRealHeight(20), + // BackgroundColor = CSS_Color.DividingLineColor, + //}; + //repeatPasswordView.AddChidren(btnRepeatDividingLineVertical_PasswordView1); + + etRepeatPassword = new EditText() + { + X = Application.GetRealWidth(49), + Width = Application.GetRealWidth(319 - 78), + TextAlignment = TextAlignment.CenterLeft, + TextColor = CSS_Color.FirstLevelTitleColor, + TextSize = CSS_FontSize.TextFontSize, + PlaceholderTextColor = CSS_Color.PromptingColor1, + PlaceholderText = Language.StringByID(StringId.PlsRegisterRepeatPassword), + SecureTextEntry = true, + }; + repeatPasswordView.AddChidren(etRepeatPassword); + + #region 瀵嗙爜鐧诲綍-鎺т欢鍔犺浇 + btnRepeatVisiblePassword = new Button() + { + X = Application.GetRealWidth(295), + Gravity = Gravity.CenterVertical, + Width = Application.GetMinRealAverage(20), + Height = Application.GetMinRealAverage(20), + UnSelectedImagePath = "LoginIcon/HidePasswordIcon.png", + SelectedImagePath = "LoginIcon/ShowPasswordIcon.png", + }; + repeatPasswordView.AddChidren(btnRepeatVisiblePassword); + + #endregion + + btnRepeatPasswordViewBottomLine = new Button() + { + Y = Application.GetRealHeight(42), + BackgroundColor = CSS_Color.DividingLineColor, + SelectedBackgroundColor = CSS_Color.MainColor, + Height = Application.GetRealHeight(1), + }; + repeatPasswordView.AddChidren(btnRepeatPasswordViewBottomLine); + + #endregion + + #region 楠岃瘉鐮佸~鍐� + verificationCodeView = new FrameLayout() + { + X = Application.GetRealWidth(28), + Y = Application.GetRealHeight(335), + Width = Application.GetRealWidth(319), + Height = Application.GetRealHeight(44), + }; + bodyView.AddChidren(verificationCodeView); + + btnVerificationCodeIcon = new Button() + { + X = Application.GetRealWidth(9), + Gravity = Gravity.CenterVertical, + Width = Application.GetMinRealAverage(20), + Height = Application.GetMinRealAverage(20), + UnSelectedImagePath = "LoginIcon/VerificationCodeIcon.png", + }; + verificationCodeView.AddChidren(btnVerificationCodeIcon); + + //btnDividingLineVertical_VerificationCodeView1 = new Button() + //{ + // X = Application.GetRealWidth(65), + // Gravity = Gravity.CenterVertical, + // Width = 1, + // Height = Application.GetRealHeight(20), + // BackgroundColor = CSS_Color.DividingLineColor, + //}; + //verificationCodeView.AddChidren(btnDividingLineVertical_VerificationCodeView1); + + etVerificationCode = new EditText() + { + X = Application.GetRealWidth(49), + Width = Application.GetRealWidth(61 + 84), + TextAlignment = TextAlignment.CenterLeft, + TextColor = CSS_Color.FirstLevelTitleColor, + TextSize = CSS_FontSize.TextFontSize, + PlaceholderTextColor = CSS_Color.PromptingColor1, + PlaceholderText = Language.StringByID(StringId.PlsEntryVerificationCode), + }; + verificationCodeView.AddChidren(etVerificationCode); + + btnGetVerificationCode_Phone = new Button() + { + X = Application.GetRealWidth(219), + Width = Application.GetRealWidth(100), + TextID = StringId.GetVerificationCode, + SelectedTextColor = CSS_Color.MainColor, + TextColor = CSS_Color.PromptingColor1, + TextAlignment = TextAlignment.CenterRight, + TextSize = CSS_FontSize.PromptFontSize_FirstLevel, + }; + verificationCodeView.AddChidren(btnGetVerificationCode_Phone); + + btnGetVerificationCode_Mail = new Button() + { + X = Application.GetRealWidth(219), + Width = Application.GetRealWidth(100), + TextID = StringId.GetVerificationCode, + SelectedTextColor = CSS_Color.MainColor, + TextColor = CSS_Color.PromptingColor1, + TextAlignment = TextAlignment.CenterRight, + TextSize = CSS_FontSize.PromptFontSize_FirstLevel, + Visible = false + }; + verificationCodeView.AddChidren(btnGetVerificationCode_Mail); + + btnVerificationCodeViewBottomLine = new Button() + { + Y = Application.GetRealHeight(42), + BackgroundColor = CSS_Color.DividingLineColor, + SelectedBackgroundColor = CSS_Color.MainColor, + Height = Application.GetRealHeight(1), + }; + verificationCodeView.AddChidren(btnVerificationCodeViewBottomLine); + + #endregion + + btnRegister = new Button() + { + Gravity = Gravity.CenterHorizontal, + Y = Application.GetRealHeight(421), + Width = Application.GetRealWidth(220), + Height = Application.GetRealHeight(44), + Radius = (uint)Application.GetRealHeight(22), + SelectedBackgroundColor = CSS_Color.MainColor, + BackgroundColor = CSS_Color.PromptingColor1, + TextID = StringId.Register, + TextSize = CSS_FontSize.SubheadingFontSize, + TextColor = CSS_Color.MainBackgroundColor, + TextAlignment = TextAlignment.Center, + }; + bodyView.AddChidren(btnRegister); + + LoadEventList(); + } + + + /// <summary> + /// 娉ㄥ唽鎴愬姛涔嬪悗鑷姩鐧诲綍 + /// </summary> + void LoadEvent_AutoLogin(string account, string password) + { + Dialog dialog = new Dialog(); + + FrameLayout frame = new FrameLayout() + { + Gravity = Gravity.CenterHorizontal, + Y = Application.GetRealHeight(198), + Width = Application.GetRealWidth(288), + Height = Application.GetRealHeight(206), + BackgroundColor = CSS_Color.MainBackgroundColor, + Radius = (uint)Application.GetRealWidth(12), + BorderWidth = 0, + BorderColor = 0x00000000, + }; + dialog.AddChidren(frame); + + Button btnAccountText = new Button() + { + Gravity = Gravity.CenterHorizontal, + Y = Application.GetRealHeight(40), + Height = Application.GetRealHeight(17 + 14 + 14), + IsMoreLines = true, + TextAlignment = TextAlignment.Center, + TextColor = CSS_Color.FirstLevelTitleColor, + TextSize = CSS_FontSize.TextFontSize, + Text = account, + }; + frame.AddChidren(btnAccountText); + + Button btnTipRegisterSuccess = new Button() + { + Gravity = Gravity.CenterHorizontal, + Y = Application.GetRealHeight(123), + Height = Application.GetRealHeight(30), + TextAlignment = TextAlignment.Center, + TextColor = CSS_Color.MainColor, + TextSize = CSS_FontSize.SubheadingFontSize, + TextID = StringId.CongratulationsRegistration, + }; + frame.AddChidren(btnTipRegisterSuccess); + + Button btnAutoLoginTip = new Button() + { + Gravity = Gravity.CenterHorizontal, + Y = btnTipRegisterSuccess.Bottom, + Height = Application.GetRealHeight(17 + 8), + TextAlignment = TextAlignment.Center, + TextColor = CSS_Color.PromptingColor1, + TextSize = CSS_FontSize.PromptFontSize_FirstLevel, + TextID = StringId.AutomaticallyLogin, + }; + frame.AddChidren(btnAutoLoginTip); + + Button btnHeadImage = new Button() + { + Gravity = Gravity.CenterHorizontal, + Y = Application.GetRealHeight(150), + Width = Application.GetRealWidth(84), + Height = Application.GetRealWidth(84), + Radius = (uint)Application.GetRealWidth(42), + BorderColor = 0x00000000, + BorderWidth = 0, + UnSelectedImagePath = "LoginIcon/2.png", + }; + dialog.AddChidren(btnHeadImage); + + dialog.Show(); + + new Thread(() => + { + Thread.Sleep(1500); + Application.RunOnMainThread(() => + { + //鍒涘缓鐧诲綍绾跨▼ + var loginThread = LoadThread_Login(account, password); + waitPage = new Loading(); + new PublicAssmebly().LoadPage_WaitPage(loginThread, bodyView, waitPage); + dialog.Close(); + }); + }) + { IsBackground = true }.Start(); + } + + #region 鐧诲綍绾跨▼閮ㄥ垎 + /// <summary> + /// 鍔犺浇鐧诲綍绾跨▼ + /// </summary> + Thread LoadThread_Login(string account,string password) + { + var loginThread = new Thread(() => + { + try + { + //鐧诲綍 + var loginResult = LoadMethod_Login(account,password); + if (loginResult) + { + //鑾峰彇浣忓畢淇℃伅 + var getResidencesResult = LoadMethod_GetResidences(); + if (getResidencesResult) + { + /* + * Wait : 鎺ㄩ�佹敞鍐� + */ + + Application.RunOnMainThread(() => + { + waitPage.RemoveFromParent(); + waitPage = null; + + //璺宠浆椤甸潰---- + MainPage.GoUserPage(); + }); + } + } + } + catch (Exception ex) + { + MainPage.Log($"LoginPage : {ex.Message}"); + } + }) + { IsBackground = true }; + return loginThread; + } + + /// <summary> + /// 璋冪敤鐧诲綍鎺ュ彛鐧诲綍 + /// </summary> + bool LoadMethod_Login(string account, string password) + { + var result = false; + //璋冪敤鐧诲綍鎺ュ彛 + var loginResult = pm.LoginByPassword(account, password); + if (loginResult.StateCode.ToUpper() == "SUCCESS") + { + var loginDataStr = Newtonsoft.Json.Linq.JObject.FromObject(loginResult.ResponseData); + + //璁板綍鐢ㄦ埛鏁版嵁 + MainPage.LoginUser = new UserInfo + { + ID = (int)loginDataStr.GetValue("UserID"), + masterID = (int)loginDataStr.GetValue("MainUserID"), + accountType = (int)loginDataStr.GetValue("UserType"), + accountString = account, + password = password, + lastTime = DateTime.Now, + userName = loginDataStr.GetValue("Remark").ToString(), + }; + MainPage.LoginUser.SaveUserInfo(); + MainPage.Log("鐧诲綍鎴愬姛銆�"); + result = true; + + + } + //鐧诲綍澶辫触 + else + { + string tipStr = "Sever erorr"; + switch (loginResult.StateCode) + { + case "USERNAMEORPWDERROR": + tipStr = Language.StringByID(StringId.LoginFailed_AccountOrPasswordError); + break; + case "Self:Net_Error": + tipStr = Language.StringByID(StringId.NetworkAnomaly); + break; + } + //璐﹀彿鎴栬�呭瘑鐮侀敊璇� + Application.RunOnMainThread(() => + { + //鎻愮ず鍘熷洜 + var tip = new Tip() + { + Text = tipStr, + CloseTime = 1, + Direction = AMPopTipDirection.None + }; + tip.Show(bodyView); + btnPasswordViewBottomLine.BackgroundColor = CSS_Color.AuxiliaryColor2; + btnPasswordViewBottomLine.Height = Application.GetRealHeight(2); + }); + } + return result; + } + + /// <summary> + /// 鑾峰彇浣忓畢鍒楄〃 + /// </summary> + bool LoadMethod_GetResidences() + { + var result = false; + var responsePack = pm.GetHomePager(); + if (responsePack == "Success") + { + } + else + { + var tipStr = "Server erorr"; + switch (responsePack) + { + case "NoLogin": + tipStr = Language.StringByID(StringId.InvalidLoginCertificate); + break; + } + Application.RunOnMainThread(() => + { + //鎻愮ず鍘熷洜 + var tip = new Tip() + { + Text = tipStr, + CloseTime = 1, + Direction = AMPopTipDirection.None + }; + tip.Show(bodyView); + }); + + } + return result; + } + #endregion + } +} \ No newline at end of file -- Gitblit v1.8.0