From 223b318d0070d06e7b64192dc93aa8103865d657 Mon Sep 17 00:00:00 2001
From: wei <kaede@kaededeMacBook-Air.local>
Date: 星期二, 16 三月 2021 11:42:57 +0800
Subject: [PATCH] 1.

---
 HDL_ON/UI/UI2/4-PersonalCenter/PersonalCenterPage.cs |   43 ++++++++++++++++++++++++-------------------
 1 files changed, 24 insertions(+), 19 deletions(-)

diff --git a/HDL_ON/UI/UI2/4-PersonalCenter/PersonalCenterPage.cs b/HDL_ON/UI/UI2/4-PersonalCenter/PersonalCenterPage.cs
index 862e5fc..8f7e69d 100644
--- a/HDL_ON/UI/UI2/4-PersonalCenter/PersonalCenterPage.cs
+++ b/HDL_ON/UI/UI2/4-PersonalCenter/PersonalCenterPage.cs
@@ -245,21 +245,21 @@
             contentView.RemoveAll();
 
             #region 浣忓畢淇℃伅鍖哄煙
-            if (!DB_ResidenceData.Instance.CurrentRegion.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.Instance.CurrentRegion.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()
                 {
@@ -337,9 +337,14 @@
                         == false ? StringId.Administrators : StringId.Member
             };
             userTypeView.AddChidren(btnUserTypeName);
+            btnUserTypeIcon.MouseUpEventHandler += (sender, e) =>
+            {
+                var form = new AddThirdPartyDeviceMenuListPage();
+                form.AddForm("Evoyo");
+            };
             #endregion
             #region 浣忓畢绠$悊
-          
+
             if (!DB_ResidenceData.Instance.CurrentRegion.IsOthreShare)
             {
                 #region ---浣忓畢绠$悊鍖哄煙
@@ -498,9 +503,9 @@
                 #region ---娣诲姞鍔熻兘鍖哄煙
                 residenceAddFunctionView = new FrameLayout()
                 {
-                    //X = residenceAuxiliaryFunctionView.Right,
-                    X = Application.GetRealWidth(28 - 24),
-                    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