From 388ece21a0c608c2571775137a89ad32ca0cedd8 Mon Sep 17 00:00:00 2001 From: 陈嘉乐 <cjl@hdlchina.com.cn> Date: 星期一, 11 一月 2021 14:35:23 +0800 Subject: [PATCH] 2021-1-11-2 --- HDL_ON/UI/UI2/2-Classification/ClassificationPage.cs | 12 +++++++++--- 1 files changed, 9 insertions(+), 3 deletions(-) diff --git a/HDL_ON/UI/UI2/2-Classification/ClassificationPage.cs b/HDL_ON/UI/UI2/2-Classification/ClassificationPage.cs index bb1153b..27685d0 100644 --- a/HDL_ON/UI/UI2/2-Classification/ClassificationPage.cs +++ b/HDL_ON/UI/UI2/2-Classification/ClassificationPage.cs @@ -373,7 +373,14 @@ roomView.RemoveFromParent(); }; - var view = new RoomPage(room, ReloadRoomName, deleteAction); + //鎴块棿鑳屾櫙鍥句慨鏀逛簨浠跺洖璋� + Action modifyImageAction = () => + { + //roomViewbg.ImagePath = room.backgroundImage; + ImageUtlis.Current.LoadLocalOrNetworkImages(room.backgroundImage, roomViewbg); + }; + + var view = new RoomPage(room, ReloadRoomName, deleteAction, modifyImageAction); MainPage.BasePageView.AddChidren(view); view.LoadPage(); MainPage.BasePageView.PageIndex = MainPage.BasePageView.ChildrenCount - 1; @@ -521,7 +528,6 @@ Tag = item + "_View", Y = index % 2 == 1 ? lastY2 : lastY1 }; - MainPage.Log($"Load FunctionView Tag = {item}"); //楂樺害绋嶉珮鐨剉iew if (specialList.Contains(index)) { @@ -921,7 +927,7 @@ Text = floor.roomName, TextSize = CSS_FontSize.SubheadingFontSize, IsSelected = floor.roomId == DB_ResidenceData.Instance.ClassificationChooseFloor.roomId, - IsMoreLines = true, + //IsMoreLines = true, }; contentView.AddChidren(btnHomeName); -- Gitblit v1.8.0