Commit b133758912f3d1879923156a367a4379503541f2

Authored by gaiyaguang
1 parent 55522651

ios bug修复

@@ -6,6 +6,9 @@ PODS: @@ -6,6 +6,9 @@ PODS:
6 - Reachability 6 - Reachability
7 - connectivity_macos (0.0.1): 7 - connectivity_macos (0.0.1):
8 - Flutter 8 - Flutter
  9 + - fake_push (0.0.1):
  10 + - Flutter
  11 + - QQ_XGPush (~> 3.3.7)
9 - Flutter (1.0.0) 12 - Flutter (1.0.0)
10 - flutter_statusbarcolor (0.0.1): 13 - flutter_statusbarcolor (0.0.1):
11 - Flutter 14 - Flutter
@@ -29,6 +32,7 @@ PODS: @@ -29,6 +32,7 @@ PODS:
29 - Flutter 32 - Flutter
30 - permission_handler (4.4.0): 33 - permission_handler (4.4.0):
31 - Flutter 34 - Flutter
  35 + - QQ_XGPush (3.3.7)
32 - Reachability (3.2) 36 - Reachability (3.2)
33 - shared_preferences (0.0.1): 37 - shared_preferences (0.0.1):
34 - Flutter 38 - Flutter
@@ -51,6 +55,7 @@ DEPENDENCIES: @@ -51,6 +55,7 @@ DEPENDENCIES:
51 - audioplayers (from `.symlinks/plugins/audioplayers/ios`) 55 - audioplayers (from `.symlinks/plugins/audioplayers/ios`)
52 - connectivity (from `.symlinks/plugins/connectivity/ios`) 56 - connectivity (from `.symlinks/plugins/connectivity/ios`)
53 - connectivity_macos (from `.symlinks/plugins/connectivity_macos/ios`) 57 - connectivity_macos (from `.symlinks/plugins/connectivity_macos/ios`)
  58 + - fake_push (from `.symlinks/plugins/fake_push/ios`)
54 - Flutter (from `Flutter`) 59 - Flutter (from `Flutter`)
55 - flutter_statusbarcolor (from `.symlinks/plugins/flutter_statusbarcolor/ios`) 60 - flutter_statusbarcolor (from `.symlinks/plugins/flutter_statusbarcolor/ios`)
56 - fluttertoast (from `.symlinks/plugins/fluttertoast/ios`) 61 - fluttertoast (from `.symlinks/plugins/fluttertoast/ios`)
@@ -72,6 +77,7 @@ SPEC REPOS: @@ -72,6 +77,7 @@ SPEC REPOS:
72 - FMDB 77 - FMDB
73 - JCore 78 - JCore
74 - JPush 79 - JPush
  80 + - QQ_XGPush
75 - Reachability 81 - Reachability
76 - WechatOpenSDK 82 - WechatOpenSDK
77 83
@@ -82,6 +88,8 @@ EXTERNAL SOURCES: @@ -82,6 +88,8 @@ EXTERNAL SOURCES:
82 :path: ".symlinks/plugins/connectivity/ios" 88 :path: ".symlinks/plugins/connectivity/ios"
83 connectivity_macos: 89 connectivity_macos:
84 :path: ".symlinks/plugins/connectivity_macos/ios" 90 :path: ".symlinks/plugins/connectivity_macos/ios"
  91 + fake_push:
  92 + :path: ".symlinks/plugins/fake_push/ios"
85 Flutter: 93 Flutter:
86 :path: Flutter 94 :path: Flutter
87 flutter_statusbarcolor: 95 flutter_statusbarcolor:
@@ -117,6 +125,7 @@ SPEC CHECKSUMS: @@ -117,6 +125,7 @@ SPEC CHECKSUMS:
117 audioplayers: 84f968cea3f2deab00ec4f8ff53358b3c0b3992c 125 audioplayers: 84f968cea3f2deab00ec4f8ff53358b3c0b3992c
118 connectivity: 6e94255659cc86dcbef1d452ad3e0491bb1b3e75 126 connectivity: 6e94255659cc86dcbef1d452ad3e0491bb1b3e75
119 connectivity_macos: e2e9731b6b22dda39eb1b128f6969d574460e191 127 connectivity_macos: e2e9731b6b22dda39eb1b128f6969d574460e191
  128 + fake_push: 4910f18f47de46b488f01ba99c64ee92df1e8d62
