From efad979b6fae76fb37a4de7e94e6bac0a85cb72c Mon Sep 17 00:00:00 2001
From: JLChen <551775569@qq.com>
Date: 星期二, 30 十一月 2021 13:14:28 +0800
Subject: [PATCH] 2021-11-30 1.修复乐橙Android,没调用拒接接口问题。

---
 HDL_ON/UI/UI2/4-PersonalCenter/PersonalDataPage.cs |   62 ++++++++++++++++++++++++++++++
 1 files changed, 61 insertions(+), 1 deletions(-)

diff --git a/HDL_ON/UI/UI2/4-PersonalCenter/PersonalDataPage.cs b/HDL_ON/UI/UI2/4-PersonalCenter/PersonalDataPage.cs
index 36b8206..e7f2bb5 100644
--- a/HDL_ON/UI/UI2/4-PersonalCenter/PersonalDataPage.cs
+++ b/HDL_ON/UI/UI2/4-PersonalCenter/PersonalDataPage.cs
@@ -1,4 +1,4 @@
-锘縰sing System;
+锘�    using System;
 using HDL_ON.UI;
 using HDL_ON.UI.CSS;
 using Shared;
@@ -161,6 +161,19 @@
         Button btnAddResidenceScan;
         #endregion
 
+
+        #region 涓汉閫夐」-浜鸿劯閫氳绠$悊
+        /// <summary>
+        /// 涓汉閫夐」-浜鸿劯閫氳绠$悊琛�
+        /// </summary>
+        FrameLayout faceManagementView;
+        /// <summary>
+        /// 浜鸿劯閫氳绠$悊鏂囨湰
+        /// </summary>
+        Button btnFaceManagementText;
+        #endregion
+
+
         #endregion
 
         #endregion
@@ -251,6 +264,12 @@
                 ScrollEnabled = false,
             };
             bodyScrolView.AddChidren(optionListView);
+
+            if(Entity.DB_ResidenceData.Instance.SupportFacePass)
+            {
+                optionListView.Height = Application.GetRealHeight(51 * (6 + 1));
+            }
+
             #region 涓汉閫夐」-鍚嶅瓧鍖哄煙
             /// <summary>
             /// 涓汉閫夐」-鍚嶅瓧鍖哄煙
@@ -547,8 +566,49 @@
                 });
             };
 
+            optionListView.AddChidren(new Button() { X = Application.GetRealWidth(16), Height = Application.GetRealHeight(1), Width = Application.GetRealWidth(343), BackgroundColor = CSS_Color.DividingLineColor });
             #endregion
 
+            if (Entity.DB_ResidenceData.Instance.SupportFacePass)
+            {
+                #region 涓汉閫夐」-浜鸿劯閫氳绠$悊
+                faceManagementView = new FrameLayout()
+                {
+                    Height = Application.GetRealHeight(50),
+                };
+                optionListView.AddChidren(faceManagementView);
+
+                var btnFaceManagementRight = new Button()
+                {
+                    X = Application.GetRealWidth(339),
+                    Gravity = Gravity.CenterVertical,
+                    Width = Application.GetMinRealAverage(16),
+                    Height = Application.GetMinRealAverage(16),
+                    UnSelectedImagePath = "Public/Right.png",
+                };
+                faceManagementView.AddChidren(btnFaceManagementRight);
+
+                btnFaceManagementText = new Button()
+                {
+                    X = Application.GetRealWidth(16),
+                    TextAlignment = TextAlignment.CenterLeft,
+                    TextColor = CSS_Color.FirstLevelTitleColor,
+                    TextSize = CSS_FontSize.SubheadingFontSize,
+                    TextID = StringId.FacePassageSetting,
+                };
+                faceManagementView.AddChidren(btnFaceManagementText);
+
+                btnFaceManagementText.MouseUpEventHandler = (sender, e) =>
+                {
+                    var page = new FacePassagePage();
+                    MainPage.BasePageView.AddChidren(page);
+                    page.LoadPage();
+                    MainPage.BasePageView.PageIndex = MainPage.BasePageView.ChildrenCount - 1;
+                };
+
+                #endregion
+
+            }
 
             #endregion
 

--
Gitblit v1.8.0