From e71c57108e6dd407c2c6f0361f68150f2ff9aed5 Mon Sep 17 00:00:00 2001
From: wxr <464027401@qq.com>
Date: 星期三, 15 十二月 2021 13:41:16 +0800
Subject: [PATCH] 版本备份

---
 HDL_ON/UI/UI2/4-PersonalCenter/AboutOn/AboutOnPage.cs |   47 ++++++++++++++++++++++++++++++++++++++---------
 1 files changed, 38 insertions(+), 9 deletions(-)

diff --git a/HDL_ON/UI/UI2/4-PersonalCenter/AboutOn/AboutOnPage.cs b/HDL_ON/UI/UI2/4-PersonalCenter/AboutOn/AboutOnPage.cs
index 0b26a18..8fd0334 100644
--- a/HDL_ON/UI/UI2/4-PersonalCenter/AboutOn/AboutOnPage.cs
+++ b/HDL_ON/UI/UI2/4-PersonalCenter/AboutOn/AboutOnPage.cs
@@ -64,7 +64,7 @@
                 Y = Application.GetRealWidth(184),
                 Height = Application.GetRealWidth(28),
                 TextAlignment = TextAlignment.Center,
-                Text = "ON+",
+                Text = "On Pro",
                 TextColor = CSS_Color.FirstLevelTitleColor,
                 TextSize = CSS_FontSize.EmphasisFontSize_Secondary,
                 IsBold = true,
@@ -72,15 +72,15 @@
             bodyView.AddChidren(btnOnTitle);
 
 #if DEBUG
-            btnOnIcon.MouseUpEventHandler += (sender, e) =>
-            {
-                ESOnVideo.Current.Test();
-            };
+            //btnOnIcon.MouseUpEventHandler += (sender, e) =>
+            //{
+            //    ESOnVideo.Current.Test();
+            //};
 
-            btnOnTitle.MouseUpEventHandler += (sender, e) =>
-            {
-                ESOnVideo.Current.Test(false);
-            };
+            //btnOnTitle.MouseUpEventHandler += (sender, e) =>
+            //{
+            //    ESOnVideo.Current.Test(false);
+            //};
 
 #endif
 
@@ -154,6 +154,35 @@
             versionUpdateView.GoAction = versionUpdateAction;
             #endregion
 
+            #region 杞欢鏈嶅姟鍗忚
+            var serviceAgreementView = new ListCellView()
+            {
+                Y = versionUpdateView.Bottom,
+            };
+            bodyView.AddChidren(serviceAgreementView);
+            serviceAgreementView.BtnTilte.TextID = StringId.UserAgreement;
+            Action serviceAgreementAction = () => {
+                string url = Constant.URL_USERAGREEMENT;
+                string titleStr = Language.StringByID(StringId.UserAgreement);
+                new WebViewDialog().LoadPageWithdrawalConsent(titleStr, url);
+            };
+            serviceAgreementView.GoAction = serviceAgreementAction;
+            #endregion
+
+            #region 鐢ㄦ埛淇℃伅淇濇姢鍗忚
+            var privacyPolicyView = new ListCellView()
+            {
+                Y = serviceAgreementView.Bottom,
+            };
+            bodyView.AddChidren(privacyPolicyView);
+            privacyPolicyView.BtnTilte.TextID = StringId.PrivacyPolicy;
+            Action privacyPolicyAction = () => {
+                string url = Constant.URL_PRIVACYPOLICY;
+                string titleStr = Language.StringByID(StringId.PrivacyPolicy);
+                new WebViewDialog().LoadPageWithdrawalConsent(titleStr, url);
+            };
+            #endregion
+            privacyPolicyView.GoAction = privacyPolicyAction;
             CheckIfNeedUpdateAsync();
         }
 

--
Gitblit v1.8.0