From 9f326f4000847e6167d8166fa2f6a66f53cb3734 Mon Sep 17 00:00:00 2001
From: 黄学彪 <hxb@hdlchina.com.cn>
Date: 星期四, 17 十二月 2020 09:07:13 +0800
Subject: [PATCH] 新云端Ver1.3

---
 ZigbeeApp/Shared/Phone/UserView/UserPage.cs |   19 ++++++++-----------
 1 files changed, 8 insertions(+), 11 deletions(-)

diff --git a/ZigbeeApp/Shared/Phone/UserView/UserPage.cs b/ZigbeeApp/Shared/Phone/UserView/UserPage.cs
index 947bb9b..4ef083c 100755
--- a/ZigbeeApp/Shared/Phone/UserView/UserPage.cs
+++ b/ZigbeeApp/Shared/Phone/UserView/UserPage.cs
@@ -72,11 +72,8 @@
         public UserPage()
         {
             BackgroundColor = Shared.Common.ZigbeeColor.Current.MainColor;
-            Shared.Application.LocationAction += (lon, lat) =>
-            {
-                //涓婃姤缁忕含搴�
-                Login.AccountLogic.Instance.ReceiveAppLatAndLon(lon.ToString(), lat.ToString());
-            };
+            //娣诲姞App鐨勭粡绾害涓婃姤浜嬩欢
+            HdlOtherFunctionLogic.Current.AddAppLatAndLonEvent();
         }
 
         /// <summary>
@@ -92,23 +89,23 @@
             if (Shared.Application.IsFullScreen == true)
             {
                 //楂樼増鏈殑鑻规灉鏈哄瀷锛屽睆骞曞簳閮ㄤ細鏈変竴涓粦鑹茬殑鏉�
-                ControlCommonResourse.BottomFrameHeight = Application.GetRealHeight(242);
+                ControlCommonResourse.BottomFrameHeight = Application.GetRealHeight(180);
             }
 #endif
             //鐢ㄦ埛涓讳綋鐣岄潰锛堜腑闂撮儴鍒嗭級
             this.bodyFrameView = new NormalFrameLayout();
-            bodyFrameView.Height = this.Height - UserCenter.ControlCommonResourse.BottomFrameHeight;
+            bodyFrameView.Height = this.Height - HdlControlResourse.BottomFrameHeight;
             bodyFrameView.BackgroundColor = Shared.Common.ZigbeeColor.Current.MainColor;
             this.AddChidren(bodyFrameView);
 
             //鐢ㄦ埛鑿滃崟鐣岄潰锛堝簳閮ㄩ儴鍒嗭級
             var bottomMenuFrame = new FrameLayout();
             bottomMenuFrame.Gravity = Gravity.BottomCenter;
-            bottomMenuFrame.Height = ControlCommonResourse.BottomFrameHeight;
+            bottomMenuFrame.Height = HdlControlResourse.BottomFrameHeight;
             bottomMenuFrame.BackgroundColor = Shared.Common.ZigbeeColor.Current.GXCBottomColor;
             this.AddChidren(bottomMenuFrame);
             //搴曢儴鑿滃崟鐨勫ご閮ㄧ嚎
-            var bottomLine = new NormalViewControl(bottomMenuFrame.Width, ControlCommonResourse.BottomLineHeight, false);
+            var bottomLine = new NormalViewControl(bottomMenuFrame.Width, HdlControlResourse.BottomLineHeight, false);
             bottomLine.BackgroundColor = 0xffc8c8c9;
             bottomMenuFrame.AddChidren(bottomLine);
 
@@ -350,9 +347,9 @@
         public void ShowCategoryAutoListForm()
         {
             //鍏抽棴鍏ㄩ儴鐣岄潰,鐩村埌涓婚〉涓烘
-            UserCenterLogic.CloseAllOpenForm(null, false);
+            HdlFormLogic.Current.CloseAllOpenForm(null, false);
             //寮哄埗鏄剧ず鑷姩鍖栧垪琛ㄧ晫闈�
-            UserCenterResourse.ResidenceOption.CategoryPageSwitchIndex = 2;
+            HdlUserCenterResourse.ResidenceOption.CategoryPageSwitchIndex = 2;
 
             this.nowSelectMenu = MenuSelectEnum.A鍒嗙被;
 

--
Gitblit v1.8.0