120 Flutter: 0e3d915762c693b495b44d77113d4970485de6ec 129 Flutter: 0e3d915762c693b495b44d77113d4970485de6ec
121 flutter_statusbarcolor: 8afb1071ed8c58be929f1e32b36c629771fd2259 130 flutter_statusbarcolor: 8afb1071ed8c58be929f1e32b36c629771fd2259
122 fluttertoast: b644586ef3b16f67fae9a1f8754cef6b2d6b634b 131 fluttertoast: b644586ef3b16f67fae9a1f8754cef6b2d6b634b
@@ -128,6 +137,7 @@ SPEC CHECKSUMS: @@ -128,6 +137,7 @@ SPEC CHECKSUMS:
128 path_provider: fb74bd0465e96b594bb3b5088ee4a4e7bb1f2a9d 137 path_provider: fb74bd0465e96b594bb3b5088ee4a4e7bb1f2a9d
129 path_provider_macos: f760a3c5b04357c380e2fddb6f9db6f3015897e0 138 path_provider_macos: f760a3c5b04357c380e2fddb6f9db6f3015897e0
130 permission_handler: f615215121f43c1640d2b8500d4ad749512828a8 139 permission_handler: f615215121f43c1640d2b8500d4ad749512828a8
  140 + QQ_XGPush: b3b7065cd0b11490974e3b33a24bf6803e7f9392
