Commit 98c67e9d35259cc4ec102a079d79eb211b6b9fd0

Authored by weixin_45529955
1 parent e9f2fd58

短信管理页面UI在ipad上面没有进行适配

@@ -530,6 +530,7 @@ @@ -530,6 +530,7 @@
530 CURRENT_PROJECT_VERSION = 568; 530 CURRENT_PROJECT_VERSION = 568;
531 DEVELOPMENT_TEAM = 8J59HM8B82; 531 DEVELOPMENT_TEAM = 8J59HM8B82;
532 ENABLE_BITCODE = NO; 532 ENABLE_BITCODE = NO;
  533 + "EXCLUDED_ARCHS[sdk=iphonesimulator*]" = arm64;
533 INFOPLIST_FILE = Runner/Info.plist; 534 INFOPLIST_FILE = Runner/Info.plist;
534 IPHONEOS_DEPLOYMENT_TARGET = 15.6; 535 IPHONEOS_DEPLOYMENT_TARGET = 15.6;
535 LD_RUNPATH_SEARCH_PATHS = ( 536 LD_RUNPATH_SEARCH_PATHS = (
@@ -541,6 +542,7 @@ @@ -541,6 +542,7 @@
541 PRODUCT_NAME = "$(TARGET_NAME)"; 542 PRODUCT_NAME = "$(TARGET_NAME)";
542 SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h"; 543 SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";
543 SWIFT_VERSION = 5.0; 544 SWIFT_VERSION = 5.0;
  545 + VALID_ARCHS = "i386 arm64 x86_64 armv7";
544 VERSIONING_SYSTEM = "apple-generic"; 546 VERSIONING_SYSTEM = "apple-generic";
545 }; 547 };
546 name = Profile; 548 name = Profile;
@@ -713,6 +715,7 @@ @@ -713,6 +715,7 @@
713 CURRENT_PROJECT_VERSION = 568; 715 CURRENT_PROJECT_VERSION = 568;
714 DEVELOPMENT_TEAM = 8J59HM8B82; 716 DEVELOPMENT_TEAM = 8J59HM8B82;
715 ENABLE_BITCODE = NO; 717 ENABLE_BITCODE = NO;
  718 + "EXCLUDED_ARCHS[sdk=iphonesimulator*]" = arm64;
716 INFOPLIST_FILE = Runner/Info.plist; 719 INFOPLIST_FILE = Runner/Info.plist;
717 IPHONEOS_DEPLOYMENT_TARGET = 15.6; 720 IPHONEOS_DEPLOYMENT_TARGET = 15.6;
718 LD_RUNPATH_SEARCH_PATHS = ( 721 LD_RUNPATH_SEARCH_PATHS = (
@@ -725,6 +728,7 @@ @@ -725,6 +728,7 @@
725 SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h"; 728 SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";
726 SWIFT_OPTIMIZATION_LEVEL = "-Onone"; 729 SWIFT_OPTIMIZATION_LEVEL = "-Onone";
727 SWIFT_VERSION = 5.0; 730 SWIFT_VERSION = 5.0;
  731 + VALID_ARCHS = "i386 arm64 x86_64 armv7";
728 VERSIONING_SYSTEM = "apple-generic"; 732 VERSIONING_SYSTEM = "apple-generic";
729 }; 733 };
730 name = Debug; 734 name = Debug;
@@ -739,6 +743,7 @@ @@ -739,6 +743,7 @@
739 CURRENT_PROJECT_VERSION = 568; 743 CURRENT_PROJECT_VERSION = 568;
740 DEVELOPMENT_TEAM = 8J59HM8B82; 744 DEVELOPMENT_TEAM = 8J59HM8B82;
741 ENABLE_BITCODE = NO; 745 ENABLE_BITCODE = NO;
  746 + "EXCLUDED_ARCHS[sdk=iphonesimulator*]" = arm64;
