From d60b92c58ac09197642eb6dac9b905f0898dacb8 Mon Sep 17 00:00:00 2001 From: wxr <464027401@qq.com> Date: 星期三, 09 十二月 2020 15:42:13 +0800 Subject: [PATCH] Merge branch 'CJL-NEW' --- HDL_ON/UI/UI2/4-PersonalCenter/RoomListManage/RoomEditFunctionPage.cs | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/HDL_ON/UI/UI2/4-PersonalCenter/RoomListManage/RoomEditFunctionPage.cs b/HDL_ON/UI/UI2/4-PersonalCenter/RoomListManage/RoomEditFunctionPage.cs index b302aaf..edfb09d 100644 --- a/HDL_ON/UI/UI2/4-PersonalCenter/RoomListManage/RoomEditFunctionPage.cs +++ b/HDL_ON/UI/UI2/4-PersonalCenter/RoomListManage/RoomEditFunctionPage.cs @@ -328,7 +328,7 @@ Height = Application.GetRealWidth(28), UnSelectedImagePath = "Public/ChooseIcon.png", SelectedImagePath = "Public/ChooseOnIcon.png", - IsSelected = function.roomIds.Contains(room.uid) + IsSelected = function.roomIds.Contains(room.roomId) }; functionRow.AddChidren(btnChooseIcon); LoadEvent_ChangeRoomFunctionList(functionRow, btnChooseIcon, function); @@ -402,7 +402,7 @@ Height = Application.GetRealWidth(1), BackgroundColor = CSS_Color.DividingLineColor, }); - foreach (var tempRoom in DB_ResidenceData.Rooms) + foreach (var tempRoom in DB_ResidenceData.residenceData.Rooms) { Button btnRoom = new Button() @@ -415,8 +415,8 @@ SelectedTextColor = CSS_Color.MainColor, TextSize = CSS_FontSize.SubheadingFontSize, TextAlignment = TextAlignment.CenterLeft, - IsSelected = showedFunctionRoomId == tempRoom.uid, - Tag = tempRoom.uid, + IsSelected = showedFunctionRoomId == tempRoom.roomId, + Tag = tempRoom.roomId, }; roomListView.AddChidren(btnRoom); LoadEvent_ChangeShowedFunctionList(btnRoom, dialog, tempRoom.roomName); -- Gitblit v1.8.0