黄学彪
2020-11-19 9ef48d7b2da7c408b53f73be0f6eef3cbac1c84a
ZigbeeApp/Shared/Phone/UserCenter/UserMain/UserMainForm.cs
@@ -13,7 +13,7 @@
        /// <summary>
        /// 主菜单背景框
        /// </summary>
        private FrameLayout frameMainMenuBack = null;
        private NormalFrameLayout frameMainMenuBack = null;
        /// <summary>
        /// 其他菜单的容器控件
        /// </summary>
@@ -50,10 +50,14 @@
        /// </summary>
        public void ShowForm()
        {
            this.FormID = "UserMainForm";
            //特殊处理:恢复可关闭进度条,别问为什么,我也不知道为什么,以防万一而已
            ProgressBar.SetCloseBarFlag(false);
            //初始化框架
            this.InitForm();
            //初始化头部控件
            this.InitTopFrameLayout();
            //初始化中部控件
            this.InitBodyFrameLayout();
            //移除返回键
            base.RemoveBackButton();
@@ -75,7 +79,7 @@
            this.ClearBodyFrame();
            //个人中心
            var btnTitle = new NormalViewControl(350, 100, true);
            var btnTitle = new NormalViewControl(450, 100, true);
            btnTitle.X = ControlCommonResourse.XXLeft;
            btnTitle.Y = Application.GetRealHeight(112);
            btnTitle.TextColor = UserCenterColor.Current.White;
@@ -214,7 +218,7 @@
            else
            {
                //背景框
                frameMainMenuBack = new FrameLayout();
                frameMainMenuBack = new NormalFrameLayout();
                frameMainMenuBack.Y = Application.GetRealHeight(288);
                frameMainMenuBack.Gravity = Gravity.CenterHorizontal;
                frameMainMenuBack.Height = Application.GetRealHeight(371);
@@ -310,7 +314,7 @@
                frame.ButtonClickEvent += (sender, e) =>
                {
                    //住宅接口不需要特殊的登陆Token
                    var form = new Residence.ResidenceListForm();
                    var form = new Residence.ResidenceListMainForm();
                    form.AddForm();
                };
            }
@@ -468,11 +472,6 @@
            btnAbountView.X -= ControlCommonResourse.XXLeft / 2;
            rowAbount.ButtonClickEvent += (sender, e) =>
            {
                if (Common.Config.Instance.Home.IsVirtually == true)
                {
                    //如果住宅为虚拟住宅,则此功能无效
                    return;
                }
                var form = new Abount.AbountForm();
                form.AddForm();
            };