wxr
2020-09-25 6d3ba9484472d090532434e53667c096652149ce
HDL_ON/UI/UI2/4-PersonalCenter/PersonalCenterPage.cs
@@ -132,6 +132,7 @@
        /// 区域添加功能小区域文本
        /// </summary>
        Button btnResidenceAddFunctionText;
        /// <summary>
        /// 软件设置区域
        /// </summary>
@@ -253,21 +254,21 @@
            contentView.RemoveAll();
            #region 住宅信息区域
            if (!DB_ResidenceData.residenceData.residecenInfo.IsOthreShare)
            {
                residenceInfoView = new FrameLayout()
                {
                    Gravity = Gravity.CenterHorizontal,
                    Width = Application.GetRealWidth(343),
                    Height = Application.GetRealHeight(213),
                    BackgroundColor = CSS_Color.MainBackgroundColor,
                    Radius = (uint)Application.GetRealHeight(12),
                    BorderColor = 0x00FFFFFF,
                    BorderWidth = 0,
                };
                contentView.AddChidren(residenceInfoView);
            }
            else
            //if (!DB_ResidenceData.residenceData.residecenInfo.IsOthreShare)
            //{
            //    residenceInfoView = new FrameLayout()
            //    {
            //        Gravity = Gravity.CenterHorizontal,
            //        Width = Application.GetRealWidth(343),
            //        Height = Application.GetRealHeight(213),
            //        BackgroundColor = CSS_Color.MainBackgroundColor,
            //        Radius = (uint)Application.GetRealHeight(12),
            //        BorderColor = 0x00FFFFFF,
            //        BorderWidth = 0,
            //    };
            //    contentView.AddChidren(residenceInfoView);
            //}
            //else
            {
                residenceInfoView = new FrameLayout()
                {
@@ -374,6 +375,8 @@
                };
                residenceManageView.AddChidren(btnResidenceManageText);
                #endregion
#if stage2
                #region ---成员区域
                residenceMemberView = new FrameLayout()
                {
@@ -523,6 +526,7 @@
                };
                residenceAddFunctionView.AddChidren(btnResidenceAddFunctionText);
                #endregion
#endif
            }
            else
            {
@@ -620,8 +624,9 @@
            #endregion
            contentView.ScrollEnabled = false;
#if stage2
            contentView.AddChidren(new Button() { Height = Application.GetRealHeight(8) });
            #region 软件设置区域
            softSettingView = new FrameLayout()
            {
@@ -709,7 +714,7 @@
            };
            softSettingView.AddChidren(btnGeneralSettingsRight);
            #endregion
#endif
            contentView.AddChidren(new Button() { Height = Application.GetRealHeight(8) });
            #region 获取支持
            supportView = new FrameLayout()
@@ -760,7 +765,7 @@
            var btnSupportViewLine = new Button()
            {
                X = Application.GetRealWidth(48),
                Y = btnNightViewModeText.Bottom,
                Y = btnSupportText.Bottom,
                Height = Application.GetRealHeight(1),
                BackgroundColor = CSS_Color.DividingLineColor
            };
@@ -779,8 +784,8 @@
            btnAboutOnText = new Button()
            {
                X = Application.GetRealWidth(48),
                Y = btnSoftSettingViewLine.Bottom,
                Width = Application.GetRealWidth(270),
                Y = btnSupportViewLine.Bottom,
                Width = Application.GetRealWidth(370),
                Height = Application.GetRealWidth(44),
                TextID = StringId.AboutOn,
                TextColor = CSS_Color.FirstLevelTitleColor,