From 9f326f4000847e6167d8166fa2f6a66f53cb3734 Mon Sep 17 00:00:00 2001
From: 黄学彪 <hxb@hdlchina.com.cn>
Date: 星期四, 17 十二月 2020 09:07:13 +0800
Subject: [PATCH] 新云端Ver1.3

---
 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..6801dc8 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://developer.hdlcontrol.com/HDLEvoyoPrivacyPolicy.html");
         }
     }
 }

--
Gitblit v1.8.0