From 993ecf49ae04ccea89f6bc4a32cfc0c45def1215 Mon Sep 17 00:00:00 2001 From: 温居城 <wenjucheng@wenjuchengdeMacBook-Pro.local> Date: 星期三, 27 十月 2021 14:23:30 +0800 Subject: [PATCH] 2021-10-27-01 --- ZigbeeApp/Shared/Phone/UserCenter/Abount/SLAForm.cs | 35 ++++++----------------------------- 1 files changed, 6 insertions(+), 29 deletions(-) diff --git a/ZigbeeApp/Shared/Phone/UserCenter/Abount/SLAForm.cs b/ZigbeeApp/Shared/Phone/UserCenter/Abount/SLAForm.cs index b8f594a..6801dc8 100755 --- a/ZigbeeApp/Shared/Phone/UserCenter/Abount/SLAForm.cs +++ b/ZigbeeApp/Shared/Phone/UserCenter/Abount/SLAForm.cs @@ -21,36 +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.TopLeft, - TextColor = ZigbeeColor.Current.GXCTextColor, - IsMoreLines=true, - TextSize = 12, - - }; - bodyFrameLayout.AddChidren(detail); + //鍔犺浇缃戝潃 + btnControl.LoadRequest("https://developer.hdlcontrol.com/HDLEvoyoPrivacyPolicy.html"); } } } -- Gitblit v1.8.0