wxr
2024-09-24 691dbe24f5724f153e07947c7b75bdfea5f0b6d5
HDL_ON/UI/UI1-Login/RegisterPage.cs
@@ -233,11 +233,24 @@
            AddChidren(bodyView);
            //2020-12-22 增加点击隐藏键盘事件
            bodyView.MouseDownEventHandler += (sender, e) => {
            bodyView.MouseDownEventHandler += (sender, e) =>
            {
                Application.HideSoftInput();
            };
            pm = new HttpServerRequest();
            try
            {
                if (OnAppConfig.Instance.GlobalRegion != null)
                {
                    OnAppConfig.Instance.GlobalRegion.regionUrl = "";
                }
                getServerList();
            }catch(Exception ex)
            {
                MainPage.Log("Error", "进入注册界面AppConfig异常:" + ex.Message);
            }
        }
        //public RegisterPage(Action action)
@@ -260,7 +273,7 @@
                Application.HideSoftInput();
            };
            new TopViewDiv(this, bodyView, Language.StringByID(StringId.Register)).LoadTopView(backAction);
            new TopViewDiv(this, bodyView, Language.StringByID(StringId.Register)) { maginY = 10 }.LoadTopView(backAction);
            //new PublicAssmebly().LoadTopView(this, bodyView, Language.StringByID(StringId.Register));
            #region 注册方式选择
@@ -289,7 +302,7 @@
                TextSize = CSS_FontSize.TextFontSize,
            };
            bodyView.AddChidren(btnEmailLogin);
            if(Language.CurrentLanguage!= "Chinese")
            if (Language.CurrentLanguage != "Chinese")
            {
                btnPhoneLogin.Width = Application.GetRealWidth(180);
                btnEmailLogin.Width = Application.GetRealWidth(180);
@@ -324,7 +337,7 @@
                TextAlignment = TextAlignment.CenterLeft,
                TextColor = CSS_Color.PromptingColor1,
                TextSize = CSS_FontSize.TextFontSize,
                TextID = StringId.PleaseSelectCountryOrRegion,
                TextID = StringId.PlsSelectServer,
            };
            serverView.AddChidren(btnServerText);
@@ -372,8 +385,10 @@
            };
            //跳转国家区号选择界面
            EventHandler<MouseEventArgs> eHandler = (sender, e) => {
                JLCountrycode.CountryCodeView.Current.Show((countryName, code) => {
            EventHandler<MouseEventArgs> eHandler = (sender, e) =>
            {
                JLCountrycode.CountryCodeView.Current.Show((countryName, code) =>
                {
                    if (!string.IsNullOrEmpty(code))
                    {
                        phoneZoneCode = code;