131 Reachability: 33e18b67625424e47b6cde6d202dce689ad7af96 141 Reachability: 33e18b67625424e47b6cde6d202dce689ad7af96
132 shared_preferences: 430726339841afefe5142b9c1f50cb6bd7793e01 142 shared_preferences: 430726339841afefe5142b9c1f50cb6bd7793e01
133 shared_preferences_macos: f3f29b71ccbb56bf40c9dd6396c9acf15e214087 143 shared_preferences_macos: f3f29b71ccbb56bf40c9dd6396c9acf15e214087
@@ -48,7 +48,7 @@ @@ -48,7 +48,7 @@
48 9740EEB21CF90195004384FC /* Debug.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = Debug.xcconfig; path = Flutter/Debug.xcconfig; sourceTree = "<group>"; }; 48 9740EEB21CF90195004384FC /* Debug.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = Debug.xcconfig; path = Flutter/Debug.xcconfig; sourceTree = "<group>"; };
49 9740EEB31CF90195004384FC /* Generated.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = Generated.xcconfig; path = Flutter/Generated.xcconfig; sourceTree = "<group>"; }; 49 9740EEB31CF90195004384FC /* Generated.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = Generated.xcconfig; path = Flutter/Generated.xcconfig; sourceTree = "<group>"; };
50 9740EEBA1CF902C7004384FC /* Flutter.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Flutter.framework; path = Flutter/Flutter.framework; sourceTree = "<group>"; }; 50 9740EEBA1CF902C7004384FC /* Flutter.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Flutter.framework; path = Flutter/Flutter.framework; sourceTree = "<group>"; };
51 - 97C146EE1CF9000F007C117D /* Runner.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Runner.app; sourceTree = BUILT_PRODUCTS_DIR; }; 51 + 97C146EE1CF9000F007C117D /* 一键订.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "一键订.app"; sourceTree = BUILT_PRODUCTS_DIR; };
52 97C146FB1CF9000F007C117D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = "<group>"; }; 52 97C146FB1CF9000F007C117D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = "<group>"; };
53 97C146FD1CF9000F007C117D /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = "<group>"; }; 53 97C146FD1CF9000F007C117D /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = "<group>"; };
54 97C147001CF9000F007C117D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = "<group>"; }; 54 97C147001CF9000F007C117D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = "<group>"; };
@@ -118,7 +118,7 @@ @@ -118,7 +118,7 @@
118 97C146EF1CF9000F007C117D /* Products */ = { 118 97C146EF1CF9000F007C117D /* Products */ = {
119 isa = PBXGroup; 119 isa = PBXGroup;
120 children = ( 120 children = (
121 - 97C146EE1CF9000F007C117D /* Runner.app */, 121 + 97C146EE1CF9000F007C117D /* 一键订.app */,
122 ); 122 );
123 name = Products; 123 name = Products;
124 sourceTree = "<group>"; 124 sourceTree = "<group>";
@@ -170,7 +170,7 @@ @@ -170,7 +170,7 @@
170 ); 170 );
171 name = Runner; 171 name = Runner;
172 productName = Runner; 172 productName = Runner;
173 - productReference = 97C146EE1CF9000F007C117D /* Runner.app */; 173 + productReference = 97C146EE1CF9000F007C117D /* 一键订.app */;
174 productType = "com.apple.product-type.application"; 174 productType = "com.apple.product-type.application";
175 }; 175 };
176 /* End PBXNativeTarget section */ 176 /* End PBXNativeTarget section */
@@ -351,8 +351,8 @@ @@ -351,8 +351,8 @@
351 CLANG_WARN_SUSPICIOUS_MOVE = YES; 351 CLANG_WARN_SUSPICIOUS_MOVE = YES;
352 CLANG_WARN_UNREACHABLE_CODE = YES; 352 CLANG_WARN_UNREACHABLE_CODE = YES;
353 CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 353 CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
354 - CODE_SIGN_IDENTITY = "iPhone Developer: 亚光 盖 (78U98359LM)";  
355 - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer: 亚光 盖 (78U98359LM)"; 354 + CODE_SIGN_IDENTITY = "iPhone Distribution: Naji (Beijing) Technology Co., Ltd. (8J59HM8B82)";
  355 + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Distribution: Naji (Beijing) Technology Co., Ltd. (8J59HM8B82)";
356 COPY_PHASE_STRIP = NO; 356 COPY_PHASE_STRIP = NO;
357 DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 357 DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
358 ENABLE_NS_ASSERTIONS = NO; 358 ENABLE_NS_ASSERTIONS = NO;
@@ -383,7 +383,7 @@ @@ -383,7 +383,7 @@
383 CLANG_ENABLE_MODULES = YES; 383 CLANG_ENABLE_MODULES = YES;
384 CODE_SIGN_ENTITLEMENTS = Runner/RunnerProfile.entitlements; 384 CODE_SIGN_ENTITLEMENTS = Runner/RunnerProfile.entitlements;
385 CODE_SIGN_STYLE = Manual; 385 CODE_SIGN_STYLE = Manual;
386 - CURRENT_PROJECT_VERSION = 2; 386 + CURRENT_PROJECT_VERSION = 3;
387 DEVELOPMENT_TEAM = 8J59HM8B82; 387 DEVELOPMENT_TEAM = 8J59HM8B82;
388 ENABLE_BITCODE = NO; 388 ENABLE_BITCODE = NO;
389 FRAMEWORK_SEARCH_PATHS = ( 389 FRAMEWORK_SEARCH_PATHS = (
@@ -396,10 +396,10 @@ @@ -396,10 +396,10 @@
396 "$(inherited)", 396 "$(inherited)",
397 "$(PROJECT_DIR)/Flutter", 397 "$(PROJECT_DIR)/Flutter",
398 ); 398 );
399 - MARKETING_VERSION = 1.0.2; 399 + MARKETING_VERSION = 1.0.3;
400 PRODUCT_BUNDLE_IDENTIFIER = com.naji.reserveLine; 400 PRODUCT_BUNDLE_IDENTIFIER = com.naji.reserveLine;
401 - PRODUCT_NAME = "$(TARGET_NAME)";  
402 - PROVISIONING_PROFILE_SPECIFIER = "Push Development Profile"; 401 + PRODUCT_NAME = "一键订";
  402 + PROVISIONING_PROFILE_SPECIFIER = "OneKey Distribution Profile";
