From 25429f085093d89d543a0b90e30d0d62d1b7dac9 Mon Sep 17 00:00:00 2001
From: hxb <hxb@hdlchina.com.cn>
Date: 星期二, 30 八月 2022 09:37:38 +0800
Subject: [PATCH] 合并了IOS的代码

---
 ZigbeeApp/Shared/Phone/UserCenter/Device/Bind/BindCommonLayout.cs |   95 +++++++++++++++++++++++++++++++++++++++++------
 1 files changed, 83 insertions(+), 12 deletions(-)

diff --git a/ZigbeeApp/Shared/Phone/UserCenter/Device/Bind/BindCommonLayout.cs b/ZigbeeApp/Shared/Phone/UserCenter/Device/Bind/BindCommonLayout.cs
index b25f90f..d3f6244 100755
--- a/ZigbeeApp/Shared/Phone/UserCenter/Device/Bind/BindCommonLayout.cs
+++ b/ZigbeeApp/Shared/Phone/UserCenter/Device/Bind/BindCommonLayout.cs
@@ -7,10 +7,6 @@
 {
     public class BindCommonLayout : FrameLayout
     {
-        public BindCommonLayout()
-        {
-
-        }
         #region 鈼� 鍙橀噺鐢虫槑__________________________
         /// <summary>
         /// 妤煎眰鍥炶皟
@@ -27,14 +23,6 @@
 
         public FrameLayout topFrameLayout = new FrameLayout { Height = Application.GetRealHeight(184), BackgroundColor = ZigbeeColor.Current.XMTopFrameLayout };
         public FrameLayout midFrameLayout = new FrameLayout { Height = Application.GetRealHeight(1925 - 184), BackgroundColor = ZigbeeColor.Current.XMMidFrameLayout };
-
-        public FrameLayout bottomRadiusFrameLayout = new FrameLayout()
-        {
-            Height = Application.GetRealHeight(100),
-            Y = Application.GetRealHeight(930),
-            Radius = 17,
-            BackgroundColor = ZigbeeColor.Current.XMWhite,
-        };
 
         public FrameLayout titleFrameLayout = new FrameLayout
         {
@@ -82,6 +70,71 @@
             Height = 1,
             BackgroundColor = Shared.Common.ZigbeeColor.Current.XMTitleLine,
         };
+
+        #region 搴曢儴鏈夊渾瑙掑竷灞�
+        /// 鑳屾櫙闃村奖鐣岄潰
+        /// </summary>
+        public FrameLayout shadowRadiusFrameLayout = new FrameLayout { BackgroundColor = 0x0f000000 };
+        /// <summary>
+        /// 璁剧疆鍦嗚鐨勭晫闈�
+        /// </summary>
+        public FrameLayout bottomRadiusFrameLayout = new FrameLayout()
+        {
+            Height = Application.GetRealHeight(806),
+            Y = Application.GetRealHeight(930),
+            BackgroundColor = ZigbeeColor.Current.XMWhite,
+        };
+        /// <summary>
+        /// 搴曢儴鍦嗚涓殑鍙栨秷鎸夐挳
+        /// </summary>
+        public Button btnCancel = new Button
+        {
+            X = Application.GetRealWidth(81),
+            Y = Application.GetRealHeight(40),
+            Height = Application.GetRealHeight(58),
+            Width = Application.GetRealWidth(101),
+            Text = Language.StringByID(R.MyInternationalizationString.Cancel),
+            TextColor = Shared.Common.ZigbeeColor.Current.XMGray3,
+            TextSize = 14,
+        };
+        /// <summary>
+        /// 搴曢儴鍦嗚涓殑鏍囬鏍�
+        /// </summary>
+        public Button btnBottomTitle = new Button
+        {
+            X = Application.GetRealWidth(446 - 50),
+            Y = Application.GetRealHeight(35),
+            Height = Application.GetRealHeight(63),
+            Width = Application.GetRealWidth(284),
+            Text = Language.StringByID(R.MyInternationalizationString.MatchPerson),
+            TextColor = Shared.Common.ZigbeeColor.Current.XMBlack,
+            TextSize = 16,
+        };
+        /// <summary>
+        /// 搴曢儴鍦嗚涓殑纭鎸夐挳
+        /// </summary>
+        public Button btnFinish = new Button
+        {
+            X = Application.GetRealWidth(919),
+            Y = Application.GetRealHeight(40),
+            Height = Application.GetRealHeight(58),
+            Width = Application.GetRealWidth(101),
+            Text = Language.StringByID(R.MyInternationalizationString.Complete),
+            TextColor = Shared.Common.ZigbeeColor.Current.XMOrange,
+            TextSize = 14,
+        };
+        /// <summary>
+        /// 搴曢儴鍦嗚涓殑鏍囬鏍忎笅鐨勭嚎鏉�
+        /// </summary>
+        public Button line = new Button()
+        {
+            Y = Application.GetRealHeight(138),
+            Height = 1,
+            BackgroundColor = Shared.Common.ZigbeeColor.Current.XMRowLine,
+        };
+
+        #endregion
+
         #endregion
 
         /// <summary>
@@ -146,6 +199,20 @@
                 BackgroundColor = ZigbeeColor.Current.XMWhite,
             };
             this.midFrameLayout.AddChidren(bottomFrameLayout1);
+        }
+
+        /// <summary>
+        /// 闂ㄩ攣搴曢儴甯﹀渾瑙掑竷灞�
+        /// </summary>
+        /// <param name="frameLayout"></param>
+        public void BottomRadiusFrameLayout(FrameLayout frameLayout)
+        {
+            this.shadowRadiusFrameLayout.AddChidren(this.bottomRadiusFrameLayout);
+            this.bottomRadiusFrameLayout.SetCornerWithSameRadius(Application.GetRealHeight(58), HDLUtils.RectCornerTopLeft | HDLUtils.RectCornerTopRight);
+            this.bottomRadiusFrameLayout.AddChidren(btnCancel);
+            this.bottomRadiusFrameLayout.AddChidren(btnBottomTitle);
+            this.bottomRadiusFrameLayout.AddChidren(btnFinish);
+            this.bottomRadiusFrameLayout.AddChidren(line);
         }
 
         /// <summary>
