From cae4d4b5b508a666fbd0dff3c2a981fdff841bc8 Mon Sep 17 00:00:00 2001 From: wjc <1243177876@qq.com> Date: 星期四, 30 三月 2023 13:10:33 +0800 Subject: [PATCH] Merge branch 'Dev-Branch' into wjc --- HDL_ON/UI/UI2/4-PersonalCenter/MemberManagement/MemberPermissionPage.cs | 53 +++++++++++++++++++++++++++++++++++------------------ 1 files changed, 35 insertions(+), 18 deletions(-) diff --git a/HDL_ON/UI/UI2/4-PersonalCenter/MemberManagement/MemberPermissionPage.cs b/HDL_ON/UI/UI2/4-PersonalCenter/MemberManagement/MemberPermissionPage.cs index e7454e3..dcf64c7 100644 --- a/HDL_ON/UI/UI2/4-PersonalCenter/MemberManagement/MemberPermissionPage.cs +++ b/HDL_ON/UI/UI2/4-PersonalCenter/MemberManagement/MemberPermissionPage.cs @@ -63,34 +63,51 @@ }; headPortraitView.AddChidren(btnMemberName); string username = HDLCommon.Current.GetUserName(memberInfo.memberName); - btnMemberName.Text = memberInfo.nickName + "(" + username + ")"; + btnMemberName.Text = memberInfo.nickName; - #region RoomList - roomListView = new VerticalScrolViewLayout() + if (!memberInfo.isVirtualAccount) { - Y = Application.GetRealHeight(138), - Height = Application.GetRealHeight(471), - //BackgroundColor = CSS_Color.MainBackgroundColor, - }; - bodyView.AddChidren(roomListView); - #endregion - + btnMemberName.Text = memberInfo.nickName + "(" + username + ")"; + #region RoomList + roomListView = new VerticalScrolViewLayout() + { + Y = Application.GetRealHeight(138), + Height = Application.GetRealHeight(471), + //BackgroundColor = CSS_Color.MainBackgroundColor, + }; + bodyView.AddChidren(roomListView); + #endregion + } btnDelMember = new Button() { Y = Application.GetRealHeight(617), - //Height = MainPage.Increase ? Application.GetRealHeight(70) : Application.GetRealHeight(50), - Height = Application.GetRealHeight(50), - TextAlignment = TextAlignment.Center, - TextSize = CSS_FontSize.SubheadingFontSize, - TextColor = CSS_Color.WarningColor, + //Height = Application.GetRealHeight(50), + //TextAlignment = TextAlignment.Center, + //TextSize = CSS_FontSize.SubheadingFontSize, + //TextColor = CSS_Color.WarningColor, TextID = StringId.RemoveTheMember, - BackgroundColor = CSS_Color.MainBackgroundColor, + //BackgroundColor = CSS_Color.MainBackgroundColor, + + Gravity = Gravity.CenterHorizontal, + Width = Application.GetRealWidth(220), + Height = Application.GetRealWidth(44), + Radius = (uint)Application.GetRealWidth(22), + BorderWidth = 0, + BorderColor = 0x00000000, + BackgroundColor = 0xFFFF7272, + TextColor = CSS_Color.MainBackgroundColor, + TextSize = CSS_FontSize.SubheadingFontSize, + IsBold = true, + TextAlignment = TextAlignment.Center, + }; bodyView.AddChidren(btnDelMember); LoadEventList(); - - GetShareDataByAccount(); + if (!memberInfo.isVirtualAccount) + { + GetShareDataByAccount(); + } } /// <summary> -- Gitblit v1.8.0