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 |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/HDL_ON/UI/UI2/4-PersonalCenter/ResidentialManage/RoomsManagementPage.cs b/HDL_ON/UI/UI2/4-PersonalCenter/ResidentialManage/RoomsManagementPage.cs
index 21e861e..4009221 100644
--- a/HDL_ON/UI/UI2/4-PersonalCenter/ResidentialManage/RoomsManagementPage.cs
+++ b/HDL_ON/UI/UI2/4-PersonalCenter/ResidentialManage/RoomsManagementPage.cs
@@ -62,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);
 
@@ -94,7 +94,7 @@
             roomRow.AddChidren(btnRoomName);
 
             btnShadow.MouseUpEventHandler += (sender, e) => {
-                LoadEvent_SkipEditRoomPage(room,btnRoomName);
+                LoadEvent_SkipEditRoomPage(room,btnRoomName,btnBg);
             };
         }
 

--
Gitblit v1.8.0