From ea0b1e8e5f43c5fd0a7d479e25ede3b8cbea464a Mon Sep 17 00:00:00 2001 From: wxr <wxr@hdlchina.com.cn> Date: 星期一, 02 十二月 2024 17:17:19 +0800 Subject: [PATCH] tcp;可视对讲; --- HDL_ON/UI/UI2/4-PersonalCenter/MyServerInfoPage.cs | 96 ++++++++++++++++++++++++------------------------ 1 files changed, 48 insertions(+), 48 deletions(-) diff --git a/HDL_ON/UI/UI2/4-PersonalCenter/MyServerInfoPage.cs b/HDL_ON/UI/UI2/4-PersonalCenter/MyServerInfoPage.cs index 001bc82..27216c0 100644 --- a/HDL_ON/UI/UI2/4-PersonalCenter/MyServerInfoPage.cs +++ b/HDL_ON/UI/UI2/4-PersonalCenter/MyServerInfoPage.cs @@ -50,64 +50,64 @@ }; bodyView.AddChidren(serverBtn); - var tipBtn = new Button() - { - X = Application.GetRealWidth(40), - Y = serverBtn.Bottom + Application.GetRealHeight(12), - Width = Application.GetRealWidth(295), - Height = Application.GetRealHeight(80), - TextAlignment = TextAlignment.TopLeft, - TextColor = CSS_Color.FirstLevelTitleColor, - TextSize = CSS_FontSize.TextFontSize, - //Text = "*鏈嶅姟鍣ㄦ槸鎮ㄥ綋鍓嶄簯绔暟鎹瓨鍌ㄧ殑鎵�鍦ㄥ尯鍩燂紝鏃犻渶蹇呰锛屾垜浠笉寤鸿鍙戠敓杩佺Щ", - TextID = StringId.CurrentAccountServerOwnershipTip, - IsMoreLines = true + //var tipBtn = new Button() + //{ + // X = Application.GetRealWidth(40), + // Y = serverBtn.Bottom + Application.GetRealHeight(12), + // Width = Application.GetRealWidth(295), + // Height = Application.GetRealHeight(80), + // TextAlignment = TextAlignment.TopLeft, + // TextColor = CSS_Color.FirstLevelTitleColor, + // TextSize = CSS_FontSize.TextFontSize, + // //Text = "*鏈嶅姟鍣ㄦ槸鎮ㄥ綋鍓嶄簯绔暟鎹瓨鍌ㄧ殑鎵�鍦ㄥ尯鍩燂紝鏃犻渶蹇呰锛屾垜浠笉寤鸿鍙戠敓杩佺Щ", + // TextID = StringId.CurrentAccountServerOwnershipTip, + // IsMoreLines = true - }; - bodyView.AddChidren(tipBtn); + //}; + //bodyView.AddChidren(tipBtn); - var callBtn = new TextButton() - { - X = Application.GetRealWidth(40), - Y = Application.GetRealHeight(606), - Width = Application.GetRealWidth(168), - Height = Application.GetRealHeight(22), - TextAlignment = TextAlignment.CenterLeft, - TextColor = CSS_Color.TextualColor, - TextSize = CSS_FontSize.TextFontSize, - //Text = "*鑻ラ渶瑕佽縼绉绘湇鍔″櫒锛岃鎷ㄦ墦", - TextID = StringId.ToMigrateTheServerPleaseCall, + //var callBtn = new TextButton() + //{ + // X = Application.GetRealWidth(40), + // Y = Application.GetRealHeight(606), + // Width = Application.GetRealWidth(168), + // Height = Application.GetRealHeight(22), + // TextAlignment = TextAlignment.CenterLeft, + // TextColor = CSS_Color.TextualColor, + // TextSize = CSS_FontSize.TextFontSize, + // //Text = "*鑻ラ渶瑕佽縼绉绘湇鍔″櫒锛岃鎷ㄦ墦", + // TextID = StringId.ToMigrateTheServerPleaseCall, - }; - bodyView.AddChidren(callBtn); - callBtn.Width = callBtn.GetTextWidth() + Application.GetRealWidth(2); + //}; + //bodyView.AddChidren(callBtn); + //callBtn.Width = callBtn.GetTextWidth() + Application.GetRealWidth(2); - var phoneBtn = new TextButton() - { - X = callBtn.Right + Application.GetRealHeight(2), - Y = Application.GetRealHeight(606), - Width = Application.GetRealWidth(200), - Height = Application.GetRealHeight(22), - TextAlignment = TextAlignment.CenterLeft, - TextColor = CSS_Color.MainColor, - TextSize = CSS_FontSize.SubheadingFontSize, - Text = "400-855-8535", - IsBold = true - }; - bodyView.AddChidren(phoneBtn); - if(Language.CurrentLanguage != "Chinese") - { - phoneBtn.Y = Application.GetRealHeight(566); - phoneBtn.Y = callBtn.Bottom; - phoneBtn.X = callBtn.X; - } + //var phoneBtn = new TextButton() + //{ + // X = callBtn.Right + Application.GetRealHeight(2), + // Y = Application.GetRealHeight(606), + // Width = Application.GetRealWidth(200), + // Height = Application.GetRealHeight(22), + // TextAlignment = TextAlignment.CenterLeft, + // TextColor = CSS_Color.MainColor, + // TextSize = CSS_FontSize.SubheadingFontSize, + // Text = "400-855-8535", + // IsBold = true + //}; + //bodyView.AddChidren(phoneBtn); + //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); //}; - serverBtn.Text = Language.StringByID(StringId.CurrentAccountServerOwnership) + OnAppConfig.Instance.GlobalRegion.regionName; + serverBtn.Text = Language.StringByID(StringId.CurrentAccountServerOwnership) + OnAppConfig.Instance.GlobalRegion.regionName.Replace("HDL","Santan"); } } -- Gitblit v1.8.0