wxr
2024-04-24 42b78147ee4d1f9a211851256b4623afe6a102cd
HDL_ON/UI/UI2/2-Classification/ClassificationPage.cs
@@ -361,6 +361,14 @@
            //2020-12-03 修改图片加载方法
            ImageUtlis.Current.LoadLocalOrNetworkImages(room.backgroundImage, roomViewbg);
            var roomViewbgColor = new Button()
            {
                Height = Application.GetRealWidth(192),
                Radius = (uint)Application.GetRealWidth(12),
                BackgroundColor = 0x19333333,
            };
            roomView.AddChidren(roomViewbgColor);
            var btnFloorAndRoomName = new Button()
            {
                X = Application.GetRealWidth(16),
@@ -370,7 +378,8 @@
                Text = room.floorName + room.roomName,
                TextAlignment = TextAlignment.CenterLeft,
                TextColor = CSS_Color.MainBackgroundColor,
                TextSize = CSS_FontSize.SubheadingFontSize,
                TextSize = CSS_FontSize.EmphasisFontSize_Secondary,
                IsBold = true,
            };
            roomView.AddChidren(btnFloorAndRoomName);
@@ -454,13 +463,6 @@
            //roomView.AddChidren(environmentalView);
            #endregion
            var roomViewbgColor = new Button()
            {
                Height = Application.GetRealWidth(192),
                Radius = (uint)Application.GetRealWidth(12),
                BackgroundColor = 0x19333333,
            };
            roomView.AddChidren(roomViewbgColor);
            var btnAllClose = new Button()
            {
@@ -482,8 +484,7 @@
            //    BackgroundColor = CSS_Color.MainBackgroundColor,
            //};
            //roomView.AddChidren(btn);
            roomViewbgColor.MouseUpEventHandler += (sender, e) =>
            EventHandler <MouseEventArgs> roomRowClick = (sender, e) =>
            {
                Action ReloadRoomName = () =>
                {
@@ -508,6 +509,10 @@
                view.LoadPage();
                MainPage.BasePageView.PageIndex = MainPage.BasePageView.ChildrenCount - 1;
            };
            roomViewbgColor.MouseUpEventHandler = roomRowClick;
            btnFloorAndRoomName.MouseUpEventHandler = roomRowClick;
        }
        /// <summary>
        /// 记载小图房间row