742 INFOPLIST_FILE = Runner/Info.plist; 747 INFOPLIST_FILE = Runner/Info.plist;
743 IPHONEOS_DEPLOYMENT_TARGET = 15.6; 748 IPHONEOS_DEPLOYMENT_TARGET = 15.6;
744 LD_RUNPATH_SEARCH_PATHS = ( 749 LD_RUNPATH_SEARCH_PATHS = (
@@ -750,6 +755,7 @@ @@ -750,6 +755,7 @@
750 PRODUCT_NAME = "$(TARGET_NAME)"; 755 PRODUCT_NAME = "$(TARGET_NAME)";
751 SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h"; 756 SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";
752 SWIFT_VERSION = 5.0; 757 SWIFT_VERSION = 5.0;
  758 + VALID_ARCHS = "i386 arm64 x86_64 armv7";
753 VERSIONING_SYSTEM = "apple-generic"; 759 VERSIONING_SYSTEM = "apple-generic";
754 }; 760 };
755 name = Release; 761 name = Release;
@@ -71,6 +71,18 @@ @@ -71,6 +71,18 @@
71 ReferencedContainer = "container:Runner.xcodeproj"> 71 ReferencedContainer = "container:Runner.xcodeproj">
72 </BuildableReference> 72 </BuildableReference>
73 </BuildableProductRunnable> 73 </BuildableProductRunnable>
  74 + <AdditionalOptions>
  75 + <AdditionalOption
  76 + key = "NSZombieEnabled"
  77 + value = "YES"
  78 + isEnabled = "YES">
  79 + </AdditionalOption>
  80 + <AdditionalOption
  81 + key = "MallocScribble"
  82 + value = ""
  83 + isEnabled = "YES">
  84 + </AdditionalOption>
  85 + </AdditionalOptions>
74 </LaunchAction> 86 </LaunchAction>
75 <ProfileAction 87 <ProfileAction
76 buildConfiguration = "Profile" 88 buildConfiguration = "Profile"
1 -  
2 import 'package:flutter/material.dart'; 1 import 'package:flutter/material.dart';
3 import 'package:flutter_screenutil/flutter_screenutil.dart'; 2 import 'package:flutter_screenutil/flutter_screenutil.dart';
4 import 'package:one_key/models/sms_info.dart'; 3 import 'package:one_key/models/sms_info.dart';
@@ -6,6 +5,7 @@ import 'package:one_key/provider/my_model.dart'; @@ -6,6 +5,7 @@ import 'package:one_key/provider/my_model.dart';
6 import 'package:one_key/res/colors.dart'; 5 import 'package:one_key/res/colors.dart';
7 import 'package:one_key/route/navigator_util.dart'; 6 import 'package:one_key/route/navigator_util.dart';
8 import 'package:one_key/utils/event_bus.dart'; 7 import 'package:one_key/utils/event_bus.dart';
  8 +import 'package:one_key/utils/screen_util.dart';
9 import 'package:one_key/utils/utils.dart'; 9 import 'package:one_key/utils/utils.dart';
10 import 'package:one_key/widgets/MyDivider.dart'; 10 import 'package:one_key/widgets/MyDivider.dart';
11 import 'package:one_key/widgets/h_empty_view.dart'; 11 import 'package:one_key/widgets/h_empty_view.dart';
@@ -253,8 +253,8 @@ class _SmsManagerPageState extends State<SmsManagerPage> { @@ -253,8 +253,8 @@ class _SmsManagerPageState extends State<SmsManagerPage> {
253 ), 253 ),
254 strutStyle: StrutStyle( 254 strutStyle: StrutStyle(
255 forceStrutHeight: true, 255 forceStrutHeight: true,
256 - height: 1,  
257 - leading: 0.3), 256 + height: w(1),
  257 + leading: w(0.3)),
258 ), 258 ),
259 ), 259 ),
260 MyDivider( 260 MyDivider(
@@ -279,8 +279,8 @@ class _SmsManagerPageState extends State<SmsManagerPage> { @@ -279,8 +279,8 @@ class _SmsManagerPageState extends State<SmsManagerPage> {
279 ), 279 ),
280 strutStyle: StrutStyle( 280 strutStyle: StrutStyle(
281 forceStrutHeight: true, 281 forceStrutHeight: true,
282 - height: 1,  
283 - leading: 0.3), 282 + height: w(1),
  283 + leading: w(0.3)),
284 ), 284 ),
285 ), 285 ),
286 // MyDivider( 286 // MyDivider(
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.