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 | 34 ++++++---------------------------- 1 files changed, 6 insertions(+), 28 deletions(-) diff --git a/ZigbeeApp/Shared/Phone/UserCenter/Abount/SLAForm.cs b/ZigbeeApp/Shared/Phone/UserCenter/Abount/SLAForm.cs index 43d8046..d1005fa 100755 --- a/ZigbeeApp/Shared/Phone/UserCenter/Abount/SLAForm.cs +++ b/ZigbeeApp/Shared/Phone/UserCenter/Abount/SLAForm.cs @@ -21,35 +21,13 @@ /// </summary> private void InitMiddleFrame() { - bodyFrameLayout.BackgroundColor = ZigbeeColor.Current.GXCGrayBackgroundColor; + var btnControl = new WebView(); + btnControl.Width = bodyFrameLayout.Width; + btnControl.Height = bodyFrameLayout.Height; + bodyFrameLayout.AddChidren(btnControl); - var title = new Button - { - X = Application.GetRealWidth(58), - Y = Application.GetRealHeight(58), - Width = Application.GetRealWidth(600), - Height = Application.GetRealHeight(58), - TextID = R.MyInternationalizationString.SLA_Title, - TextAlignment = TextAlignment.CenterLeft, - TextColor = ZigbeeColor.Current.GXCTextBlackColor, - TextSize = 14 - }; - title.IsBold = true; - bodyFrameLayout.AddChidren(title); - - var detail=new Button - { - X = Application.GetRealWidth(58), - Y = Application.GetRealHeight(164), - Width = Application.GetRealWidth(942), - Height = Application.GetRealHeight(800), - Text = Language.StringByID(R.MyInternationalizationString.SLA_Detail).Replace("{\\r\\n}","\r\n\r\n"), - TextAlignment = TextAlignment.CenterLeft, - TextColor = ZigbeeColor.Current.GXCTextColor, - IsMoreLines=true, - TextSize = 12 - }; - bodyFrameLayout.AddChidren(detail); + //鍔犺浇缃戝潃 + btnControl.LoadRequest("https://www.baidu.com"); } } } -- Gitblit v1.8.0