wxr
2023-08-04 20f70e3446df19bf5d0faaae9f7bd58fd0fc4bcc
Crabtree/SmartHome/UI/SimpleControl/Phone/User/UserMiddle.cs
@@ -19,11 +19,11 @@
        public static FrameLayout UserPageView = new FrameLayout ();
        public static Button LinkStatusTip = new Button () {
            Height = Application.GetRealHeight (36),
            Width = Application.GetRealWidth (640),
            BackgroundColor = SkinStyle.Current.LinkStatusTipColor
        };
        //public static Button LinkStatusTip = new Button () {
        //    Height = Application.GetRealHeight (36),
        //    Width = Application.GetRealWidth (640),
        //    BackgroundColor = SkinStyle.Current.LinkStatusTipColor
        //};
        public static PageLayout FavoritePageView = new PageLayout () {
            IsShowPoint = false,
@@ -70,7 +70,7 @@
            Width = Application.GetRealWidth (640),
            Height = Application.GetRealHeight (1136 - 126 - 90 - 90),
            BackgroundColor = SkinStyle.Current.ViewColor,
            ScrollEnabled = false
            ScrollEnabled = true
        };
        public static Button btnVersion = new Button () {
            Y = Application.GetRealHeight (1136 - 90 - 90),
@@ -323,7 +323,7 @@
            //IO.FileUtils.SaveEquipmentMessage (ud3, "3");
#endif
            UserHomePage.FrameLayoutMain.AddChidren (UserPageView);
            UserHomePage.FrameLayoutMain.AddChidren (LinkStatusTip);
            //UserHomePage.FrameLayoutMain.AddChidren (LinkStatusTip);
            UserPageView.AddChidren (FavoritePageView);
            FavoritePageView.AddChidren (FavoriteBodyView);
@@ -347,6 +347,7 @@
                SelectedBottomButton (btnFavorite);
                curPageView = 0;
                SharedMethod.SharedMethod.CurPageLayout = FavoritePageView;
                MainPage.readDevciesStatus = true;
            };
            btnDevice.MouseUpEventHandler += (sender, e) => {
@@ -359,6 +360,7 @@
                    UserDeviceView.DeviceMode ();
                    SharedMethod.SharedMethod.CurPageLayout = DevicePageView;
                    curPageView = 1;
                    MainPage.readDevciesStatus = true;
                } catch { } finally {
                }
            };
@@ -370,6 +372,7 @@
                SelectedBottomButton (btnRoom);
                curPageView = 2;
                SharedMethod.SharedMethod.CurPageLayout = RoomPageView;
                MainPage.readDevciesStatus = false;
            };
            btnSetting.MouseUpEventHandler += (sender, e) => {
@@ -383,6 +386,7 @@
                SettingPageView.PageIndex = 0;
                curPageView = 3;
                SharedMethod.SharedMethod.CurPageLayout = SettingPageView;
                MainPage.readDevciesStatus = false;
            };
            FavoritePageView.PageChange += (sender, e) => {
                if (e < FavoritePageView.ChildrenCount - 1) {