From 9e92eed00fe1f98d9f41b3a0012bcc7914eb8dea Mon Sep 17 00:00:00 2001 From: wxr <464027401@qq.com> Date: 星期三, 17 四月 2024 14:42:30 +0800 Subject: [PATCH] 协议更新,图标更新 --- HDL_ON/UI/UI2/4-PersonalCenter/MyServerInfoPage.cs | 24 +++++++++++++----------- 1 files changed, 13 insertions(+), 11 deletions(-) diff --git a/HDL_ON/UI/UI2/4-PersonalCenter/MyServerInfoPage.cs b/HDL_ON/UI/UI2/4-PersonalCenter/MyServerInfoPage.cs index 5d63e4a..001bc82 100644 --- a/HDL_ON/UI/UI2/4-PersonalCenter/MyServerInfoPage.cs +++ b/HDL_ON/UI/UI2/4-PersonalCenter/MyServerInfoPage.cs @@ -1,7 +1,7 @@ 锘縰sing System; using HDL_ON.UI.CSS; using Shared; -using Xamarin.Essentials; +//using Xamarin.Essentials; namespace HDL_ON.UI { @@ -21,11 +21,13 @@ { bodyView.BackgroundColor = CSS_Color.MainBackgroundColor; //鏈嶅姟鍣ㄤ俊鎭� - new TopViewDiv(bodyView, Language.StringByID(StringId.ServerInformation)).LoadTopView(); + var topView = new TopViewDiv(bodyView, Language.StringByID(StringId.ServerInformation)); + topView.maginY = 10; + topView.LoadTopView(); ImageView imageView = new ImageView() { - Y = Application.GetMinRealAverage(88), + Y = Application.GetMinRealAverage(88+10), Width = Application.GetMinRealAverage(200), Height = Application.GetMinRealAverage(180), ImagePath = "PersonalCenter/ServerInfo.png", @@ -89,24 +91,24 @@ TextAlignment = TextAlignment.CenterLeft, TextColor = CSS_Color.MainColor, TextSize = CSS_FontSize.SubheadingFontSize, - Text = "13828070886", + Text = "400-855-8535", IsBold = true }; bodyView.AddChidren(phoneBtn); - if (Language.CurrentLanguage != "Chinese") + if(Language.CurrentLanguage != "Chinese") { phoneBtn.Y = Application.GetRealHeight(566); phoneBtn.Y = callBtn.Bottom; phoneBtn.X = callBtn.X; } - phoneBtn.MouseUpEventHandler += (sender, e) => - { - PhoneDialer.Open(Constant.SUPPORT_TELEPHONENUMBER); - }; + //phoneBtn.MouseUpEventHandler += (sender, e) => + //{ + // PhoneDialer.Open(Constant.SUPPORT_TELEPHONENUMBER); + //}; - serverBtn.Text = Language.StringByID(StringId.CurrentAccountServerOwnership) + OnAppConfig.Instance.GlobalRegion.regionName.Replace("HDL", "SANTAN"); + serverBtn.Text = Language.StringByID(StringId.CurrentAccountServerOwnership) + OnAppConfig.Instance.GlobalRegion.regionName; } } -} \ No newline at end of file +} -- Gitblit v1.8.0