From 9dcd17ee7578c5a06bfcd960cc72ea2995716004 Mon Sep 17 00:00:00 2001
From: wxr <464027401@qq.com>
Date: 星期三, 15 七月 2020 16:43:38 +0800
Subject: [PATCH] 20200715

---
 HDL_ON/UI/UI2/4-PersonalCenter/PersonalDataPageBLL.cs |   44 ++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 44 insertions(+), 0 deletions(-)

diff --git a/HDL_ON/UI/UI2/4-PersonalCenter/PersonalDataPageBLL.cs b/HDL_ON/UI/UI2/4-PersonalCenter/PersonalDataPageBLL.cs
index a4f5353..eb022cc 100644
--- a/HDL_ON/UI/UI2/4-PersonalCenter/PersonalDataPageBLL.cs
+++ b/HDL_ON/UI/UI2/4-PersonalCenter/PersonalDataPageBLL.cs
@@ -15,6 +15,8 @@
             LoadEvent_Logout();
             LoadEvent_EditUserName();
             LoadEvent_SkipInterpretationSettings();
+            LoadEvent_ChangeBindEmail();
+            LoadEvent_ChangeBindPhone();
         }
 
         /// <summary>
@@ -195,6 +197,48 @@
             btnEditUserNameIcon.MouseUpEventHandler = eventHandler;
         }
 
+        #region 淇敼缁戝畾閭
+        /// <summary>
+        /// 淇敼缁戝畾閭
+        /// </summary>
+        void LoadEvent_ChangeBindEmail()
+        {
+            EventHandler<MouseEventArgs> eventHandler = (sender, e) => {
+                Action<string> action = (email) =>
+                {
+                    btnUserEmailInfo.Text = email;
+                };
+
+                var aep = new AccountBindInfoPage();
+                MainPage.BasePageView.AddChidren(aep);
+                aep.LoadPage(action,1,StringId.EmailAddress);
+                MainPage.BasePageView.PageIndex = MainPage.BasePageView.ChildrenCount - 1;
+            };
+            btnUserEmailInfo.MouseUpEventHandler = eventHandler;
+            btnUserEmailRight.MouseUpEventHandler = eventHandler;
+            userEmailInfoView.MouseUpEventHandler = eventHandler;
+        }
+        /// <summary>
+        /// 淇敼缁戝畾鎵嬫満
+        /// </summary>
+        void LoadEvent_ChangeBindPhone()
+        {
+            EventHandler<MouseEventArgs> eventHandler = (sender, e) => {
+                Action<string> action = (phone) =>
+                {
+                    btnUserPhoneInfo.Text = phone;
+                };
+
+                var aep = new AccountBindInfoPage();
+                MainPage.BasePageView.AddChidren(aep);
+                aep.LoadPage(action, 2, StringId.PhoneInfo);
+                MainPage.BasePageView.PageIndex = MainPage.BasePageView.ChildrenCount - 1;
+            };
+            btnUserPhoneInfo.MouseUpEventHandler = eventHandler;
+            btnUserPhoneRight.MouseUpEventHandler = eventHandler;
+            userPhoneInfoView.MouseUpEventHandler = eventHandler;
+        }
+        #endregion
 
         #region 瑙i攣璁剧疆鍖哄煙
         void LoadEvent_SkipInterpretationSettings()

--
Gitblit v1.8.0