From 652243206427f35a256400a149a1734085824cb9 Mon Sep 17 00:00:00 2001 From: 陈嘉乐 <cjl@hdlchina.com.cn> Date: 星期三, 02 九月 2020 17:35:03 +0800 Subject: [PATCH] 2020-09-02-4 --- ZigbeeApp/Shared/Phone/CommonForm/EditorCommonForm.cs | 17 ++++++++++------- 1 files changed, 10 insertions(+), 7 deletions(-) diff --git a/ZigbeeApp/Shared/Phone/CommonForm/EditorCommonForm.cs b/ZigbeeApp/Shared/Phone/CommonForm/EditorCommonForm.cs index f3f32b9..0cbedac 100755 --- a/ZigbeeApp/Shared/Phone/CommonForm/EditorCommonForm.cs +++ b/ZigbeeApp/Shared/Phone/CommonForm/EditorCommonForm.cs @@ -21,15 +21,15 @@ /// <summary> /// TopMenuFrameLayout /// </summary> - public FrameLayout topMenuFrameLayout = null; + public NormalFrameLayout topMenuFrameLayout = null; /// <summary> /// TopFrameLayout /// </summary> - public FrameLayout topFrameLayout = null; + public NormalFrameLayout topFrameLayout = null; /// <summary> /// bodyFrameLayout /// </summary> - public FrameLayout bodyFrameLayout = null; + public NormalFrameLayout bodyFrameLayout = null; /// <summary> /// 宸︽粦浣胯兘 /// </summary> @@ -102,14 +102,14 @@ } //TopMenuFrameLayout鍋氭垚 - topMenuFrameLayout = new FrameLayout(); + topMenuFrameLayout = new NormalFrameLayout(); topMenuFrameLayout.Height = ControlCommonResourse.TopMenuFrameHeight; topMenuFrameLayout.BackgroundColor = UserCenterColor.Current.TopFrameLayout; topMenuFrameLayout.Name = "topMenuFrameLayout"; this.AddChidren(topMenuFrameLayout); //TopFrameLayout鍋氭垚 - topFrameLayout = new FrameLayout(); + topFrameLayout = new NormalFrameLayout(); topFrameLayout.Height = ControlCommonResourse.TopFrameHeight; topFrameLayout.BackgroundColor = UserCenterColor.Current.TopFrameLayout; topFrameLayout.Y = topMenuFrameLayout.Bottom; @@ -169,7 +169,7 @@ { bodyFrameLayout.RemoveAll(); } - bodyFrameLayout = new FrameLayout(); + bodyFrameLayout = new NormalFrameLayout(); bodyFrameLayout.Height = ControlCommonResourse.BodyFrameHeight; bodyFrameLayout.Y = topFrameLayout.Bottom; bodyFrameLayout.BackgroundColor = UserCenterColor.Current.BodyFrameLayout; @@ -272,7 +272,7 @@ /// </summary> public override void ShowReLoadView() { - Application.RunOnMainThread(() => + HdlThreadLogic.Current.RunMain(() => { if (bodyFrameLayout == null || bodyFrameLayout.Parent == null) { @@ -292,6 +292,9 @@ frame.AddChidren(btnReLoad); btnReLoad.ButtonClickEvent += (sender, e) => { + //鐐瑰嚮閲嶆柊鍔犺浇鏃�,鍏佽鍐嶆鑱旂綉 + HdlWifiLogic.Current.CanAccessHttp = true; + //娓呴櫎鍏ㄩ儴鎺т欢 this.ClearBodyFrame(); -- Gitblit v1.8.0