403 SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h"; 403 SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";
404 SWIFT_VERSION = 5.0; 404 SWIFT_VERSION = 5.0;
405 VERSIONING_SYSTEM = "apple-generic"; 405 VERSIONING_SYSTEM = "apple-generic";
@@ -526,7 +526,7 @@ @@ -526,7 +526,7 @@
526 CLANG_ENABLE_MODULES = YES; 526 CLANG_ENABLE_MODULES = YES;
527 CODE_SIGN_ENTITLEMENTS = Runner/Runner.entitlements; 527 CODE_SIGN_ENTITLEMENTS = Runner/Runner.entitlements;
528 CODE_SIGN_STYLE = Manual; 528 CODE_SIGN_STYLE = Manual;
529 - CURRENT_PROJECT_VERSION = 2; 529 + CURRENT_PROJECT_VERSION = 3;
530 DEVELOPMENT_TEAM = 8J59HM8B82; 530 DEVELOPMENT_TEAM = 8J59HM8B82;
531 ENABLE_BITCODE = NO; 531 ENABLE_BITCODE = NO;
532 FRAMEWORK_SEARCH_PATHS = ( 532 FRAMEWORK_SEARCH_PATHS = (
@@ -539,9 +539,9 @@ @@ -539,9 +539,9 @@
539 "$(inherited)", 539 "$(inherited)",
540 "$(PROJECT_DIR)/Flutter", 540 "$(PROJECT_DIR)/Flutter",
541 ); 541 );
542 - MARKETING_VERSION = 1.0.2; 542 + MARKETING_VERSION = 1.0.3;
543 PRODUCT_BUNDLE_IDENTIFIER = com.naji.reserveLine; 543 PRODUCT_BUNDLE_IDENTIFIER = com.naji.reserveLine;
544 - PRODUCT_NAME = "$(TARGET_NAME)"; 544 + PRODUCT_NAME = "一键订";
545 PROVISIONING_PROFILE_SPECIFIER = "Push Development Profile"; 545 PROVISIONING_PROFILE_SPECIFIER = "Push Development Profile";
546 SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h"; 546 SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";
547 SWIFT_OPTIMIZATION_LEVEL = "-Onone"; 547 SWIFT_OPTIMIZATION_LEVEL = "-Onone";
@@ -558,7 +558,7 @@ @@ -558,7 +558,7 @@
558 CLANG_ENABLE_MODULES = YES; 558 CLANG_ENABLE_MODULES = YES;
559 CODE_SIGN_ENTITLEMENTS = Runner/Runner.entitlements; 559 CODE_SIGN_ENTITLEMENTS = Runner/Runner.entitlements;
560 CODE_SIGN_STYLE = Manual; 560 CODE_SIGN_STYLE = Manual;
561 - CURRENT_PROJECT_VERSION = 2; 561 + CURRENT_PROJECT_VERSION = 3;
562 DEVELOPMENT_TEAM = 8J59HM8B82; 562 DEVELOPMENT_TEAM = 8J59HM8B82;
563 ENABLE_BITCODE = NO; 563 ENABLE_BITCODE = NO;
564 FRAMEWORK_SEARCH_PATHS = ( 564 FRAMEWORK_SEARCH_PATHS = (
@@ -571,10 +571,10 @@ @@ -571,10 +571,10 @@
571 "$(inherited)", 571 "$(inherited)",
572 "$(PROJECT_DIR)/Flutter", 572 "$(PROJECT_DIR)/Flutter",
573 ); 573 );
574 - MARKETING_VERSION = 1.0.2; 574 + MARKETING_VERSION = 1.0.3;
575 PRODUCT_BUNDLE_IDENTIFIER = com.naji.reserveLine; 575 PRODUCT_BUNDLE_IDENTIFIER = com.naji.reserveLine;
576 - PRODUCT_NAME = "$(TARGET_NAME)";  
577 - PROVISIONING_PROFILE_SPECIFIER = "Push Development Profile"; 576 + PRODUCT_NAME = "一键订";
  577 + PROVISIONING_PROFILE_SPECIFIER = "OneKey Distribution Profile";
