From 611786df5108dca0bdcff03834cc285cba4b8e61 Mon Sep 17 00:00:00 2001 From: 陈嘉乐 <cjl@hdlchina.com.cn> Date: 星期二, 13 十月 2020 16:48:43 +0800 Subject: [PATCH] 2020-10-13-1 --- HDL_ON/UI/UI2/4-PersonalCenter/ResidentialManage/RoomsManagementPage.cs | 15 ++++++++------- 1 files changed, 8 insertions(+), 7 deletions(-) diff --git a/HDL_ON/UI/UI2/4-PersonalCenter/ResidentialManage/RoomsManagementPage.cs b/HDL_ON/UI/UI2/4-PersonalCenter/ResidentialManage/RoomsManagementPage.cs index f9a05fd..4009221 100644 --- a/HDL_ON/UI/UI2/4-PersonalCenter/ResidentialManage/RoomsManagementPage.cs +++ b/HDL_ON/UI/UI2/4-PersonalCenter/ResidentialManage/RoomsManagementPage.cs @@ -28,7 +28,8 @@ { bodyView.BackgroundColor = CSS_Color.BackgroundColor; LoadEvent_SkipAddRoomPage(); - new PublicAssmebly().LoadTopView(bodyView, Language.StringByID(StringId.RoomsManagement), "rooms", skipAddRoomAction); + new TopViewDiv(bodyView, Language.StringByID(StringId.RoomsManagement)).LoadTopView("rooms",skipAddRoomAction); + //new PublicAssmebly().LoadTopView(bodyView, Language.StringByID(StringId.RoomsManagement), "rooms", skipAddRoomAction); roomsListView = new VerticalScrolViewLayout() { @@ -61,15 +62,15 @@ Tag = room.name + "row", Width = Application.GetRealWidth(343), Height = Application.GetRealHeight(92), - Radius = (uint)Application.GetRealWidth(12), }; roomsListView.AddChidren(roomRow); - var btnBg = new Button() + var btnBg = new ImageView() { - Y = Application.GetRealHeight(0-(350 - 92) / 2), - Height = Application.GetRealHeight(350), - UnSelectedImagePath = room.backgroundImage, + Y = Application.GetRealHeight(0-(192 - 92) / 2), + Height = Application.GetRealHeight(192), + ImagePath = room.backgroundImage, + Radius = (uint)Application.GetRealWidth(12), }; roomRow.AddChidren(btnBg); @@ -93,7 +94,7 @@ roomRow.AddChidren(btnRoomName); btnShadow.MouseUpEventHandler += (sender, e) => { - LoadEvent_SkipEditRoomPage(room); + LoadEvent_SkipEditRoomPage(room,btnRoomName,btnBg); }; } -- Gitblit v1.8.0