From cc0d80c7d86c6d0167269b3408c4b30c24ce84e9 Mon Sep 17 00:00:00 2001 From: 黄学彪 <hxb@hdlchina.com.cn> Date: 星期一, 23 三月 2020 16:55:37 +0800 Subject: [PATCH] ??????? --- ZigbeeApp/Shared/Phone/UserCenter/Guide/GuideCommonForm.cs | 14 +++++++++++--- 1 files changed, 11 insertions(+), 3 deletions(-) diff --git a/ZigbeeApp/Shared/Phone/UserCenter/Guide/GuideCommonForm.cs b/ZigbeeApp/Shared/Phone/UserCenter/Guide/GuideCommonForm.cs index fa5e841..12bdbff 100755 --- a/ZigbeeApp/Shared/Phone/UserCenter/Guide/GuideCommonForm.cs +++ b/ZigbeeApp/Shared/Phone/UserCenter/Guide/GuideCommonForm.cs @@ -23,6 +23,10 @@ /// 鍔熻兘 /// </summary> public NormalViewControl btnFunction = null; + /// <summary> + /// 浣忓畢鍚嶇О + /// </summary> + public NormalViewControl btnHouse = null; #endregion @@ -33,6 +37,8 @@ /// </summary> public virtual void ShowFrom() { + Phone.MainPage.ListRoomViewFrom.Instance.CanClick = false; + UserView.UserPage.Instance.AddChidren(this); this.BackgroundColor = Common.ZigbeeColor.Current.GXCGrayBackgroundColor; @@ -49,7 +55,7 @@ btnMsg.UnSelectedImagePath = "Item/Message.png"; this.AddChidren(btnMsg); //浣忓畢鍚嶅瓧 - var btnHouse = new NormalViewControl(300, 95, true); + this.btnHouse = new NormalViewControl(300, 95, true); btnHouse.TextSize = 24; btnHouse.X = ControlCommonResourse.XXLeft; btnHouse.Y = Application.GetRealHeight(161); @@ -62,9 +68,9 @@ roomPageView.Height = Application.GetRealHeight(478); this.AddChidren(roomPageView); //绐佸嚭杈硅窛 - roomPageView.TCBJ = Application.GetRealWidth(181); + roomPageView.TCBJ = Application.GetRealWidth(124); //涓や釜page涔嬮棿鐨勯棿璺� - roomPageView.JMBJ = Application.GetRealWidth(0); + roomPageView.JMBJ = Application.GetRealWidth(58); //瀹㈠巺 var room1 = new Common.Room(); @@ -88,6 +94,8 @@ roomPageView.AddChidren(roomView3); roomView3.Init(room3); + roomPageView.PageIndex = 1; + //鍦烘櫙鍜屽姛鑳界殑鎺т欢 this.contrSwitch = new FrameLayout(); contrSwitch.Y = roomPageView.Bottom + Application.GetRealHeight(52); -- Gitblit v1.8.0