578 SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h"; 578 SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";
579 SWIFT_VERSION = 5.0; 579 SWIFT_VERSION = 5.0;
580 VERSIONING_SYSTEM = "apple-generic"; 580 VERSIONING_SYSTEM = "apple-generic";
@@ -15,7 +15,7 @@ @@ -15,7 +15,7 @@
15 <BuildableReference 15 <BuildableReference
16 BuildableIdentifier = "primary" 16 BuildableIdentifier = "primary"
17 BlueprintIdentifier = "97C146ED1CF9000F007C117D" 17 BlueprintIdentifier = "97C146ED1CF9000F007C117D"
18 - BuildableName = "Runner.app" 18 + BuildableName = "&#x4e00;&#x952e;&#x8ba2;.app"
19 BlueprintName = "Runner" 19 BlueprintName = "Runner"
20 ReferencedContainer = "container:Runner.xcodeproj"> 20 ReferencedContainer = "container:Runner.xcodeproj">
21 </BuildableReference> 21 </BuildableReference>
@@ -27,19 +27,17 @@ @@ -27,19 +27,17 @@
27 selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB" 27 selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
28 selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB" 28 selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
29 shouldUseLaunchSchemeArgsEnv = "YES"> 29 shouldUseLaunchSchemeArgsEnv = "YES">
30 - <Testables>  
31 - </Testables>  
32 <MacroExpansion> 30 <MacroExpansion>
33 <BuildableReference 31 <BuildableReference
34 BuildableIdentifier = "primary" 32 BuildableIdentifier = "primary"
35 BlueprintIdentifier = "97C146ED1CF9000F007C117D" 33 BlueprintIdentifier = "97C146ED1CF9000F007C117D"
36 - BuildableName = "Runner.app" 34 + BuildableName = "&#x4e00;&#x952e;&#x8ba2;.app"
37 BlueprintName = "Runner" 35 BlueprintName = "Runner"
38 ReferencedContainer = "container:Runner.xcodeproj"> 36 ReferencedContainer = "container:Runner.xcodeproj">
39 </BuildableReference> 37 </BuildableReference>
40 </MacroExpansion> 38 </MacroExpansion>
41 - <AdditionalOptions>  
42 - </AdditionalOptions> 39 + <Testables>
  40 + </Testables>
43 </TestAction> 41 </TestAction>
44 <LaunchAction 42 <LaunchAction
45 buildConfiguration = "Debug" 43 buildConfiguration = "Debug"
@@ -56,13 +54,11 @@ @@ -56,13 +54,11 @@
56 <BuildableReference 54 <BuildableReference
57 BuildableIdentifier = "primary" 55 BuildableIdentifier = "primary"
58 BlueprintIdentifier = "97C146ED1CF9000F007C117D" 56 BlueprintIdentifier = "97C146ED1CF9000F007C117D"
59 - BuildableName = "Runner.app" 57 + BuildableName = "&#x4e00;&#x952e;&#x8ba2;.app"
60 BlueprintName = "Runner" 58 BlueprintName = "Runner"
61 ReferencedContainer = "container:Runner.xcodeproj"> 59 ReferencedContainer = "container:Runner.xcodeproj">
62 </BuildableReference> 60 </BuildableReference>
63 </BuildableProductRunnable> 61 </BuildableProductRunnable>
64 - <AdditionalOptions>  
65 - </AdditionalOptions>  
66 </LaunchAction> 62 </LaunchAction>
67 <ProfileAction 63 <ProfileAction
68 buildConfiguration = "Profile" 64 buildConfiguration = "Profile"
@@ -75,7 +71,7 @@ @@ -75,7 +71,7 @@
75 <BuildableReference 71 <BuildableReference
76 BuildableIdentifier = "primary" 72 BuildableIdentifier = "primary"
77 BlueprintIdentifier = "97C146ED1CF9000F007C117D" 73 BlueprintIdentifier = "97C146ED1CF9000F007C117D"
78 - BuildableName = "Runner.app" 74 + BuildableName = "&#x4e00;&#x952e;&#x8ba2;.app"
79 BlueprintName = "Runner" 75 BlueprintName = "Runner"
80 ReferencedContainer = "container:Runner.xcodeproj"> 76 ReferencedContainer = "container:Runner.xcodeproj">
81 </BuildableReference> 77 </BuildableReference>
  1 +<?xml version="1.0" encoding="UTF-8"?>
  2 +<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
  3 +<plist version="1.0">
  4 +<dict>
  5 + <key>PreviewsEnabled</key>
  6 + <false/>
  7 +</dict>
  8 +</plist>
