mac
2024-07-25 f9181a9c8125136f597add7c30cb2ff508d54ba7
HDL_ON/UI/UI2/4-PersonalCenter/MyServerInfoPage.cs
@@ -1,7 +1,7 @@
using 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",
@@ -100,10 +102,10 @@
                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;