From 7153e420d66bce0a06b7e972ac3a5c34197fa2e5 Mon Sep 17 00:00:00 2001 From: JLChen <551775569@qq.com> Date: 星期三, 18 十一月 2020 20:02:13 +0800 Subject: [PATCH] 2020-11-18 1.修改完善手机绑定和解绑。 --- HDL_ON/UI/UI2/4-PersonalCenter/AccountBindInfo/AccountBindInfoPage.cs | 9 +++++++-- 1 files changed, 7 insertions(+), 2 deletions(-) diff --git a/HDL_ON/UI/UI2/4-PersonalCenter/AccountBindInfo/AccountBindInfoPage.cs b/HDL_ON/UI/UI2/4-PersonalCenter/AccountBindInfo/AccountBindInfoPage.cs index 7d76944..c268179 100644 --- a/HDL_ON/UI/UI2/4-PersonalCenter/AccountBindInfo/AccountBindInfoPage.cs +++ b/HDL_ON/UI/UI2/4-PersonalCenter/AccountBindInfo/AccountBindInfoPage.cs @@ -4,6 +4,9 @@ namespace HDL_ON.UI { + /// <summary> + /// 宸茬粦瀹氭墜鏈烘垨鑰呴偖绠辩殑椤甸潰 + /// </summary> public partial class AccountBindInfoPage : FrameLayout { FrameLayout bodyView; @@ -50,7 +53,7 @@ TextColor = CSS_Color.FirstLevelTitleColor, TextSize = CSS_FontSize.SubheadingFontSize, TextAlignment = TextAlignment.CenterLeft, - TextID = titleId == 1 ? StringId.CurrentEmail : StringId.CurPhone, + TextID = optionType == 1 ? StringId.CurrentEmail : StringId.CurPhone, }; rowView.AddChidren(btnTitle); @@ -60,7 +63,7 @@ TextColor = CSS_Color.PromptingColor1, TextSize = CSS_FontSize.TextFontSize, TextAlignment = TextAlignment.CenterRight, - Text = titleId == 1 ? MainPage.LoginUser.userEmailInfo : MainPage.LoginUser.userMobileInfo, + Text = optionType == 1 ? MainPage.LoginUser.userEmailInfo : MainPage.LoginUser.userMobileInfo, }; rowView.AddChidren(btnContent); @@ -113,6 +116,7 @@ { EventHandler<MouseEventArgs> eventHandler = (sender, e) => { var cbe = new ChangeBindAccountPage(); + cbe.isUnbind = false; MainPage.BasePageView.AddChidren(cbe); if (optionType == 1) { @@ -134,6 +138,7 @@ { EventHandler<MouseEventArgs> eventHandler = (sender, e) => { var cbe = new ChangeBindAccountPage(); + cbe.isUnbind = true;//鏄惁涓鸿В缁戞爣璁� MainPage.BasePageView.AddChidren(cbe); if (optionType == 1) { -- Gitblit v1.8.0