From 66a9965c44ecc32a6696abca876ab9d1cd091584 Mon Sep 17 00:00:00 2001 From: gxc <guoxuecheng@guoxuechengdeMacBook-Pro.local> Date: 星期五, 28 二月 2020 15:25:13 +0800 Subject: [PATCH] 2020.2.28 --- ZigbeeApp/Shared/Phone/UserCenter/DoorLock/MemberManagement.cs | 29 ++++++++++++++++++++++++----- 1 files changed, 24 insertions(+), 5 deletions(-) diff --git a/ZigbeeApp/Shared/Phone/UserCenter/DoorLock/MemberManagement.cs b/ZigbeeApp/Shared/Phone/UserCenter/DoorLock/MemberManagement.cs index 01aec14..7016ce3 100755 --- a/ZigbeeApp/Shared/Phone/UserCenter/DoorLock/MemberManagement.cs +++ b/ZigbeeApp/Shared/Phone/UserCenter/DoorLock/MemberManagement.cs @@ -19,6 +19,21 @@ #endregion + void ReadDoorLockUserInfo() + { + System.Threading.Tasks.Task.Run(async () => + { + try + { + var list = await Shared.Phone.UserCenter.DoorLock.DoorLockCommonInfo.GetDoorLockAllAcountUserlist(doorLock); + } + catch { } + finally + { + } + }); + } + /// <summary> /// UI鏄剧ず /// </summary> @@ -39,16 +54,21 @@ public void MidFrameLayoutContent() { - var bodyView = new VerticalScrolViewLayout() + var bodyView = new VerticalRefreshLayout() { }; this.midFrameLayout.AddChidren(bodyView); - + bodyView.BeginHeaderRefreshingAction += () => + { + bodyView.BeginHeaderRefreshing(); + ReadDoorLockUserInfo(); + bodyView.EndHeaderRefreshing(); + }; for (int i = 0; i < 3; i++) { var RowView = new FrameLayout() { - Height = Application.GetRealHeight(161), + Height = Application.GetRealHeight(150), }; bodyView.AddChidren(RowView); @@ -61,7 +81,6 @@ TextColor = Shared.Common.ZigbeeColor.Current.XMBlack, TextAlignment = TextAlignment.CenterLeft, TextSize = 14, - Text = "Krafty", }; RowView.AddChidren(btnMemberName); @@ -71,7 +90,7 @@ Y = Application.GetRealHeight(58), Height = Application.GetRealHeight(58), Width = Application.GetRealWidth(58), - UnSelectedImagePath = "Item/Next.png", + UnSelectedImagePath = "Item/RightNext.png", SelectedImagePath = "Item/Down.png", }; RowView.AddChidren(btnRight); -- Gitblit v1.8.0