@@ -7,7 +7,7 @@ @@ -7,7 +7,7 @@
7 <key>CFBundleDevelopmentRegion</key> 7 <key>CFBundleDevelopmentRegion</key>
8 <string>$(DEVELOPMENT_LANGUAGE)</string> 8 <string>$(DEVELOPMENT_LANGUAGE)</string>
9 <key>CFBundleDisplayName</key> 9 <key>CFBundleDisplayName</key>
10 - <string></string> 10 + <string>$(PRODUCT_NAME)</string>
11 <key>CFBundleExecutable</key> 11 <key>CFBundleExecutable</key>
12 <string>$(EXECUTABLE_NAME)</string> 12 <string>$(EXECUTABLE_NAME)</string>
13 <key>CFBundleIdentifier</key> 13 <key>CFBundleIdentifier</key>
@@ -55,13 +55,15 @@ class HandleOnlinePageState extends State<HandleOnlinePage> { @@ -55,13 +55,15 @@ class HandleOnlinePageState extends State<HandleOnlinePage> {
55 detailEntity=await detailModel.getReserveDetail(context, { 55 detailEntity=await detailModel.getReserveDetail(context, {
56 "rid":widget.rid, 56 "rid":widget.rid,
57 }); 57 });
  58 + setState(() {//未处理
  59 + cusmanText=detailEntity.cusman.isEmpty?"请选择":detailEntity.cusman;
  60 + });
58 if(detailEntity.status!="0"){//已处理 61 if(detailEntity.status!="0"){//已处理
  62 + Future.delayed(Duration(milliseconds: 200),(){
  63 + NavigatorUtil.goNotebookDetailPage(context, detailEntity.id,replace: true);
  64 + });
59 setMessageStatus(); 65 setMessageStatus();
60 - NavigatorUtil.goNotebookDetailPage(context, detailEntity.id,replace: true);  
61 }else{ 66 }else{
62 - setState(() {//未处理  
63 - cusmanText=detailEntity.cusman.isEmpty?"请选择":detailEntity.cusman;  
64 - });  
65 managers=await detailModel.getManagers(context); 67 managers=await detailModel.getManagers(context);
66 } 68 }
67 }); 69 });
@@ -99,7 +101,7 @@ class HandleOnlinePageState extends State<HandleOnlinePage> { @@ -99,7 +101,7 @@ class HandleOnlinePageState extends State<HandleOnlinePage> {
99 child: Text("去安排",style: TextStyle(fontSize: ScreenUtil().setSp(32)),), 101 child: Text("去安排",style: TextStyle(fontSize: ScreenUtil().setSp(32)),),
100 onPressed: () async { 102 onPressed: () async {
101 Navigator.of(context).pop(); 103 Navigator.of(context).pop();
102 - String tid=await NavigatorUtil.goSelectTablePage(context,widget.rid,DateTime.fromMillisecondsSinceEpoch(int.parse(detailEntity.ddate)*1000),detailEntity.ddate_solt); 104 + String tid=await NavigatorUtil.goSelectTablePage(context,widget.rid,int.parse(detailEntity.ddate)*1000,detailEntity.ddate_solt);
103 if(tid!=null){ 105 if(tid!=null){
104 setReserveStatus("5",tid:tid); 106 setReserveStatus("5",tid:tid);
105 } 107 }
@@ -143,8 +145,12 @@ class HandleOnlinePageState extends State<HandleOnlinePage> { @@ -143,8 +145,12 @@ class HandleOnlinePageState extends State<HandleOnlinePage> {
143 @override 145 @override
144 Widget build(BuildContext context) { 146 Widget build(BuildContext context) {
145 // TODO: implement build 147 // TODO: implement build
146 - return detailEntity==null?Container():SafeArea(  
147 - child: Column( 148 + return SafeArea(
  149 + child: detailEntity==null?Container(
  150 + width: double.infinity,
  151 + height: double.infinity,
  152 + color: MyColours.color_ffffff,
  153 + ):Column(
148 children: <Widget>[ 154 children: <Widget>[
149 MyAppBar( 155 MyAppBar(
150 "在线预订详情", 156 "在线预订详情",
@@ -244,7 +250,7 @@ class HandleOnlinePageState extends State<HandleOnlinePage> { @@ -244,7 +250,7 @@ class HandleOnlinePageState extends State<HandleOnlinePage> {
244 height: 76, 250 height: 76,
245 fontSize: 34, 251 fontSize: 34,
246 onPress: () async { 252 onPress: () async {
247 - String tid=await NavigatorUtil.goSelectTablePage(context,widget.rid,DateTime.fromMillisecondsSinceEpoch(int.parse(detailEntity.ddate)*1000),detailEntity.ddate_solt); 253 + String tid=await NavigatorUtil.goSelectTablePage(context,widget.rid,int.parse(detailEntity.ddate)*1000,detailEntity.ddate_solt);
248 if(tid!=null){ 254 if(tid!=null){
249 setReserveStatus("5",tid:tid); 255 setReserveStatus("5",tid:tid);
250 } 256 }
@@ -76,8 +76,12 @@ class NotebookDetailPageState extends State<NotebookDetailPage> { @@ -76,8 +76,12 @@ class NotebookDetailPageState extends State<NotebookDetailPage> {
76 @override 76 @override
77 Widget build(BuildContext context) { 77 Widget build(BuildContext context) {
78 // TODO: implement build 78 // TODO: implement build
79 - return detailEntity==null?Container():SafeArea(  
80 - child: Container( 79 + return SafeArea(
  80 + child: detailEntity==null?Container(
  81 + width: double.infinity,
  82 + height: double.infinity,
  83 + color: MyColours.color_ffffff,
  84 + ):Container(
81 color: MyColours.color_ffffff, 85 color: MyColours.color_ffffff,
82 child: Column( 86 child: Column(
83 children: <Widget>[ 87 children: <Widget>[
@@ -107,7 +107,7 @@ class HomePageState extends State<HomePage>{ @@ -107,7 +107,7 @@ class HomePageState extends State<HomePage>{
107 ); 107 );
108 108
109 jpush.applyPushAuthority( 109 jpush.applyPushAuthority(
110 - new NotificationSettingsIOS(sound: true, alert: true, badge: true)); 110 + new NotificationSettingsIOS(sound: true, alert: true, badge: false));
111 111
112 // Platform messages may fail, so we use a try/catch PlatformException. 112 // Platform messages may fail, so we use a try/catch PlatformException.
113 jpush.getRegistrationID().then((rid) { 113 jpush.getRegistrationID().then((rid) {
@@ -91,7 +91,9 @@ class LoginState extends State<LoginPage> with WidgetsBindingObserver{ @@ -91,7 +91,9 @@ class LoginState extends State<LoginPage> with WidgetsBindingObserver{
91 UserModel userModel=Provider.of<UserModel>(context,listen: false); 91 UserModel userModel=Provider.of<UserModel>(context,listen: false);
92 userModel.initUser(); 92 userModel.initUser();
93 if(App.sp.getBool("isLogin")??false){ 93 if(App.sp.getBool("isLogin")??false){
94 - NavigatorUtil.goHomePage(context); 94 + Future.delayed(Duration(milliseconds: 200),(){
  95 + NavigatorUtil.goHomePage(context);
  96 + });
95 } 97 }
96 } 98 }
97 99
@@ -149,8 +149,12 @@ class SelectTablePageState extends State<SelectTablePage>{ @@ -149,8 +149,12 @@ class SelectTablePageState extends State<SelectTablePage>{
149 @override 149 @override
150 Widget build(BuildContext context) { 150 Widget build(BuildContext context) {
151 // TODO: implement build 151 // TODO: implement build
152 - return areaTableMap.isEmpty?Container():SafeArea(  
153 - child: Column( 152 + return SafeArea(
  153 + child: areaTableMap.isEmpty?Container(
  154 + width: double.infinity,
  155 + height: double.infinity,
  156 + color: MyColours.color_ffffff,
  157 + ):Column(
154 children: <Widget>[ 158 children: <Widget>[
155 MyAppBar( 159 MyAppBar(
156 "选择桌位", 160 "选择桌位",
@@ -18,7 +18,7 @@ class NoteBookModel extends ChangeNotifier{ @@ -18,7 +18,7 @@ class NoteBookModel extends ChangeNotifier{
18 Future<List<Notebook>> getReserveList(BuildContext context,Map<String,String> params) async { 18 Future<List<Notebook>> getReserveList(BuildContext context,Map<String,String> params) async {
19 BaseResp<List> baseResp = await DioUtil() 19 BaseResp<List> baseResp = await DioUtil()
20 .request<List>(context, Method.get, HttpUrl.get_reserve_list, 20 .request<List>(context, Method.get, HttpUrl.get_reserve_list,
21 - data: params,showLoading: false) 21 + data: params,showLoading: true)
22 .catchError((error) { 22 .catchError((error) {
23 print(error.toString()); 23 print(error.toString());
24 }); 24 });
@@ -14,7 +14,7 @@ class SelectTableModel{ @@ -14,7 +14,7 @@ class SelectTableModel{
14 Future<List<TableOuter>> getTableList(BuildContext context,Map<String,String> params) async { 14 Future<List<TableOuter>> getTableList(BuildContext context,Map<String,String> params) async {
15 BaseResp<List> baseResp = await DioUtil() 15 BaseResp<List> baseResp = await DioUtil()
16 .request<List>(context, Method.get, HttpUrl.table_list, 16 .request<List>(context, Method.get, HttpUrl.table_list,
17 - data: params,showLoading: false) 17 + data: params,showLoading: true)
18 .catchError((error) { 18 .catchError((error) {
19 print(error.toString()); 19 print(error.toString());
20 }); 20 });
@@ -45,8 +45,8 @@ class NavigatorUtil { @@ -45,8 +45,8 @@ class NavigatorUtil {
45 } 45 }
46 46
47 /// 选择桌位 47 /// 选择桌位
48 - static Future goSelectTablePage(BuildContext context,String rid,DateTime dateTime,String ddate_slot) {  
49 - return _navigateTo(context,"${Routes.select_table}?rid=$rid&dateTime=${dateTime.millisecondsSinceEpoch}&ddate_slot=$ddate_slot"); 48 + static Future goSelectTablePage(BuildContext context,String rid,int dateTime,String ddate_slot) {
  49 + return _navigateTo(context,"${Routes.select_table}?rid=$rid&dateTime=$dateTime&ddate_slot=$ddate_slot");
50 } 50 }
51 51
52 /// 邀请函 52 /// 邀请函