From 63a1e0dd7fcda5948c26490d5d7e4c84d6dbf99f Mon Sep 17 00:00:00 2001
From: wei <kaede@kaededeMacBook-Air.local>
Date: 星期二, 16 三月 2021 17:06:19 +0800
Subject: [PATCH] 4

---
 HDL_ON/UI/UI2/4-PersonalCenter/PersonalCenterPage.cs |   18 +++++++++++-------
 1 files changed, 11 insertions(+), 7 deletions(-)

diff --git a/HDL_ON/UI/UI2/4-PersonalCenter/PersonalCenterPage.cs b/HDL_ON/UI/UI2/4-PersonalCenter/PersonalCenterPage.cs
index 7a6332d..c73aa4f 100644
--- a/HDL_ON/UI/UI2/4-PersonalCenter/PersonalCenterPage.cs
+++ b/HDL_ON/UI/UI2/4-PersonalCenter/PersonalCenterPage.cs
@@ -244,7 +244,6 @@
         {
             contentView.RemoveAll();
 
-            #region F3闃舵
             #region 浣忓畢淇℃伅鍖哄煙
             //if (!DB_ResidenceData.Instance.CurrentRegion.IsOthreShare)
             //{
@@ -261,7 +260,6 @@
             //    contentView.AddChidren(residenceInfoView);
             //}
             //else
-            #endregion
             {
                 residenceInfoView = new FrameLayout()
                 {
@@ -310,6 +308,12 @@
                 BackgroundImagePath = "PersonalCenter/UserTypebg.png",
             };
             residenceInfoView.AddChidren(userTypeView);
+            if (Language.CurrentLanguage != "Chinese" && !DB_ResidenceData.Instance.CurrentRegion.IsOthreShare)
+            {
+                userTypeView.X = Application.GetRealWidth(200);
+                userTypeView.Width = Application.GetRealWidth(180);
+                userTypeView.BackgroundImagePath = "PersonalCenter/UserTypebg2.png";
+            }
 
             btnUserTypeIcon = new Button()
             {
@@ -321,11 +325,10 @@
                                     == false ? "PersonalCenter/AdminTypeIcon.png" : "PersonalCenter/MemberTypeIcon.png",
             };
             userTypeView.AddChidren(btnUserTypeIcon);
-
             btnUserTypeName = new Button()
             {
                 X = Application.GetRealWidth(8) + btnUserTypeIcon.Right,
-                Width = Application.GetRealWidth(80),
+                Width = Application.GetRealWidth(270),
                 Height = Application.GetRealHeight(17 * 3),
                 TextAlignment = TextAlignment.CenterLeft,
                 TextColor = CSS_Color.MainBackgroundColor,
@@ -336,7 +339,7 @@
             userTypeView.AddChidren(btnUserTypeName);
             #endregion
             #region 浣忓畢绠$悊
-          
+
             if (!DB_ResidenceData.Instance.CurrentRegion.IsOthreShare)
             {
                 #region ---浣忓畢绠$悊鍖哄煙
@@ -495,8 +498,9 @@
                 #region ---娣诲姞鍔熻兘鍖哄煙
                 residenceAddFunctionView = new FrameLayout()
                 {
-                    X = residenceAuxiliaryFunctionView.Right,
-                    Y = residenceManageView.Bottom,
+                    X = residenceMemberView.Right,
+                    //X = Application.GetRealWidth(28 - 24),
+                    Y = Application.GetRealHeight(68),
                     Width = Application.GetRealWidth(64 + 48),
                     Height = Application.GetRealWidth(64),
                 };

--
Gitblit v1.8.0