From 017af840d60fd6a56da9711308bf8239cb7fc1e6 Mon Sep 17 00:00:00 2001
From: JLChen <551775569@qq.com>
Date: 星期五, 13 十一月 2020 11:01:01 +0800
Subject: [PATCH] 2020-11-13 1.部分接口替换备份

---
 HDL_ON/UI/UI1-Login/ForgetPasswordPage.cs |   20 ++++++++++++++++++--
 1 files changed, 18 insertions(+), 2 deletions(-)

diff --git a/HDL_ON/UI/UI1-Login/ForgetPasswordPage.cs b/HDL_ON/UI/UI1-Login/ForgetPasswordPage.cs
index 5af63fd..b08c915 100644
--- a/HDL_ON/UI/UI1-Login/ForgetPasswordPage.cs
+++ b/HDL_ON/UI/UI1-Login/ForgetPasswordPage.cs
@@ -153,6 +153,10 @@
         /// 1:閭
         /// </summary>
         int registerType;
+        /// <summary>
+        /// 鎵嬫満鍖哄彿
+        /// </summary>
+        string phoneZoneCode = "86";
 
         /// <summary>
         /// 
@@ -184,7 +188,7 @@
                 Y = Application.GetRealHeight(112),
                 Width = Application.GetRealWidth(120),
                 Height = Application.GetRealHeight(40),
-                TextID = StringId.LoginByPhone,
+                TextID = StringId.PhoneNumberAccount,
                 TextColor = CSS_Color.MainColor,
                 TextAlignment = TextAlignment.CenterLeft,
                 TextSize = CSS_FontSize.EmphasisFontSize_Secondary,
@@ -197,7 +201,7 @@
                 Y = Application.GetRealHeight(112),
                 Width = Application.GetRealWidth(100),
                 Height = Application.GetRealHeight(40),
-                TextID = StringId.LoginByEmail,
+                TextID = StringId.EmailAccount,
                 TextColor = CSS_Color.PromptingColor1,
                 TextAlignment = TextAlignment.Center,
                 TextSize = CSS_FontSize.TextFontSize,
@@ -227,6 +231,18 @@
             if (accountType == 0)
             {
                 accountView.AddChidren(btnGlobalRoaming);
+
+                EventHandler<MouseEventArgs> eHandler = (sender, e) => {
+                    JLCountrycode.CountryCodeView.Current.Show((countryName, code) => {
+                        if (!string.IsNullOrEmpty(code))
+                        {
+                            phoneZoneCode = code;
+                            btnGlobalRoaming.Text = "+" + phoneZoneCode;
+
+                        }
+                    });
+                };
+                btnGlobalRoaming.MouseUpEventHandler += eHandler;
             }
 
             etAccount = new EditText()

--
Gitblit v1.8.0