From e0d14649f4ce52637037319437b4b327baec3e17 Mon Sep 17 00:00:00 2001 From: "23028876916@qq.com" Date: Fri, 14 May 2021 14:57:46 +0800 Subject: [PATCH] =?UTF-8?q?0514=20=E6=90=9C=E7=B4=A2=E7=BB=93=E6=9E=9C?= =?UTF-8?q?=E9=A1=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .dart_tool/package_config.json | 746 ++++++++++++++++++ .../MainActivity.java | 8 + .../order_found_result_page.dart | 80 +- pubspec.yaml | 4 +- 4 files changed, 808 insertions(+), 30 deletions(-) create mode 100644 .dart_tool/package_config.json diff --git a/.dart_tool/package_config.json b/.dart_tool/package_config.json new file mode 100644 index 0000000..d3450a5 --- /dev/null +++ b/.dart_tool/package_config.json @@ -0,0 +1,746 @@ +{ + "configVersion": 2, + "packages": [ + { + "name": "ali_auth_wbq", + "rootUri": "file:///D:/flutter/flutter/.pub-cache/git/zhiying_ali_auth_wbq-f6421fe5735eab13738946da8fa7405e7aa952c6/", + "packageUri": "lib/", + "languageVersion": "2.1" + }, + { + "name": "amap_flutter_location", + "rootUri": "file:///D:/flutter/flutter/.pub-cache/hosted/pub.flutter-io.cn/amap_flutter_location-1.0.1", + "packageUri": "lib/", + "languageVersion": "2.7" + }, + { + "name": "archive", + "rootUri": "file:///D:/flutter/flutter/.pub-cache/hosted/pub.flutter-io.cn/archive-2.0.13", + "packageUri": "lib/", + "languageVersion": "2.0" + }, + { + "name": "args", + "rootUri": "file:///D:/flutter/flutter/.pub-cache/hosted/pub.flutter-io.cn/args-1.6.0", + "packageUri": "lib/", + "languageVersion": "2.3" + }, + { + "name": "async", + "rootUri": "file:///D:/flutter/flutter/.pub-cache/hosted/pub.flutter-io.cn/async-2.5.0-nullsafety.1", + "packageUri": "lib/", + "languageVersion": "2.10" + }, + { + "name": "bloc", + "rootUri": "file:///D:/flutter/flutter/.pub-cache/hosted/pub.flutter-io.cn/bloc-5.0.1", + "packageUri": "lib/", + "languageVersion": "2.6" + }, + { + "name": "boolean_selector", + "rootUri": "file:///D:/flutter/flutter/.pub-cache/hosted/pub.flutter-io.cn/boolean_selector-2.1.0-nullsafety.1", + "packageUri": "lib/", + "languageVersion": "2.10" + }, + { + "name": "cached_network_image", + "rootUri": "file:///D:/flutter/flutter/.pub-cache/hosted/pub.flutter-io.cn/cached_network_image-2.5.1", + "packageUri": "lib/", + "languageVersion": "2.10" + }, + { + "name": "characters", + "rootUri": "file:///D:/flutter/flutter/.pub-cache/hosted/pub.flutter-io.cn/characters-1.1.0-nullsafety.3", + "packageUri": "lib/", + "languageVersion": "2.10" + }, + { + "name": "charcode", + "rootUri": "file:///D:/flutter/flutter/.pub-cache/hosted/pub.flutter-io.cn/charcode-1.2.0-nullsafety.1", + "packageUri": "lib/", + "languageVersion": "2.10" + }, + { + "name": "clock", + "rootUri": "file:///D:/flutter/flutter/.pub-cache/hosted/pub.flutter-io.cn/clock-1.1.0-nullsafety.1", + "packageUri": "lib/", + "languageVersion": "2.10" + }, + { + "name": "collection", + "rootUri": "file:///D:/flutter/flutter/.pub-cache/hosted/pub.flutter-io.cn/collection-1.15.0-nullsafety.3", + "packageUri": "lib/", + "languageVersion": "2.10" + }, + { + "name": "convert", + "rootUri": "file:///D:/flutter/flutter/.pub-cache/hosted/pub.flutter-io.cn/convert-2.1.1", + "packageUri": "lib/", + "languageVersion": "1.17" + }, + { + "name": "cookie_jar", + "rootUri": "file:///D:/flutter/flutter/.pub-cache/hosted/pub.flutter-io.cn/cookie_jar-1.0.1", + "packageUri": "lib/", + "languageVersion": "1.20" + }, + { + "name": "crypto", + "rootUri": "file:///D:/flutter/flutter/.pub-cache/hosted/pub.flutter-io.cn/crypto-2.1.5", + "packageUri": "lib/", + "languageVersion": "2.3" + }, + { + "name": "cubit", + "rootUri": "file:///D:/flutter/flutter/.pub-cache/hosted/pub.flutter-io.cn/cubit-0.1.2", + "packageUri": "lib/", + "languageVersion": "2.7" + }, + { + "name": "device_info", + "rootUri": "file:///D:/flutter/flutter/.pub-cache/hosted/pub.flutter-io.cn/device_info-0.4.2+10", + "packageUri": "lib/", + "languageVersion": "2.1" + }, + { + "name": "device_info_platform_interface", + "rootUri": "file:///D:/flutter/flutter/.pub-cache/hosted/pub.flutter-io.cn/device_info_platform_interface-1.0.1", + "packageUri": "lib/", + "languageVersion": "2.7" + }, + { + "name": "dio", + "rootUri": "file:///D:/flutter/flutter/.pub-cache/hosted/pub.flutter-io.cn/dio-3.0.10", + "packageUri": "lib/", + "languageVersion": "2.4" + }, + { + "name": "dio_cookie_manager", + "rootUri": "file:///D:/flutter/flutter/.pub-cache/hosted/pub.flutter-io.cn/dio_cookie_manager-1.0.0", + "packageUri": "lib/", + "languageVersion": "2.4" + }, + { + "name": "equatable", + "rootUri": "file:///D:/flutter/flutter/.pub-cache/hosted/pub.flutter-io.cn/equatable-1.2.6", + "packageUri": "lib/", + "languageVersion": "2.0" + }, + { + "name": "event_bus", + "rootUri": "file:///D:/flutter/flutter/.pub-cache/hosted/pub.flutter-io.cn/event_bus-1.1.1", + "packageUri": "lib/", + "languageVersion": "2.0" + }, + { + "name": "fake_async", + "rootUri": "file:///D:/flutter/flutter/.pub-cache/hosted/pub.flutter-io.cn/fake_async-1.2.0-nullsafety.1", + "packageUri": "lib/", + "languageVersion": "2.10" + }, + { + "name": "ffi", + "rootUri": "file:///D:/flutter/flutter/.pub-cache/hosted/pub.flutter-io.cn/ffi-0.1.3", + "packageUri": "lib/", + "languageVersion": "2.6" + }, + { + "name": "file", + "rootUri": "file:///D:/flutter/flutter/.pub-cache/hosted/pub.flutter-io.cn/file-5.2.1", + "packageUri": "lib/", + "languageVersion": "2.2" + }, + { + "name": "flutter", + "rootUri": "file:///D:/flutter/flutter/packages/flutter", + "packageUri": "lib/", + "languageVersion": "2.10" + }, + { + "name": "flutter_alibc", + "rootUri": "file:///D:/flutter/flutter/.pub-cache/git/zhiying_flutter_alibc-321acab9044f4097088c4235f46d16a4946eec9f/", + "packageUri": "lib/", + "languageVersion": "2.1" + }, + { + "name": "flutter_bloc", + "rootUri": "file:///D:/flutter/flutter/.pub-cache/hosted/pub.flutter-io.cn/flutter_bloc-5.0.1", + "packageUri": "lib/", + "languageVersion": "2.6" + }, + { + "name": "flutter_blurhash", + "rootUri": "file:///D:/flutter/flutter/.pub-cache/hosted/pub.flutter-io.cn/flutter_blurhash-0.5.0", + "packageUri": "lib/", + "languageVersion": "2.4" + }, + { + "name": "flutter_cache_manager", + "rootUri": "file:///D:/flutter/flutter/.pub-cache/hosted/pub.flutter-io.cn/flutter_cache_manager-2.1.0", + "packageUri": "lib/", + "languageVersion": "2.6" + }, + { + "name": "flutter_clipboard_plugin", + "rootUri": "file:///D:/flutter/flutter/.pub-cache/git/flutter_clipboard_plugin-409b284517d93c775a502176389047fa73064900/", + "packageUri": "lib/", + "languageVersion": "2.7" + }, + { + "name": "flutter_cubit", + "rootUri": "file:///D:/flutter/flutter/.pub-cache/hosted/pub.flutter-io.cn/flutter_cubit-0.1.1", + "packageUri": "lib/", + "languageVersion": "2.7" + }, + { + "name": "flutter_cupertino_date_picker", + "rootUri": "file:///D:/flutter/flutter/.pub-cache/git/flutter-cupertino-date-picker-82142a924a770e68dca2a2f7b51449166870d7e2/", + "packageUri": "lib/", + "languageVersion": "1.19" + }, + { + "name": "flutter_native_image", + "rootUri": "file:///D:/flutter/flutter/.pub-cache/hosted/pub.flutter-io.cn/flutter_native_image-0.0.5+3", + "packageUri": "lib/", + "languageVersion": "1.19" + }, + { + "name": "flutter_page_indicator", + "rootUri": "file:///D:/flutter/flutter/.pub-cache/hosted/pub.flutter-io.cn/flutter_page_indicator-0.0.3", + "packageUri": "lib/", + "languageVersion": "2.0" + }, + { + "name": "flutter_plugin_android_lifecycle", + "rootUri": "file:///D:/flutter/flutter/.pub-cache/hosted/pub.flutter-io.cn/flutter_plugin_android_lifecycle-1.0.11", + "packageUri": "lib/", + "languageVersion": "2.1" + }, + { + "name": "flutter_screenutil", + "rootUri": "file:///D:/flutter/flutter/.pub-cache/hosted/pub.flutter-io.cn/flutter_screenutil-1.1.0", + "packageUri": "lib/", + "languageVersion": "2.6" + }, + { + "name": "flutter_slidable", + "rootUri": "file:///D:/flutter/flutter/.pub-cache/hosted/pub.flutter-io.cn/flutter_slidable-0.5.7", + "packageUri": "lib/", + "languageVersion": "1.19" + }, + { + "name": "flutter_swiper", + "rootUri": "file:///D:/flutter/flutter/.pub-cache/hosted/pub.flutter-io.cn/flutter_swiper-1.1.6", + "packageUri": "lib/", + "languageVersion": "2.0" + }, + { + "name": "flutter_test", + "rootUri": "file:///D:/flutter/flutter/packages/flutter_test", + "packageUri": "lib/", + "languageVersion": "2.2" + }, + { + "name": "flutter_update_dialog", + "rootUri": "file:///D:/flutter/flutter/.pub-cache/hosted/pub.flutter-io.cn/flutter_update_dialog-1.0.0", + "packageUri": "lib/", + "languageVersion": "2.7" + }, + { + "name": "flutter_user_agent", + "rootUri": "file:///D:/flutter/flutter/.pub-cache/hosted/pub.flutter-io.cn/flutter_user_agent-1.2.2", + "packageUri": "lib/", + "languageVersion": "2.0" + }, + { + "name": "flutter_web_plugins", + "rootUri": "file:///D:/flutter/flutter/packages/flutter_web_plugins", + "packageUri": "lib/", + "languageVersion": "2.0" + }, + { + "name": "flutter_xupdate", + "rootUri": "file:///D:/flutter/flutter/.pub-cache/git/flutter_xupdate-d17c695461ee4588dec990533d7467c11884cd0f/", + "packageUri": "lib/", + "languageVersion": "2.7" + }, + { + "name": "fluttertoast", + "rootUri": "file:///D:/flutter/flutter/.pub-cache/hosted/pub.flutter-io.cn/fluttertoast-4.0.1", + "packageUri": "lib/", + "languageVersion": "2.0" + }, + { + "name": "fluwx", + "rootUri": "file:///D:/flutter/flutter/.pub-cache/hosted/pub.flutter-io.cn/fluwx-2.6.2", + "packageUri": "lib/", + "languageVersion": "2.6" + }, + { + "name": "http", + "rootUri": "file:///D:/flutter/flutter/.pub-cache/hosted/pub.flutter-io.cn/http-0.12.2", + "packageUri": "lib/", + "languageVersion": "2.4" + }, + { + "name": "http_parser", + "rootUri": "file:///D:/flutter/flutter/.pub-cache/hosted/pub.flutter-io.cn/http_parser-3.1.4", + "packageUri": "lib/", + "languageVersion": "2.3" + }, + { + "name": "image", + "rootUri": "file:///D:/flutter/flutter/.pub-cache/hosted/pub.flutter-io.cn/image-2.1.19", + "packageUri": "lib/", + "languageVersion": "2.0" + }, + { + "name": "image_cropper", + "rootUri": "file:///D:/flutter/flutter/.pub-cache/git/Image_Cropper-e32f2264f86a27a2f5d7a7a5e26c6154eaf5798e/", + "packageUri": "lib/", + "languageVersion": "1.20" + }, + { + "name": "image_picker", + "rootUri": "file:///D:/flutter/flutter/.pub-cache/hosted/pub.flutter-io.cn/image_picker-0.6.7+22", + "packageUri": "lib/", + "languageVersion": "2.1" + }, + { + "name": "image_picker_platform_interface", + "rootUri": "file:///D:/flutter/flutter/.pub-cache/hosted/pub.flutter-io.cn/image_picker_platform_interface-1.1.6", + "packageUri": "lib/", + "languageVersion": "2.5" + }, + { + "name": "intl", + "rootUri": "file:///D:/flutter/flutter/.pub-cache/hosted/pub.flutter-io.cn/intl-0.16.1", + "packageUri": "lib/", + "languageVersion": "2.5" + }, + { + "name": "jdsdk", + "rootUri": "file:///D:/flutter/flutter/.pub-cache/hosted/pub.flutter-io.cn/jdsdk-0.0.1", + "packageUri": "lib/", + "languageVersion": "2.1" + }, + { + "name": "loading_indicator", + "rootUri": "file:///D:/flutter/flutter/.pub-cache/hosted/pub.flutter-io.cn/loading_indicator-1.2.0", + "packageUri": "lib/", + "languageVersion": "2.7" + }, + { + "name": "matcher", + "rootUri": "file:///D:/flutter/flutter/.pub-cache/hosted/pub.flutter-io.cn/matcher-0.12.10-nullsafety.1", + "packageUri": "lib/", + "languageVersion": "2.10" + }, + { + "name": "meta", + "rootUri": "file:///D:/flutter/flutter/.pub-cache/hosted/pub.flutter-io.cn/meta-1.3.0-nullsafety.3", + "packageUri": "lib/", + "languageVersion": "2.10" + }, + { + "name": "mobcommonlib", + "rootUri": "file:///D:/flutter/flutter/.pub-cache/hosted/pub.flutter-io.cn/mobcommonlib-1.0.2", + "packageUri": "lib/", + "languageVersion": "2.7" + }, + { + "name": "moblink", + "rootUri": "file:///D:/flutter/flutter/.pub-cache/git/moblink-5472bb698d70e336cf55febb9b0a209411466632/", + "packageUri": "lib/", + "languageVersion": "2.1" + }, + { + "name": "mobpush_plugin", + "rootUri": "file:///D:/flutter/flutter/.pub-cache/hosted/pub.flutter-io.cn/mobpush_plugin-1.1.6", + "packageUri": "lib/", + "languageVersion": "2.1" + }, + { + "name": "mobsms", + "rootUri": "file:///D:/flutter/flutter/.pub-cache/hosted/pub.flutter-io.cn/mobsms-1.1.3", + "packageUri": "lib/", + "languageVersion": "2.0" + }, + { + "name": "more_picture_share", + "rootUri": "file:///D:/flutter/flutter/.pub-cache/git/more_picture_share-4767c418bfe4b8d75f9f8958199384141ba88e21/", + "packageUri": "lib/", + "languageVersion": "2.7" + }, + { + "name": "nested", + "rootUri": "file:///D:/flutter/flutter/.pub-cache/hosted/pub.flutter-io.cn/nested-0.0.4", + "packageUri": "lib/", + "languageVersion": "2.2" + }, + { + "name": "octo_image", + "rootUri": "file:///D:/flutter/flutter/.pub-cache/hosted/pub.flutter-io.cn/octo_image-0.3.0", + "packageUri": "lib/", + "languageVersion": "2.7" + }, + { + "name": "package_info", + "rootUri": "file:///D:/flutter/flutter/.pub-cache/hosted/pub.flutter-io.cn/package_info-0.4.3+4", + "packageUri": "lib/", + "languageVersion": "2.1" + }, + { + "name": "path", + "rootUri": "file:///D:/flutter/flutter/.pub-cache/hosted/pub.flutter-io.cn/path-1.8.0-nullsafety.1", + "packageUri": "lib/", + "languageVersion": "2.10" + }, + { + "name": "path_provider", + "rootUri": "file:///D:/flutter/flutter/.pub-cache/hosted/pub.flutter-io.cn/path_provider-1.6.28", + "packageUri": "lib/", + "languageVersion": "2.1" + }, + { + "name": "path_provider_linux", + "rootUri": "file:///D:/flutter/flutter/.pub-cache/hosted/pub.flutter-io.cn/path_provider_linux-0.0.1+2", + "packageUri": "lib/", + "languageVersion": "2.1" + }, + { + "name": "path_provider_macos", + "rootUri": "file:///D:/flutter/flutter/.pub-cache/hosted/pub.flutter-io.cn/path_provider_macos-0.0.4+8", + "packageUri": "lib/", + "languageVersion": "2.1" + }, + { + "name": "path_provider_platform_interface", + "rootUri": "file:///D:/flutter/flutter/.pub-cache/hosted/pub.flutter-io.cn/path_provider_platform_interface-1.0.4", + "packageUri": "lib/", + "languageVersion": "2.1" + }, + { + "name": "path_provider_windows", + "rootUri": "file:///D:/flutter/flutter/.pub-cache/hosted/pub.flutter-io.cn/path_provider_windows-0.0.4+3", + "packageUri": "lib/", + "languageVersion": "2.1" + }, + { + "name": "pedantic", + "rootUri": "file:///D:/flutter/flutter/.pub-cache/hosted/pub.flutter-io.cn/pedantic-1.9.2", + "packageUri": "lib/", + "languageVersion": "2.1" + }, + { + "name": "permission_handler", + "rootUri": "file:///D:/flutter/flutter/.pub-cache/git/permission_handler-c51d87952b6947996eebeb1fa84f52db6436c596/", + "packageUri": "lib/", + "languageVersion": "2.7" + }, + { + "name": "permission_handler_platform_interface", + "rootUri": "file:///D:/flutter/flutter/.pub-cache/hosted/pub.flutter-io.cn/permission_handler_platform_interface-2.0.1", + "packageUri": "lib/", + "languageVersion": "2.6" + }, + { + "name": "petitparser", + "rootUri": "file:///D:/flutter/flutter/.pub-cache/hosted/pub.flutter-io.cn/petitparser-3.1.0", + "packageUri": "lib/", + "languageVersion": "2.7" + }, + { + "name": "photo_view", + "rootUri": "file:///D:/flutter/flutter/.pub-cache/hosted/pub.flutter-io.cn/photo_view-0.10.3", + "packageUri": "lib/", + "languageVersion": "2.6" + }, + { + "name": "platform", + "rootUri": "file:///D:/flutter/flutter/.pub-cache/hosted/pub.flutter-io.cn/platform-2.2.1", + "packageUri": "lib/", + "languageVersion": "1.24" + }, + { + "name": "plugin_platform_interface", + "rootUri": "file:///D:/flutter/flutter/.pub-cache/hosted/pub.flutter-io.cn/plugin_platform_interface-1.0.2", + "packageUri": "lib/", + "languageVersion": "2.1" + }, + { + "name": "process", + "rootUri": "file:///D:/flutter/flutter/.pub-cache/hosted/pub.flutter-io.cn/process-3.0.13", + "packageUri": "lib/", + "languageVersion": "2.0" + }, + { + "name": "provider", + "rootUri": "file:///D:/flutter/flutter/.pub-cache/hosted/pub.flutter-io.cn/provider-4.3.3", + "packageUri": "lib/", + "languageVersion": "2.7" + }, + { + "name": "pull_to_refresh", + "rootUri": "file:///D:/flutter/flutter/.pub-cache/git/flutter_pulltorefresh-78a12e0ea45fdf1fbc615b8d243e0f4a8667489f/", + "packageUri": "lib/", + "languageVersion": "2.10" + }, + { + "name": "rxdart", + "rootUri": "file:///D:/flutter/flutter/.pub-cache/hosted/pub.flutter-io.cn/rxdart-0.25.0", + "packageUri": "lib/", + "languageVersion": "2.6" + }, + { + "name": "save_image", + "rootUri": "file:///D:/flutter/flutter/.pub-cache/git/save_image-22e462499b373bb78611311d3ec9a14a64820f61/", + "packageUri": "lib/", + "languageVersion": "2.1" + }, + { + "name": "secverify", + "rootUri": "file:///D:/flutter/flutter/.pub-cache/git/secverify-5ec756e9fe63339209cc6906a37a778952ac61f1/", + "packageUri": "lib/", + "languageVersion": "2.1" + }, + { + "name": "share_extend", + "rootUri": "file:///D:/flutter/flutter/.pub-cache/hosted/pub.flutter-io.cn/share_extend-1.1.9", + "packageUri": "lib/", + "languageVersion": "2.0" + }, + { + "name": "shared_preferences", + "rootUri": "file:///D:/flutter/flutter/.pub-cache/hosted/pub.flutter-io.cn/shared_preferences-0.5.12+4", + "packageUri": "lib/", + "languageVersion": "2.1" + }, + { + "name": "shared_preferences_linux", + "rootUri": "file:///D:/flutter/flutter/.pub-cache/hosted/pub.flutter-io.cn/shared_preferences_linux-0.0.2+4", + "packageUri": "lib/", + "languageVersion": "2.1" + }, + { + "name": "shared_preferences_macos", + "rootUri": "file:///D:/flutter/flutter/.pub-cache/hosted/pub.flutter-io.cn/shared_preferences_macos-0.0.1+11", + "packageUri": "lib/", + "languageVersion": "2.1" + }, + { + "name": "shared_preferences_platform_interface", + "rootUri": "file:///D:/flutter/flutter/.pub-cache/hosted/pub.flutter-io.cn/shared_preferences_platform_interface-1.0.4", + "packageUri": "lib/", + "languageVersion": "2.1" + }, + { + "name": "shared_preferences_web", + "rootUri": "file:///D:/flutter/flutter/.pub-cache/hosted/pub.flutter-io.cn/shared_preferences_web-0.1.2+7", + "packageUri": "lib/", + "languageVersion": "2.1" + }, + { + "name": "shared_preferences_windows", + "rootUri": "file:///D:/flutter/flutter/.pub-cache/hosted/pub.flutter-io.cn/shared_preferences_windows-0.0.2+3", + "packageUri": "lib/", + "languageVersion": "2.1" + }, + { + "name": "sharesdk_plugin", + "rootUri": "file:///D:/flutter/flutter/.pub-cache/git/sharesdk_plugin-f947c09803374acdc4fb720ccb5356d0779afe2f/", + "packageUri": "lib/", + "languageVersion": "2.1" + }, + { + "name": "shimmer", + "rootUri": "file:///D:/flutter/flutter/.pub-cache/hosted/pub.flutter-io.cn/shimmer-1.1.2", + "packageUri": "lib/", + "languageVersion": "1.20" + }, + { + "name": "sky_engine", + "rootUri": "file:///D:/flutter/flutter/bin/cache/pkg/sky_engine", + "packageUri": "lib/", + "languageVersion": "1.11" + }, + { + "name": "source_span", + "rootUri": "file:///D:/flutter/flutter/.pub-cache/hosted/pub.flutter-io.cn/source_span-1.8.0-nullsafety.2", + "packageUri": "lib/", + "languageVersion": "2.10" + }, + { + "name": "sqflite", + "rootUri": "file:///D:/flutter/flutter/.pub-cache/hosted/pub.flutter-io.cn/sqflite-1.3.1+2", + "packageUri": "lib/", + "languageVersion": "2.7" + }, + { + "name": "sqflite_common", + "rootUri": "file:///D:/flutter/flutter/.pub-cache/hosted/pub.flutter-io.cn/sqflite_common-1.0.3+3", + "packageUri": "lib/", + "languageVersion": "2.7" + }, + { + "name": "stack_trace", + "rootUri": "file:///D:/flutter/flutter/.pub-cache/hosted/pub.flutter-io.cn/stack_trace-1.10.0-nullsafety.1", + "packageUri": "lib/", + "languageVersion": "2.10" + }, + { + "name": "stream_channel", + "rootUri": "file:///D:/flutter/flutter/.pub-cache/hosted/pub.flutter-io.cn/stream_channel-2.1.0-nullsafety.1", + "packageUri": "lib/", + "languageVersion": "2.10" + }, + { + "name": "string_scanner", + "rootUri": "file:///D:/flutter/flutter/.pub-cache/hosted/pub.flutter-io.cn/string_scanner-1.1.0-nullsafety.1", + "packageUri": "lib/", + "languageVersion": "2.10" + }, + { + "name": "string_validator", + "rootUri": "file:///D:/flutter/flutter/.pub-cache/hosted/pub.flutter-io.cn/string_validator-0.1.4", + "packageUri": "lib/", + "languageVersion": "2.0" + }, + { + "name": "synchronized", + "rootUri": "file:///D:/flutter/flutter/.pub-cache/hosted/pub.flutter-io.cn/synchronized-2.2.0+2", + "packageUri": "lib/", + "languageVersion": "2.8" + }, + { + "name": "tab_indicator_styler", + "rootUri": "file:///D:/flutter/flutter/.pub-cache/hosted/pub.flutter-io.cn/tab_indicator_styler-1.0.0", + "packageUri": "lib/", + "languageVersion": "2.7" + }, + { + "name": "term_glyph", + "rootUri": "file:///D:/flutter/flutter/.pub-cache/hosted/pub.flutter-io.cn/term_glyph-1.2.0-nullsafety.1", + "packageUri": "lib/", + "languageVersion": "2.10" + }, + { + "name": "test_api", + "rootUri": "file:///D:/flutter/flutter/.pub-cache/hosted/pub.flutter-io.cn/test_api-0.2.19-nullsafety.2", + "packageUri": "lib/", + "languageVersion": "2.10" + }, + { + "name": "tobias", + "rootUri": "file:///D:/flutter/flutter/.pub-cache/git/tobias-15f6acb72df68703c96b2d8a14e1ab28f5dcc008/", + "packageUri": "lib/", + "languageVersion": "2.1" + }, + { + "name": "transformer_page_view", + "rootUri": "file:///D:/flutter/flutter/.pub-cache/hosted/pub.flutter-io.cn/transformer_page_view-0.1.6", + "packageUri": "lib/", + "languageVersion": "2.0" + }, + { + "name": "typed_data", + "rootUri": "file:///D:/flutter/flutter/.pub-cache/hosted/pub.flutter-io.cn/typed_data-1.3.0-nullsafety.3", + "packageUri": "lib/", + "languageVersion": "2.10" + }, + { + "name": "url_launcher", + "rootUri": "file:///D:/flutter/flutter/.pub-cache/hosted/pub.flutter-io.cn/url_launcher-5.7.10", + "packageUri": "lib/", + "languageVersion": "2.1" + }, + { + "name": "url_launcher_linux", + "rootUri": "file:///D:/flutter/flutter/.pub-cache/hosted/pub.flutter-io.cn/url_launcher_linux-0.0.1+4", + "packageUri": "lib/", + "languageVersion": "2.1" + }, + { + "name": "url_launcher_macos", + "rootUri": "file:///D:/flutter/flutter/.pub-cache/hosted/pub.flutter-io.cn/url_launcher_macos-0.0.1+9", + "packageUri": "lib/", + "languageVersion": "2.1" + }, + { + "name": "url_launcher_platform_interface", + "rootUri": "file:///D:/flutter/flutter/.pub-cache/hosted/pub.flutter-io.cn/url_launcher_platform_interface-1.0.9", + "packageUri": "lib/", + "languageVersion": "2.1" + }, + { + "name": "url_launcher_web", + "rootUri": "file:///D:/flutter/flutter/.pub-cache/hosted/pub.flutter-io.cn/url_launcher_web-0.1.5+3", + "packageUri": "lib/", + "languageVersion": "2.2" + }, + { + "name": "url_launcher_windows", + "rootUri": "file:///D:/flutter/flutter/.pub-cache/hosted/pub.flutter-io.cn/url_launcher_windows-0.0.1+3", + "packageUri": "lib/", + "languageVersion": "2.1" + }, + { + "name": "uuid", + "rootUri": "file:///D:/flutter/flutter/.pub-cache/hosted/pub.flutter-io.cn/uuid-2.2.2", + "packageUri": "lib/", + "languageVersion": "2.2" + }, + { + "name": "vector_math", + "rootUri": "file:///D:/flutter/flutter/.pub-cache/hosted/pub.flutter-io.cn/vector_math-2.1.0-nullsafety.3", + "packageUri": "lib/", + "languageVersion": "2.10" + }, + { + "name": "webview_flutter", + "rootUri": "file:///D:/flutter/flutter/.pub-cache/hosted/pub.flutter-io.cn/webview_flutter-1.0.7", + "packageUri": "lib/", + "languageVersion": "2.7" + }, + { + "name": "win32", + "rootUri": "file:///D:/flutter/flutter/.pub-cache/hosted/pub.flutter-io.cn/win32-1.7.4+1", + "packageUri": "lib/", + "languageVersion": "2.7" + }, + { + "name": "xdg_directories", + "rootUri": "file:///D:/flutter/flutter/.pub-cache/hosted/pub.flutter-io.cn/xdg_directories-0.1.2", + "packageUri": "lib/", + "languageVersion": "2.3" + }, + { + "name": "xml", + "rootUri": "file:///D:/flutter/flutter/.pub-cache/hosted/pub.flutter-io.cn/xml-4.5.1", + "packageUri": "lib/", + "languageVersion": "2.7" + }, + { + "name": "zhiying_comm", + "rootUri": "../../zhiying_comm", + "packageUri": "lib/", + "languageVersion": "2.1" + }, + { + "name": "zhiying_flutter_webview", + "rootUri": "file:///D:/flutter/flutter/.pub-cache/git/zhiying_flutter_webview-08b92b596b1002265c72b51b6bcb1f11506de9b7/", + "packageUri": "lib/", + "languageVersion": "2.7" + }, + { + "name": "zhiying_base_widget", + "rootUri": "../", + "packageUri": "lib/", + "languageVersion": "2.8" + } + ], + "generated": "2021-05-14T06:05:16.178616Z", + "generator": "pub", + "generatorVersion": "2.10.1" +} diff --git a/example/android/app/src/main/java/cn/zhios/zhiying_base_widget_example/MainActivity.java b/example/android/app/src/main/java/cn/zhios/zhiying_base_widget_example/MainActivity.java index 6f2cd4f..c2adee2 100644 --- a/example/android/app/src/main/java/cn/zhios/zhiying_base_widget_example/MainActivity.java +++ b/example/android/app/src/main/java/cn/zhios/zhiying_base_widget_example/MainActivity.java @@ -161,6 +161,14 @@ public class MainActivity extends FlutterActivity implements ZhiyingFlutterCommN map.put("domain", "http://inapi.izhyin.cn/");//"http://120.76.175.204:8989");http://47.114.51.254:80 http://inapi.izhyin.cn/ map.put("master_id", "123456"); map.put("secret_key", "123456"); +// map.put("domain", "http://inapi.izhyin.cn/");//"http://120.76.175.204:8989");http://47.114.51.254:80 http://inapi.izhyin.cn/ +// map.put("master_id", "22255132"); +// map.put("secret_key", "123456"); + + ///正式 +// map.put("domain", "http://api.zhios.cn/");//45678910,api.zhios.cn84198689 +// map.put("master_id", "99813608"); +// map.put("secret_key", "123456"); ///正式 // map.put("domain", "http://api.zhios.cn/");//45678910,api.zhios.cn84198689 diff --git a/lib/pages/order_found_page/order_found_result/order_found_result_page.dart b/lib/pages/order_found_page/order_found_result/order_found_result_page.dart index aea0bb4..bb40e22 100644 --- a/lib/pages/order_found_page/order_found_result/order_found_result_page.dart +++ b/lib/pages/order_found_page/order_found_result/order_found_result_page.dart @@ -3,30 +3,66 @@ import 'package:flutter/gestures.dart'; import 'package:flutter/material.dart'; import 'package:flutter/services.dart'; import 'package:zhiying_base_widget/pages/order_found_page/order_found_result/order_found_result_bloc.dart'; +import 'package:zhiying_base_widget/pages/order_found_page/order_found_result/order_found_result_model.dart'; import 'package:zhiying_comm/zhiying_comm.dart'; class OrderFoundResultPage extends StatefulWidget { + //有数据的model + final OrderFoundResultModel orderFoundResultModel; + + //没有订单数据的空页面的title + final String emptyOrderTitle; + + //没有订单数据的空页面的内容 + final String emptyOrderContent; + + //没有订单数据的空页面的图片 + final String emptyOrderPic; + + const OrderFoundResultPage( + {Key key, + this.orderFoundResultModel, + this.emptyOrderTitle, + this.emptyOrderContent, + this.emptyOrderPic}) + : super(key: key); + @override _OrderFoundResultPageState createState() => _OrderFoundResultPageState(); } class _OrderFoundResultPageState extends State { - OrderFoundResultBloc _bloc; + // OrderFoundResultBloc _bloc; bool hasData = true; + OrderFoundResultModel model; + + String emptyOrderTitle; + String emptyOrderContent; + String emptyOrderPic; + @override void initState() { // TODO: implement initState super.initState(); - _bloc = OrderFoundResultBloc(); - _bloc.getData(); + model = widget.orderFoundResultModel; + if (!EmptyUtil.isEmpty(model)) { + hasData = true; + } else { + hasData = false; + } + emptyOrderTitle = widget.emptyOrderTitle; + emptyOrderContent = widget.emptyOrderContent; + emptyOrderPic = widget.emptyOrderPic; + // _bloc = OrderFoundResultBloc(); + // _bloc.getData(); } retrieveOrderClick() { print("是我的,找回该订单点击"); Map params = {}; - params['oid'] = ""; + params['oid'] = model?.ordId; NetUtil.request('/api/v1/order/find', method: NetMethod.POST, params: params, onSuccess: (data) {}); } @@ -38,7 +74,7 @@ class _OrderFoundResultPageState extends State { //复制订单号 copyOrderCode() { - ClipboardData data = new ClipboardData(text: "复制的内容"); + ClipboardData data = new ClipboardData(text: model?.ordId); Clipboard.setData(data); } @@ -168,13 +204,6 @@ class _OrderFoundResultPageState extends State { color: HexColor.fromHex("#FF333333"), fontWeight: FontWeight.w600), ), - Text( - "已结算", - style: TextStyle( - fontSize: 12, - color: HexColor.fromHex("#FF999999"), - fontWeight: FontWeight.w600), - ), ], ), Container( @@ -187,9 +216,7 @@ class _OrderFoundResultPageState extends State { decoration: BoxDecoration( borderRadius: BorderRadius.circular(7.5), image: DecorationImage( - image: NetworkImage( - "https://gimg2.baidu.com/image_search/src=http%3A%2F%2Fg.search.alicdn.com%2Fimg%2Fbao%2Fuploaded%2Fi4%2Fi2%2F2012325070%2FO1CN01LQlnX41nK6dBt4ILq_%21%212012325070.jpg&refer=http%3A%2F%2Fg.search.alicdn.com&app=2002&size=f9999,10000&q=a80&n=0&g=0n&fmt=jpeg?sec=1623381327&t=ee9bbd715990660f92747f181a0c3858"), - fit: BoxFit.fill)), + image: NetworkImage(model?.thumbnail ?? ""), fit: BoxFit.fill)), ), Expanded( child: Container( @@ -208,13 +235,13 @@ class _OrderFoundResultPageState extends State { color: Colors.red), padding: EdgeInsets.only(left: 10, right: 10), child: Text( - "京东", + model?.provider, style: TextStyle(fontSize: 10, color: Colors.white), ), ), Expanded( child: Text( - "桶装水抽水器饮水机泵器动桶装水抽水器饮水机泵器动", + model?.itemTitle, style: TextStyle( fontSize: 13, color: HexColor.fromHex("#FF333333"), @@ -228,7 +255,7 @@ class _OrderFoundResultPageState extends State { Row( children: [ Text( - "订单编号:15487945211587", + "订单编号:${model?.ordId}", style: TextStyle( fontSize: 10, color: HexColor.fromHex("#FF999999"), @@ -258,14 +285,14 @@ class _OrderFoundResultPageState extends State { ], ), Text( - "下单时间:2020-06-18 17:11:15", + "下单时间:${model?.createAt}", style: TextStyle( fontSize: 10, color: HexColor.fromHex("#FF999999"), ), ), Text( - "完成时间:2020-06-18 17:11:15", + "完成时间:${model?.updateAt}", style: TextStyle( fontSize: 10, color: HexColor.fromHex("#FF999999"), @@ -275,7 +302,7 @@ class _OrderFoundResultPageState extends State { children: [ Expanded( child: Text( - "订单金额:¥ 199", + "订单金额:¥ ${model?.paidPrice}", style: TextStyle( fontSize: 10, color: HexColor.fromHex("#FF333333"), @@ -351,8 +378,8 @@ class _OrderFoundResultPageState extends State { borderRadius: BorderRadius.circular(12), color: Colors.white), child: Column( children: [ - Image.network( - "https://alipic.lanhuapp.com/SketchPng9ae52da74764fe05917a1d5a4a8d5eb94a9013106c4412056afa00340164bde5", + CachedNetworkImage( + imageUrl: emptyOrderPic ?? "", width: 152, fit: BoxFit.fitWidth, ), @@ -380,7 +407,7 @@ class _OrderFoundResultPageState extends State { borderRadius: BorderRadius.circular(2), color: Colors.red), ), Text( - "未查询到该订单可能原因", + emptyOrderTitle ?? "", style: TextStyle( fontSize: 15, color: HexColor.fromHex("#FF333333"), @@ -393,10 +420,7 @@ class _OrderFoundResultPageState extends State { alignment: Alignment.topLeft, margin: EdgeInsets.only(top: 8), child: Text( - "1.订单有延迟,建议下单后15分钟再查询\n" - "2.非您购买或推广的订单" - "
3.不是通过本APP下的订单
" - "4.创建订单超过40分钟付款,次日才能同步", + emptyOrderContent ?? "", style: TextStyle(fontSize: 12, color: HexColor.fromHex("#FF999999")), ), diff --git a/pubspec.yaml b/pubspec.yaml index 8ff9ac7..f465504 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -39,8 +39,8 @@ dependencies: # image_gallery_saver: ^1.6.0 permission_handler: git: - ref: 0.0.2 url: http://192.168.0.138:3000/FnuoOS_Flutter_Components/permission_handler.git + ref: 0.0.2 more_picture_share: git: @@ -63,8 +63,8 @@ dependencies: zhiying_flutter_webview: git: - ref: 0.0.4 url: http://192.168.0.138:3000/FnuoOS_ZhiYing/zhiying_flutter_webview.git + ref: 0.0.4 # 特效底部 # convex_bottom_bar: ^2.7.1+2