黄学彪
2020-03-23 cc0d80c7d86c6d0167269b3408c4b30c24ce84e9
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);