From 7e863a33397f317ffc3ffd9288496d0e4f16aa66 Mon Sep 17 00:00:00 2001 From: 黄学彪 <hxb@hdlchina.com.cn> Date: 星期四, 12 十二月 2019 14:58:20 +0800 Subject: [PATCH] 合并了新代码 --- ZigbeeApp/Shared/Phone/UserCenter/DoorLock/MemberFrozenPage.cs | 24 +++++++++++++++++++----- 1 files changed, 19 insertions(+), 5 deletions(-) diff --git a/ZigbeeApp/Shared/Phone/UserCenter/DoorLock/MemberFrozenPage.cs b/ZigbeeApp/Shared/Phone/UserCenter/DoorLock/MemberFrozenPage.cs index 3d801e6..2a71d4b 100755 --- a/ZigbeeApp/Shared/Phone/UserCenter/DoorLock/MemberFrozenPage.cs +++ b/ZigbeeApp/Shared/Phone/UserCenter/DoorLock/MemberFrozenPage.cs @@ -73,13 +73,14 @@ { }; this.midFrameLayout.AddChidren(bodyView); + MidRefresh(); + bodyView.BeginHeaderRefreshingAction += () => { bodyView.BeginHeaderRefreshing(); ReadDoorLockUserInfo(); bodyView.EndHeaderRefreshing(); }; - MidRefresh(); } public async void MidRefresh() @@ -226,10 +227,23 @@ } } }; - btnRightFrameLayout.MouseUpEventHandler += eHandler; - btnRight.MouseUpEventHandler += eHandler; - RowView.MouseUpEventHandler += eHandler; - btnText.MouseUpEventHandler += eHandler; + if (i == 0) + { + btnRightFrameLayout.MouseUpEventHandler += eHandler; + btnRight.MouseUpEventHandler += eHandler; + RowView.MouseUpEventHandler += eHandler; + btnText.MouseUpEventHandler += eHandler; + } + else if (i == 1) + { + btnRightFrameLayout.MouseUpEventHandler += eHandler; + btnRight.MouseUpEventHandler += eHandler; + } + else if (i == 2) + { + btnRightFrameLayout.MouseUpEventHandler += eHandler; + btnRight.MouseUpEventHandler += eHandler; + } } } -- Gitblit v1.8.0