@@ -539,6 +606,10 @@
             sList.Add("5007_1:[0]鑾峰彇鎸夐敭缁戝畾琛ㄦ椂,缃戝叧娌″洖,缁撴灉鏄痆0]鑾峰彇澶氬姛鑳介潰鏉跨殑鐩爣涓暟涓嶅叏銆愬懡浠�5007銆�");
             sList.Add("5007_2:[0]鑾峰彇鎸夐敭缁戝畾鐨勬俯搴︿紶鎰熷櫒澶辫触銆愬懡浠�5007銆�");
             sList.Add("5007_3:[0]鑾峰彇鎸夐敭缁戝畾鐨勬箍搴﹀害浼犳劅鍣ㄥけ璐ャ�愬懡浠�5007銆�");
+            sList.Add("5020:[0]涓�瀵逛竴缁戝畾璁惧鏃�,缃戝叧娌″洖銆愬懡浠�5020銆�");
+            sList.Add("5020_1:[0]涓�瀵逛竴缁戝畾锛岃澶囨坊鍔犵粦瀹氱洰鏍囨椂,[0]缃戝叧缁戝畾鐩爣澶辫触锛岀粦瀹氳澶囦笉瀛樺湪銆愬懡浠�5020銆�");
+            sList.Add("5020_2:[0]涓�瀵逛竴缁戝畾锛岃澶囨坊鍔犵粦瀹氱洰鏍囨椂,缃戝叧缁戝畾鐩爣澶辫触锛孾0]缁戝畾鏈煡锛屽彲鑳芥槸绛夊緟鑺傜偣璁惧鍥炲銆愬懡浠�5020銆�");
+
             return sList;
         }
     }

--
Gitblit v1.8.0