From 33064e82fae754c0a9f1834b2519de15d14c9d71 Mon Sep 17 00:00:00 2001 From: wxr <464027401@qq.com> Date: 星期四, 16 三月 2023 14:51:43 +0800 Subject: [PATCH] iOS兼容 --- HDL_ON/UI/UI2/4-PersonalCenter/MemberManagement/AddMemberScanPage.cs | 26 +++++++++++++------------- 1 files changed, 13 insertions(+), 13 deletions(-) diff --git a/HDL_ON/UI/UI2/4-PersonalCenter/MemberManagement/AddMemberScanPage.cs b/HDL_ON/UI/UI2/4-PersonalCenter/MemberManagement/AddMemberScanPage.cs index e35b1c0..5a069c5 100644 --- a/HDL_ON/UI/UI2/4-PersonalCenter/MemberManagement/AddMemberScanPage.cs +++ b/HDL_ON/UI/UI2/4-PersonalCenter/MemberManagement/AddMemberScanPage.cs @@ -169,7 +169,7 @@ }; dialog.AddChidren(contentView); - Button btnTitle = new Button() + Button btnTitle2 = new Button() { Y = Application.GetRealHeight(16), Height = Application.GetRealHeight(30), @@ -179,13 +179,13 @@ IsBold = true, TextID = StringId.FaceProtocolPrompt, }; - contentView.AddChidren(btnTitle); + contentView.AddChidren(btnTitle2); Button btnMsg = new Button() { Gravity = Gravity.CenterHorizontal, Height = Application.GetRealHeight(35), - Y = btnTitle.Bottom, + Y = btnTitle2.Bottom, Width = Application.GetRealHeight(200), TextAlignment = TextAlignment.CenterLeft, TextColor = CSS_Color.TextualColor, @@ -223,18 +223,18 @@ }; contentView.AddChidren(btnMsg2); - Button btnLine = new Button() + Button btnLine2 = new Button() { Y = Application.GetRealHeight(149), Height = Application.GetRealHeight(1), Width = Application.GetRealWidth(270 / 2), BackgroundColor = CSS.CSS_Color.DividingLineColor, }; - contentView.AddChidren(btnLine); + contentView.AddChidren(btnLine2); Button btnCancel = new Button() { - Y = btnLine.Bottom, + Y = btnLine2.Bottom, Width = Application.GetRealWidth(135), Height = Application.GetRealHeight(43), TextAlignment = TextAlignment.Center, @@ -249,7 +249,7 @@ Button btnConfirm = new Button() { X = btnCancel.Right, - Y = btnLine.Y, + Y = btnLine2.Y, Width = Application.GetRealWidth(135), Height = Application.GetRealHeight(45), TextAlignment = TextAlignment.Center, @@ -265,11 +265,11 @@ btnConfirm.SetCornerWithSameRadius((uint)Application.GetMinRealAverage(10), mRectCornerID); dialog.Show(); - btnCancel.MouseUpEventHandler += (sender, e) => + btnCancel.MouseUpEventHandler += (sender2, e2) => { dialog.Close(); }; - btnMsg1.MouseUpEventHandler += (sender, e) => + btnMsg1.MouseUpEventHandler += (sender2, e2) => { string url = "https://developer.hdlcontrol.com/浜鸿劯淇℃伅閲囬泦鍗忚.html"; if (Language.CurrentLanguage != "Chinese") @@ -280,7 +280,7 @@ dialog.Close(); }; - btnConfirm.MouseUpEventHandler = (sender, e) => { + btnConfirm.MouseUpEventHandler = (sender2, e2) => { dialog.Close(); OnAppConfig.Instance.FaceManagementTip = true; OnAppConfig.Instance.SaveConfig(); @@ -324,7 +324,7 @@ } else { - var btnTitle = new Button() + var btnTitle2 = new Button() { Y = Application.GetRealHeight(70), X = Application.GetRealWidth(16), @@ -334,11 +334,11 @@ TextAlignment = TextAlignment.CenterLeft, TextID = StringId.NewMemberAccount, }; - bodyView.AddChidren(btnTitle); + bodyView.AddChidren(btnTitle2); etMemberAccount = new EditText() { - Y = btnTitle.Bottom, + Y = btnTitle2.Bottom, X = Application.GetRealWidth(16), Width = Application.GetRealWidth(356), Height = Application.GetRealHeight(40), -- Gitblit v1.8.0