From 3bedb23993745f97e5870eca160c9f00c053c44c Mon Sep 17 00:00:00 2001
From: JLChen <jlchen@JLChendeMac.local>
Date: 星期五, 14 五月 2021 18:55:30 +0800
Subject: [PATCH] 实现门锁的UI
---
HDL_ON/UI/UI2/UserPageBLL.cs | 23 +++++++++++++++++++++--
1 files changed, 21 insertions(+), 2 deletions(-)
diff --git a/HDL_ON/UI/UI2/UserPageBLL.cs b/HDL_ON/UI/UI2/UserPageBLL.cs
index a342131..e48e51e 100644
--- a/HDL_ON/UI/UI2/UserPageBLL.cs
+++ b/HDL_ON/UI/UI2/UserPageBLL.cs
@@ -11,7 +11,27 @@
void LoadEventList()
{
LoadEvent_NavigationSelection();
+ LoadEvent_RefreshData();
}
+
+ /// <summary>
+ /// 鍒锋柊浣忓畢鏁版嵁
+ /// </summary>
+ void LoadEvent_RefreshData()
+ {
+ //ContextView.BeginHeaderRefreshingAction = () => {
+ // if (CurAnimationEffect == 0)
+ // {
+ // Common.ApiUtlis.Ins.DownloadData();
+ // ContextView.RemoveAll();
+ // var homePage = new HomePage();
+ // ContextView.AddChidren(homePage);
+ // homePage.LoadPage();
+ // ContextView.EndHeaderRefreshing();
+ // }
+ //};
+ }
+
/// <summary>
/// 鍔犺浇瀵艰埅鏍忕偣鍑讳簨浠�
/// </summary>
@@ -46,7 +66,6 @@
btnPersonalCenterIcon.MouseUpEventHandler = PersonalCenterEvent;
btnPersonalCenterText.MouseUpEventHandler = PersonalCenterEvent;
}
-
-
+
}
}
--
Gitblit v1.8.0