From f14dcfd967404e197e7ec995ca8d6f2b090d3b7d Mon Sep 17 00:00:00 2001 From: xm <1271024303@qq.com> Date: 星期五, 11 九月 2020 09:16:59 +0800 Subject: [PATCH] 优化多功能面板:绑定温湿度传感器目标,和设备列表回路显示。优化数据矫正功能温湿度度不设置的情况。优化门锁时间设置最后一天和最后最后一个月的时间显示等 细节 --- ZigbeeApp/Shared/Phone/UserCenter/Abount/SLAForm.cs | 32 +++++++------------------------- 1 files changed, 7 insertions(+), 25 deletions(-) diff --git a/ZigbeeApp/Shared/Phone/UserCenter/Abount/SLAForm.cs b/ZigbeeApp/Shared/Phone/UserCenter/Abount/SLAForm.cs index 1c2e460..d1005fa 100755 --- a/ZigbeeApp/Shared/Phone/UserCenter/Abount/SLAForm.cs +++ b/ZigbeeApp/Shared/Phone/UserCenter/Abount/SLAForm.cs @@ -21,31 +21,13 @@ /// </summary> private void InitMiddleFrame() { - //鎵撳紑杩涘害鏉� - this.ShowProgressBar(); - HdlThreadLogic.Current.RunThread(() => - { - var strUrl = "https://hdlcontrol.com/%E6%B2%B3%E4%B8%9C%E9%9A%90%E7%A7%81%E6%9D%83%E6%94%BF%E7%AD%9620200331.txt"; - var byteData = Common.CommonPage.Instance.DoRequestZigbeeHttpsInterface(strUrl, null, null, "GET"); - if (byteData == null) - { - this.CloseProgressBar(ShowReLoadMode.YES); - return; - } - this.CloseProgressBar(); - var receipData = System.Text.Encoding.UTF8.GetString(byteData); - HdlThreadLogic.Current.RunMain(() => - { - var btnText = new EditTextView(); - btnText.Height = bodyFrameLayout.Height; - btnText.TextSize = 12; - btnText.TextColor = UserCenterColor.Current.TextGrayColor3; - btnText.TextAlignment = TextAlignment.TopLeft; - btnText.Foucs = false; - bodyFrameLayout.AddChidren(btnText); - btnText.Text = receipData; - }); - }); + var btnControl = new WebView(); + btnControl.Width = bodyFrameLayout.Width; + btnControl.Height = bodyFrameLayout.Height; + bodyFrameLayout.AddChidren(btnControl); + + //鍔犺浇缃戝潃 + btnControl.LoadRequest("https://www.baidu.com"); } } } -- Gitblit v1.8.0