From 652243206427f35a256400a149a1734085824cb9 Mon Sep 17 00:00:00 2001
From: 陈嘉乐 <cjl@hdlchina.com.cn>
Date: 星期三, 02 九月 2020 17:35:03 +0800
Subject: [PATCH] 2020-09-02-4

---
 ZigbeeApp/Shared/Phone/Device/Logic/MemberList.cs |   46 +++++++++++++++++++++++-----------------------
 1 files changed, 23 insertions(+), 23 deletions(-)

diff --git a/ZigbeeApp/Shared/Phone/Device/Logic/MemberList.cs b/ZigbeeApp/Shared/Phone/Device/Logic/MemberList.cs
old mode 100644
new mode 100755
index 0eeee0b..b5069a6
--- a/ZigbeeApp/Shared/Phone/Device/Logic/MemberList.cs
+++ b/ZigbeeApp/Shared/Phone/Device/Logic/MemberList.cs
@@ -33,7 +33,7 @@
             middle = new VerticalRefreshLayout
             {
                 Y = view.topRowLayout.Bottom,
-                Height = Application.GetRealHeight(1920 - 184),
+                Height = Application.GetRealHeight(Method.H - 184),
                 BackgroundColor = ZigbeeColor.Current.LogicMiddleBackgroundColor,
             };
             this.AddChidren(middle);
@@ -141,25 +141,10 @@
         /// </summary>
         /// <param name="user"></param>
         public void User(Send.MembershipIfon user)
-        {
-          
-            //鍏冪礌瓒呭嚭9涓氨鐢ㄤ笂涓嬫粦鍔ㄦ帶浠�;
-            VerticalScrolViewLayout vV = null;
+        {
+
+
             int count = user.UserIdMode.Count;
-            if (count > 9)
-            {
-                ///鍏冪礌瓒呭嚭9涓�;
-                count = 6;
-                //鍏冪礌瓒呭嚭9涓氨鐢ㄤ笂涓嬫粦鍔ㄦ帶浠�;
-                vV = new VerticalScrolViewLayout
-                {
-                    Y = Application.GetRealHeight(140 + 20),
-                    Height = Application.GetRealHeight(160 * count),
-                };
-                //娓呴櫎涔嬪墠鐨勬帶浠�;
-                vV.RemoveAll();
-            }
-
             #region  -------鍙栨秷   瀹屾垚
             var flMain = new FrameLayout { BackgroundColor = ZigbeeColor.Current.LogicTranslucentColor };
             this.AddChidren(flMain);
@@ -172,8 +157,24 @@
                 flMain.RemoveFromParent();
             };
             flMain.MouseUpEventHandler += clickcancel;
-            completeView.Btncancel.MouseUpEventHandler += clickcancel;
-
+            completeView.Btncancel.MouseUpEventHandler += clickcancel;
+            //鍏冪礌瓒呭嚭9涓氨鐢ㄤ笂涓嬫粦鍔ㄦ帶浠�;
+            VerticalScrolViewLayout vV = null;
+            if (count > 9)
+            {
+                ///鍏冪礌瓒呭嚭9涓�;
+                count = 6;
+                //鍏冪礌瓒呭嚭9涓氨鐢ㄤ笂涓嬫粦鍔ㄦ帶浠�;
+                vV = new VerticalScrolViewLayout
+                {
+                    Y = Application.GetRealHeight(140 + 20),
+                    Height = Application.GetRealHeight(160 * count),
+                };
+                //鍏冪礌瓒呭嚭9涓氨鐢ㄤ笂涓嬫粦鍔ㄦ帶浠�;
+                completeView.Show(count).AddChidren(vV);
+                //娓呴櫎涔嬪墠鐨勬帶浠�;
+                vV.RemoveAll();
+            }
             #endregion
             ///瀹氫袱涓彉閲忚褰曚箣鍓嶇殑鍙�硷紱
             string userId = "";
@@ -187,8 +188,7 @@
                 mFunView lockView = new mFunView();
                 if (user.UserIdMode.Count > 9)
                 {
-                    //鍏冪礌瓒呭嚭9涓氨鐢ㄤ笂涓嬫粦鍔ㄦ帶浠�;
-                    completeView.Show(count).AddChidren(vV);
+                  
                     vV.AddChidren(lockView.Show());
                 }
                 else

--
Gitblit v1.8.0