From f23ad1b3f9f6193f35f72104d690b21dc67d5c1f Mon Sep 17 00:00:00 2001
From: 黄学彪 <hxb@hdlchina.com.cn>
Date: 星期一, 06 七月 2020 12:35:25 +0800
Subject: [PATCH] 去掉了访问外网的异步

---
 ZigbeeApp/Shared/Phone/UserView/UserPage.cs |   21 ++++++++++++++++++---
 1 files changed, 18 insertions(+), 3 deletions(-)

diff --git a/ZigbeeApp/Shared/Phone/UserView/UserPage.cs b/ZigbeeApp/Shared/Phone/UserView/UserPage.cs
index f143967..86a34af 100755
--- a/ZigbeeApp/Shared/Phone/UserView/UserPage.cs
+++ b/ZigbeeApp/Shared/Phone/UserView/UserPage.cs
@@ -40,7 +40,7 @@
         /// <summary>
         /// 鐢ㄦ埛涓讳綋鐣岄潰锛堜腑闂撮儴鍒嗭級
         /// </summary>
-        private FrameLayout bodyFrameView = null;
+        private NormalFrameLayout bodyFrameView = null;
         /// <summary>
         /// 鐣岄潰缂撳瓨(2020.05.07:鍒囨崲鏃朵笉绉婚櫎鐣岄潰,鐩存帴闅愯棌)
         /// </summary>
@@ -80,14 +80,14 @@
                 return;
             }
 #if iOS
-            if (Shared.Application.PhoneType >= 10)
+            if (Shared.Application.IsFullScreen == true)
             {
                 //楂樼増鏈殑鑻规灉鏈哄瀷锛屽睆骞曞簳閮ㄤ細鏈変竴涓粦鑹茬殑鏉�
                 ControlCommonResourse.BottomFrameHeight = Application.GetRealHeight(242);
             }
 #endif
             //鐢ㄦ埛涓讳綋鐣岄潰锛堜腑闂撮儴鍒嗭級
-            this.bodyFrameView = new FrameLayout();
+            this.bodyFrameView = new NormalFrameLayout();
             bodyFrameView.Height = this.Height - UserCenter.ControlCommonResourse.BottomFrameHeight;
             bodyFrameView.BackgroundColor = Shared.Common.ZigbeeColor.Current.MainColor;
             this.AddChidren(bodyFrameView);
@@ -351,6 +351,21 @@
             this.SetAllControlStatu();
         }
 
+        /// <summary>
+        /// 鑾峰彇褰撳墠婵�娲荤殑鐣岄潰
+        /// </summary>
+        /// <returns></returns>
+        public EditorCommonForm GetNowActionForm()
+        {
+            int index = ((int)this.nowSelectMenu) - 1;
+            if (index != -1)
+            {
+                //璋冪敤姝ょ晫闈㈢殑婵�娲诲嚱鏁�
+                return this.listForm[index];
+            }
+            return null;
+        }
+
         #endregion
 
         #region 鈻� 缁撴瀯浣揰____________________________

--
Gitblit v1.8.0