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_iOS/HDL-ON_iOS.csproj | 6 +++--- HDL_ON/UI/UI2/4-PersonalCenter/MemberManagement/AddMemberScanPage.cs | 8 ++++---- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/HDL-ON_iOS/HDL-ON_iOS.csproj b/HDL-ON_iOS/HDL-ON_iOS.csproj index a959ecc..9d4583b 100644 --- a/HDL-ON_iOS/HDL-ON_iOS.csproj +++ b/HDL-ON_iOS/HDL-ON_iOS.csproj @@ -143,12 +143,12 @@ <PackageReference Include="Xamarin.Essentials"> <Version>1.7.0</Version> </PackageReference> - <PackageReference Include="Xamarin.iOS.SwiftRuntimeSupport"> - <Version>0.2.1</Version> - </PackageReference> <PackageReference Include="Xamarin.iOS.MJRefresh"> <Version>3.2.2</Version> </PackageReference> + <PackageReference Include="Xamarin.iOS.SwiftRuntimeSupport"> + <Version>0.2.1</Version> + </PackageReference> </ItemGroup> <ItemGroup> <ImageAsset Include="Assets.xcassets\add_server1.imageset\add_server1.png" /> diff --git a/HDL_ON/UI/UI2/4-PersonalCenter/MemberManagement/AddMemberScanPage.cs b/HDL_ON/UI/UI2/4-PersonalCenter/MemberManagement/AddMemberScanPage.cs index f7bbfc4..5a069c5 100644 --- a/HDL_ON/UI/UI2/4-PersonalCenter/MemberManagement/AddMemberScanPage.cs +++ b/HDL_ON/UI/UI2/4-PersonalCenter/MemberManagement/AddMemberScanPage.cs @@ -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, -- Gitblit v1.8.0