From eda3fb873e59544ff36301b51e05aef64f87b0f9 Mon Sep 17 00:00:00 2001
From: wei <kaede@kaededeMacBook-Air.local>
Date: 星期五, 27 八月 2021 13:21:21 +0800
Subject: [PATCH] Merge branch 'newBranch1' of http://172.16.1.23:6688/r/~wxr/HDL_APP_Project into newBranch1

---
 HDL_ON/UI/UI2/4-PersonalCenter/GetSupport/GetSupportPage.cs |  103 +++++++++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 103 insertions(+), 0 deletions(-)

diff --git a/HDL_ON/UI/UI2/4-PersonalCenter/GetSupport/GetSupportPage.cs b/HDL_ON/UI/UI2/4-PersonalCenter/GetSupport/GetSupportPage.cs
new file mode 100644
index 0000000..5e7d678
--- /dev/null
+++ b/HDL_ON/UI/UI2/4-PersonalCenter/GetSupport/GetSupportPage.cs
@@ -0,0 +1,103 @@
+锘縰sing System;
+using Shared;
+using HDL_ON.UI.CSS;
+
+namespace HDL_ON.UI
+{
+    /// <summary>
+    /// 鑾峰彇鏀寔鐢佃瘽椤甸潰
+    /// </summary>
+    public class GetSupportPage : FrameLayout
+    {
+        /// <summary>
+        /// 
+        /// </summary>
+        FrameLayout bodyView;
+
+        /// <summary>
+        /// 
+        /// </summary>
+        public GetSupportPage()
+        {
+            bodyView = this;
+            BackgroundColor = CSS_Color.MainBackgroundColor;
+        }
+
+        public void LoadPage()
+        {
+            new TopViewDiv(bodyView, Language.StringByID(StringId.GetSupport)).LoadTopView();
+
+            FrameLayout phoneRow = new FrameLayout()
+            {
+                Y = Application.GetRealHeight(64),
+                Height = Application.GetRealWidth(50),
+            };
+            bodyView.AddChidren(phoneRow);
+
+            Button btnPhoneTitle = new Button()
+            {
+                X = Application.GetRealWidth(16),
+                Width = Application.GetRealWidth(48),
+                TextID = StringId.Telephone,
+                TextSize = CSS_FontSize.SubheadingFontSize,
+                TextAlignment = TextAlignment.CenterLeft,
+                TextColor = CSS_Color.FirstLevelTitleColor,
+            };
+            phoneRow.AddChidren(btnPhoneTitle);
+            
+            Button btnPhoneText = new Button()
+            {
+                X = btnPhoneTitle.Right,
+                Width = Application.GetRealWidth(300),
+                TextAlignment = TextAlignment.CenterLeft,
+                TextSize = CSS_FontSize.TextFontSize,
+                TextColor = CSS_Color.FirstLevelTitleColor,
+                Text = "400 855 8535",
+            };
+            phoneRow.AddChidren(btnPhoneText);
+            phoneRow.AddChidren(new Button() { X = Application.GetRealWidth(16), Y = Application.GetRealWidth(49), Height = Application.GetRealHeight(1), BackgroundColor = CSS_Color.DividingLineColor });
+
+
+            FrameLayout emailRow = new FrameLayout()
+            {
+                Y = phoneRow.Bottom,
+                Height = Application.GetRealWidth(50),
+            };
+            bodyView.AddChidren(emailRow);
+
+            Button btnEmailTitle = new Button()
+            {
+                X = Application.GetRealWidth(16),
+                Width = Application.GetRealWidth(48),
+                TextID = StringId.Email_,
+                TextSize = CSS_FontSize.SubheadingFontSize,
+                TextAlignment = TextAlignment.CenterLeft,
+                TextColor = CSS_Color.FirstLevelTitleColor,
+            };
+            emailRow.AddChidren(btnEmailTitle);
+
+            Button btnEmailText = new Button()
+            {
+                X = btnEmailTitle.Right,
+                Width = Application.GetRealWidth(300),
+                TextAlignment = TextAlignment.CenterLeft,
+                TextSize = CSS_FontSize.TextFontSize,
+                TextColor = CSS_Color.FirstLevelTitleColor,
+                Text = Constant.SUPPORT_EMAIL,
+            };
+            emailRow.AddChidren(btnEmailText);
+            emailRow.AddChidren(new Button() { X = Application.GetRealWidth(16), Y = Application.GetRealWidth(49), Height = Application.GetRealHeight(1), BackgroundColor = CSS_Color.DividingLineColor });
+
+            if (Language.CurrentLanguage == "English")
+            {
+                btnPhoneTitle.Text = "Tel:";
+                btnEmailTitle.Width = Application.GetRealWidth(80);
+            }
+
+
+        }
+
+
+
+    }
+}

--
Gitblit v1.8.0