From 3022b3fb49fe8d80fdf845baf77696f4c92a7f99 Mon Sep 17 00:00:00 2001 From: luzixun <869322496@qq.com> Date: Mon, 1 Apr 2024 15:43:02 +0800 Subject: [PATCH] fix: login ui --- ios/Runner.xcodeproj/project.pbxproj | 12 ++++++------ lib/screens/login/login.dart | 5 ++--- 2 files changed, 8 insertions(+), 9 deletions(-) diff --git a/ios/Runner.xcodeproj/project.pbxproj b/ios/Runner.xcodeproj/project.pbxproj index cdc73ab..571b5cb 100644 --- a/ios/Runner.xcodeproj/project.pbxproj +++ b/ios/Runner.xcodeproj/project.pbxproj @@ -494,7 +494,7 @@ ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; ASSETCATALOG_COMPILER_INCLUDE_ALL_APPICON_ASSETS = YES; CLANG_ENABLE_MODULES = YES; - CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)"; + CURRENT_PROJECT_VERSION = 2; DEVELOPMENT_TEAM = 4Q3KKN22L7; ENABLE_BITCODE = NO; INFOPLIST_FILE = Runner/Info.plist; @@ -513,7 +513,7 @@ SUPPORTS_MAC_DESIGNED_FOR_IPHONE_IPAD = NO; SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h"; SWIFT_VERSION = 5.0; - TARGETED_DEVICE_FAMILY = "1,2"; + TARGETED_DEVICE_FAMILY = 1; VERSIONING_SYSTEM = "apple-generic"; }; name = Profile; @@ -700,7 +700,7 @@ ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; ASSETCATALOG_COMPILER_INCLUDE_ALL_APPICON_ASSETS = YES; CLANG_ENABLE_MODULES = YES; - CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)"; + CURRENT_PROJECT_VERSION = 2; DEVELOPMENT_TEAM = 4Q3KKN22L7; ENABLE_BITCODE = NO; INFOPLIST_FILE = Runner/Info.plist; @@ -720,7 +720,7 @@ SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h"; SWIFT_OPTIMIZATION_LEVEL = "-Onone"; SWIFT_VERSION = 5.0; - TARGETED_DEVICE_FAMILY = "1,2"; + TARGETED_DEVICE_FAMILY = 1; VERSIONING_SYSTEM = "apple-generic"; }; name = Debug; @@ -732,7 +732,7 @@ ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; ASSETCATALOG_COMPILER_INCLUDE_ALL_APPICON_ASSETS = YES; CLANG_ENABLE_MODULES = YES; - CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)"; + CURRENT_PROJECT_VERSION = 2; DEVELOPMENT_TEAM = 4Q3KKN22L7; ENABLE_BITCODE = NO; INFOPLIST_FILE = Runner/Info.plist; @@ -751,7 +751,7 @@ SUPPORTS_MAC_DESIGNED_FOR_IPHONE_IPAD = NO; SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h"; SWIFT_VERSION = 5.0; - TARGETED_DEVICE_FAMILY = "1,2"; + TARGETED_DEVICE_FAMILY = 1; VERSIONING_SYSTEM = "apple-generic"; }; name = Release; diff --git a/lib/screens/login/login.dart b/lib/screens/login/login.dart index 23c62fe..ae0eb83 100644 --- a/lib/screens/login/login.dart +++ b/lib/screens/login/login.dart @@ -64,7 +64,7 @@ class LoginScreen extends StatelessWidget { fontWeight: FontWeight.bold, foreground: Paint() ..style = PaintingStyle.stroke - ..strokeWidth = 2 + ..strokeWidth = 1 ..color = Colors.black), ), Text( @@ -119,7 +119,7 @@ class LoginScreen extends StatelessWidget { 0, ScreenAdaper.height(2)), // changes position of shadow ), ], - border: Border.all(width: 0), + // border: Border.all(width: 0), borderRadius: BorderRadius.circular(ScreenAdaper.sp(30)), color: AppTheme.nearlyWhite.withOpacity(0.9), ), @@ -151,7 +151,6 @@ class LoginScreen extends StatelessWidget { ); return Container( decoration: BoxDecoration( - border: Border.all(width: 0), borderRadius: BorderRadius.circular(ScreenAdaper.sp(30)), boxShadow: [ BoxShadow(