Browse Source

Merge branch 'wr_2023_activity' into wr_202303

# Conflicts:
#	lib/base_state.dart
#	lib/main.dart
#	lib/main_page.dart
#	lib/order/order_detail_page.dart
#	lib/view_widget/classic_header.dart
#	lib/web/web_view/comment_list.dart
#	pubspec.yaml
dart3_last
wurong 1 year ago
parent
commit
a83ca37882
  1. 2
      android/app/build.gradle
  2. 7
      android/build.gradle
  3. BIN
      assets/image/2x/channel_jt.webp
  4. BIN
      assets/image/2x/channel_logo.webp
  5. BIN
      assets/image/2x/channel_text.webp
  6. BIN
      assets/image/2x/dining_w.webp
  7. BIN
      assets/image/2x/login_channel.webp
  8. BIN
      assets/image/2x/login_store.webp
  9. BIN
      assets/image/2x/my_trading.webp
  10. BIN
      assets/image/2x/order_wl.webp
  11. BIN
      assets/image/2x/recharge_z.webp
  12. BIN
      assets/image/2x/trading_detail.webp
  13. BIN
      assets/image/2x/trading_history.webp
  14. BIN
      assets/image/2x/trading_logo.webp
  15. BIN
      assets/image/2x/trading_text.webp
  16. BIN
      assets/image/2x/vip_cz.webp
  17. BIN
      assets/image/2x/vip_day_logo.webp
  18. BIN
      assets/image/2x/vip_equity_logo.webp
  19. BIN
      assets/image/2x/vip_level_logo.webp
  20. BIN
      assets/image/2x/welfare_yz.webp
  21. BIN
      assets/image/3x/channel_jt.webp
  22. BIN
      assets/image/3x/channel_logo.webp
  23. BIN
      assets/image/3x/channel_text.webp
  24. BIN
      assets/image/3x/dining_w.webp
  25. BIN
      assets/image/3x/login_channel.webp
  26. BIN
      assets/image/3x/login_store.webp
  27. BIN
      assets/image/3x/my_trading.webp
  28. BIN
      assets/image/3x/order_wl.webp
  29. BIN
      assets/image/3x/recharge_z.webp
  30. BIN
      assets/image/3x/trading_detail.webp
  31. BIN
      assets/image/3x/trading_history.webp
  32. BIN
      assets/image/3x/trading_logo.webp
  33. BIN
      assets/image/3x/trading_text.webp
  34. BIN
      assets/image/3x/vip_cz.webp
  35. BIN
      assets/image/3x/vip_day_logo.webp
  36. BIN
      assets/image/3x/vip_equity_logo.webp
  37. BIN
      assets/image/3x/vip_level_logo.webp
  38. BIN
      assets/image/3x/welfare_yz.webp
  39. BIN
      assets/image/channel_jt.webp
  40. BIN
      assets/image/channel_logo.webp
  41. BIN
      assets/image/channel_text.webp
  42. BIN
      assets/image/dining_w.webp
  43. BIN
      assets/image/login_channel.webp
  44. BIN
      assets/image/login_store.webp
  45. BIN
      assets/image/my_trading.webp
  46. BIN
      assets/image/order_wl.webp
  47. BIN
      assets/image/recharge_z.webp
  48. BIN
      assets/image/trading_detail.webp
  49. BIN
      assets/image/trading_history.webp
  50. BIN
      assets/image/trading_logo.webp
  51. BIN
      assets/image/trading_text.webp
  52. BIN
      assets/image/vip_cz.webp
  53. BIN
      assets/image/vip_day_logo.webp
  54. BIN
      assets/image/vip_equity_logo.webp
  55. BIN
      assets/image/vip_level_logo.webp
  56. BIN
      assets/image/welfare_yz.webp
  57. 1
      ios/Podfile
  58. 52
      ios/Podfile.lock
  59. 18
      ios/Runner.xcodeproj/project.pbxproj
  60. 4
      ios/Runner/Info.plist
  61. 91
      lib/base_state.dart
  62. 57
      lib/community/community_child_page.dart
  63. 165
      lib/community/community_details.dart
  64. 20
      lib/community/community_page.dart
  65. 3
      lib/community/community_view/class_details.dart
  66. 1
      lib/community/community_view/community_dynamic.dart
  67. 12
      lib/community/community_view/course_banner.dart
  68. 7
      lib/community/headlines/headlines_banner.dart
  69. 4
      lib/community/photo_view_gallery_screen.dart
  70. 102
      lib/community/release_dynamic.dart
  71. 75
      lib/generated/intl/messages_en.dart
  72. 75
      lib/generated/intl/messages_en_US.dart
  73. 75
      lib/generated/intl/messages_zh_CN.dart
  74. 75
      lib/generated/intl/messages_zh_Hans_CN.dart
  75. 75
      lib/generated/intl/messages_zh_Hant_CN.dart
  76. 75
      lib/generated/intl/messages_zh_TW.dart
  77. 194
      lib/generated/l10n.dart
  78. 2
      lib/home/guide_page.dart
  79. 128
      lib/home/home_page.dart
  80. 27
      lib/home/home_view/home_banner.dart
  81. 8
      lib/home/home_view/quick_order.dart
  82. 4
      lib/home/home_view/welfare_core.dart
  83. 12
      lib/home/huixiang_view/huixiang_banner.dart
  84. 1
      lib/home/huixiang_view/origin_info.dart
  85. 5
      lib/home/points_mall_view/points_goods_view.dart
  86. 7
      lib/home/points_mall_view/points_mall_banner.dart
  87. 17
      lib/home/start_page.dart
  88. 322
      lib/home/trading_card_page.dart
  89. 109
      lib/home/welfare_exchange.dart
  90. 47
      lib/home/welfare_page.dart
  91. 213
      lib/integral/integral_detailed_page.dart
  92. 2
      lib/integral/integral_page.dart
  93. 23
      lib/integral_store/integral_store_details_page.dart
  94. 23
      lib/l10n/intl_en.arb
  95. 22
      lib/l10n/intl_en_US.arb
  96. 23
      lib/l10n/intl_zh_CN.arb
  97. 22
      lib/l10n/intl_zh_Hans_CN.arb
  98. 22
      lib/l10n/intl_zh_Hant_CN.arb
  99. 22
      lib/l10n/intl_zh_TW.arb
  100. 154
      lib/login/login_store_select.dart
  101. Some files were not shown because too many files have changed in this diff Show More

2
android/app/build.gradle

@ -90,7 +90,7 @@ def mfph = [
]
android {
compileSdkVersion 31
compileSdkVersion 33
sourceSets {
main.java.srcDirs += 'src/main/kotlin'

7
android/build.gradle

@ -17,6 +17,7 @@ buildscript {
}
maven { url "https://www.jitpack.io" }
maven {url 'https://developer.huawei.com/repo/'}
maven { url 'https://repo1.maven.org/maven2/' }
}
dependencies {
@ -25,6 +26,11 @@ buildscript {
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
classpath 'com.huawei.agconnect:agcp:1.4.1.300'
classpath 'com.mob.sdk:MobSDK:+'
classpath 'com.android.tools.build:gradle:3.4.0'
classpath fileTree(include:['*.jar'], dir:'libs')
classpath 'com.umeng.umsdk:common:9.4.7'
classpath 'com.umeng.umsdk:asms:1.4.0'
classpath 'com.umeng.umsdk:abtest:1.0.0'
}
}
@ -46,6 +52,7 @@ allprojects {
}
maven { url "https://www.jitpack.io" }
maven { url 'https://developer.huawei.com/repo/'}
maven { url 'https://repo1.maven.org/maven2/' }
}
}

BIN
assets/image/2x/channel_jt.webp

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

BIN
assets/image/2x/channel_logo.webp

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.5 KiB

BIN
assets/image/2x/channel_text.webp

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.4 KiB

BIN
assets/image/2x/dining_w.webp

Binary file not shown.

After

Width:  |  Height:  |  Size: 1022 B

BIN
assets/image/2x/login_channel.webp

Binary file not shown.

After

Width:  |  Height:  |  Size: 996 B

BIN
assets/image/2x/login_store.webp

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

BIN
assets/image/2x/my_trading.webp

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.6 KiB

BIN
assets/image/2x/order_wl.webp

Binary file not shown.

After

Width:  |  Height:  |  Size: 834 B

BIN
assets/image/2x/recharge_z.webp

Binary file not shown.

After

Width:  |  Height:  |  Size: 894 B

BIN
assets/image/2x/trading_detail.webp

Binary file not shown.

After

Width:  |  Height:  |  Size: 696 B

BIN
assets/image/2x/trading_history.webp

Binary file not shown.

After

Width:  |  Height:  |  Size: 1020 B

BIN
assets/image/2x/trading_logo.webp

Binary file not shown.

After

Width:  |  Height:  |  Size: 42 KiB

BIN
assets/image/2x/trading_text.webp

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

BIN
assets/image/2x/vip_cz.webp

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.9 KiB

BIN
assets/image/2x/vip_day_logo.webp

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

BIN
assets/image/2x/vip_equity_logo.webp

Binary file not shown.

After

Width:  |  Height:  |  Size: 882 B

BIN
assets/image/2x/vip_level_logo.webp

Binary file not shown.

After

Width:  |  Height:  |  Size: 996 B

BIN
assets/image/2x/welfare_yz.webp

Binary file not shown.

After

Width:  |  Height:  |  Size: 30 KiB

BIN
assets/image/3x/channel_jt.webp

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 KiB

BIN
assets/image/3x/channel_logo.webp

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

BIN
assets/image/3x/channel_text.webp

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

BIN
assets/image/3x/dining_w.webp

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

BIN
assets/image/3x/login_channel.webp

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

BIN
assets/image/3x/login_store.webp

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 KiB

BIN
assets/image/3x/my_trading.webp

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.0 KiB

BIN
assets/image/3x/order_wl.webp

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

BIN
assets/image/3x/recharge_z.webp

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

BIN
assets/image/3x/trading_detail.webp

Binary file not shown.

After

Width:  |  Height:  |  Size: 910 B

BIN
assets/image/3x/trading_history.webp

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

BIN
assets/image/3x/trading_logo.webp

Binary file not shown.

After

Width:  |  Height:  |  Size: 86 KiB

BIN
assets/image/3x/trading_text.webp

Binary file not shown.

After

Width:  |  Height:  |  Size: 52 KiB

BIN
assets/image/3x/vip_cz.webp

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.2 KiB

BIN
assets/image/3x/vip_day_logo.webp

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 KiB

BIN
assets/image/3x/vip_equity_logo.webp

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

BIN
assets/image/3x/vip_level_logo.webp

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

BIN
assets/image/3x/welfare_yz.webp

Binary file not shown.

After

Width:  |  Height:  |  Size: 53 KiB

BIN
assets/image/channel_jt.webp

Binary file not shown.

After

Width:  |  Height:  |  Size: 796 B

BIN
assets/image/channel_logo.webp

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.8 KiB

BIN
assets/image/channel_text.webp

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.1 KiB

BIN
assets/image/dining_w.webp

Binary file not shown.

After

Width:  |  Height:  |  Size: 544 B

BIN
assets/image/login_channel.webp

Binary file not shown.

After

Width:  |  Height:  |  Size: 686 B

BIN
assets/image/login_store.webp

Binary file not shown.

After

Width:  |  Height:  |  Size: 752 B

BIN
assets/image/my_trading.webp

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

BIN
assets/image/order_wl.webp

Binary file not shown.

After

Width:  |  Height:  |  Size: 630 B

BIN
assets/image/recharge_z.webp

Binary file not shown.

After

Width:  |  Height:  |  Size: 658 B

BIN
assets/image/trading_detail.webp

Binary file not shown.

After

Width:  |  Height:  |  Size: 634 B

BIN
assets/image/trading_history.webp

Binary file not shown.

After

Width:  |  Height:  |  Size: 708 B

BIN
assets/image/trading_logo.webp

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

BIN
assets/image/trading_text.webp

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.8 KiB

BIN
assets/image/vip_cz.webp

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

BIN
assets/image/vip_day_logo.webp

Binary file not shown.

After

Width:  |  Height:  |  Size: 790 B

BIN
assets/image/vip_equity_logo.webp

Binary file not shown.

After

Width:  |  Height:  |  Size: 700 B

BIN
assets/image/vip_level_logo.webp

Binary file not shown.

After

Width:  |  Height:  |  Size: 696 B

BIN
assets/image/welfare_yz.webp

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

1
ios/Podfile

@ -1,5 +1,6 @@
# Uncomment this line to define a global platform for your project
platform :ios, '11.0'
source 'https://mirrors.tuna.tsinghua.edu.cn/git/CocoaPods/Specs.git'
# CocoaPods analytics sends network stats synchronously affecting flutter build latency.
ENV['COCOAPODS_DISABLE_STATS'] = 'true'

52
ios/Podfile.lock

@ -50,8 +50,7 @@ PODS:
- image_pickers (0.0.1):
- AFNetworking
- Flutter
- SDWebImage
- ZLPhotoBrowser
- ZLPhotoBrowser-objc (= 1.0.4)
- mob_sharesdk_spec2 (0.0.1):
- AEINFoundation
- mob_sharesdk_spec2/ShareSDK (= 0.0.1)
@ -167,7 +166,7 @@ PODS:
- mob_sharesdk_spec2/ShareSDK
- number_precision (0.0.1):
- Flutter
- OpenWeChatSDK (1.9.6)
- "OpenWeChatSDK (1.9.9+1)"
- package_info (0.0.1):
- Flutter
- path_provider (0.0.1):
@ -179,8 +178,9 @@ PODS:
- SDWebImage (5.13.4):
- SDWebImage/Core (= 5.13.4)
- SDWebImage/Core (5.13.4)
- shared_preferences_ios (0.0.1):
- shared_preferences_foundation (0.0.1):
- Flutter
- FlutterMacOS
- sharesdk_plugin (1.1.4):
- Flutter
- mob_sharesdk_spec2
@ -229,6 +229,13 @@ PODS:
- tpns_flutter_plugin (1.1.6):
- Flutter
- TPNS-iOS (= 1.3.4.1)
- UMCommon (7.4.1):
- UMDevice
- UMDevice (3.1.0)
- umeng_common_sdk (0.0.1):
- Flutter
- UMCommon
- UMDevice
- url_launcher (0.0.1):
- Flutter
- video_player_avfoundation (0.0.1):
@ -237,9 +244,8 @@ PODS:
- Flutter
- webview_flutter (0.0.1):
- Flutter
- ZLPhotoBrowser (4.3.7):
- ZLPhotoBrowser/Core (= 4.3.7)
- ZLPhotoBrowser/Core (4.3.7)
- ZLPhotoBrowser-objc (1.0.4):
- SDWebImage
DEPENDENCIES:
- emoji_picker_flutter (from `.symlinks/plugins/emoji_picker_flutter/ios`)
@ -256,19 +262,20 @@ DEPENDENCIES:
- path_provider (from `.symlinks/plugins/path_provider/ios`)
- permission_handler (from `.symlinks/plugins/permission_handler/ios`)
- scan (from `.symlinks/plugins/scan/ios`)
- shared_preferences_ios (from `.symlinks/plugins/shared_preferences_ios/ios`)
- shared_preferences_foundation (from `.symlinks/plugins/shared_preferences_foundation/ios`)
- sharesdk_plugin (from `.symlinks/plugins/sharesdk_plugin/ios`)
- SSZipArchive (~> 2.4.2)
- thumbnails (from `.symlinks/plugins/thumbnails/ios`)
- tobias (from `.symlinks/plugins/tobias/ios`)
- tpns_flutter_plugin (from `.symlinks/plugins/tpns_flutter_plugin/ios`)
- umeng_common_sdk (from `.symlinks/plugins/umeng_common_sdk/ios`)
- url_launcher (from `.symlinks/plugins/url_launcher/ios`)
- video_player_avfoundation (from `.symlinks/plugins/video_player_avfoundation/ios`)
- wakelock (from `.symlinks/plugins/wakelock/ios`)
- webview_flutter (from `.symlinks/plugins/webview_flutter/ios`)
SPEC REPOS:
trunk:
https://mirrors.tuna.tsinghua.edu.cn/git/CocoaPods/Specs.git:
- AEINFoundation
- AFNetworking
- BaiduMapKit
@ -278,7 +285,9 @@ SPEC REPOS:
- SDWebImage
- SSZipArchive
- TPNS-iOS
- ZLPhotoBrowser
- UMCommon
- UMDevice
- ZLPhotoBrowser-objc
EXTERNAL SOURCES:
emoji_picker_flutter:
@ -309,8 +318,8 @@ EXTERNAL SOURCES:
:path: ".symlinks/plugins/permission_handler/ios"
scan:
:path: ".symlinks/plugins/scan/ios"
shared_preferences_ios:
:path: ".symlinks/plugins/shared_preferences_ios/ios"
shared_preferences_foundation:
:path: ".symlinks/plugins/shared_preferences_foundation/ios"
sharesdk_plugin:
:path: ".symlinks/plugins/sharesdk_plugin/ios"
thumbnails:
@ -319,6 +328,8 @@ EXTERNAL SOURCES:
:path: ".symlinks/plugins/tobias/ios"
tpns_flutter_plugin:
:path: ".symlinks/plugins/tpns_flutter_plugin/ios"
umeng_common_sdk:
:path: ".symlinks/plugins/umeng_common_sdk/ios"
url_launcher:
:path: ".symlinks/plugins/url_launcher/ios"
video_player_avfoundation:
@ -330,7 +341,7 @@ EXTERNAL SOURCES:
SPEC CHECKSUMS:
AEINFoundation: e046b5fbe75aaf120a54fdc530b1d62d4ce88dfe
AFNetworking: 7864c38297c79aaca1500c33288e429c3451fdce
AFNetworking: 3bd23d814e976cd148d7d44c3ab78017b744cd58
BaiduMapKit: f227cfb43581e91466fb4f1344f655eab5788777
BMKLocationKit: 688d8e1194980b96fc9a6585c0eb42e62fbaf780
emoji_picker_flutter: df19dac03a2b39ac667dc8d1da939ef3a9e21347
@ -341,28 +352,31 @@ SPEC CHECKSUMS:
flutter_baidu_mapapi_utils: f6a5d23da26b0e58f1ae9908da7ba87fd48384b1
flutter_bmflocation: 1bd73181196567fe1529f765aa4f8e2615a8a3cf
fluwx: 79c66b6d795ab8208262ada215d9e60388cfe492
image_pickers: 075764ed041c5e3089fcd4d040384ecdb23840e0
image_pickers: 25c8916d358bc9d2707cb470ba3d57497f105773
mob_sharesdk_spec2: efa0cb438a29b37ab99d015a272dff69177e30a2
number_precision: 26fa2be2212f9d1429f92d667d6b0aa4df0058d8
OpenWeChatSDK: 8fb6c3c7ce9a57f37d001060282de1f138d09940
OpenWeChatSDK: ea48e9db20645f78128db9091893910280b8e4b1
package_info: 873975fc26034f0b863a300ad47e7f1ac6c7ec62
path_provider: f96fff6166a8867510d2c25fdcc346327cc4b259
permission_handler: ccb20a9fad0ee9b1314a52b70b76b473c5f8dab0
scan: aea35bb4aa59ccc8839c576a18cd57c7d492cc86
SDWebImage: e5cc87bf736e60f49592f307bdf9e157189298a3
shared_preferences_ios: 548a61f8053b9b8a49ac19c1ffbc8b92c50d68ad
shared_preferences_foundation: 986fc17f3d3251412d18b0265f9c64113a8c2472
sharesdk_plugin: d9c8e928116aba323b21da64b4437ed766ee843e
SSZipArchive: fe6a26b2a54d5a0890f2567b5cc6de5caa600aef
thumbnails: bb4f4e9bb4b51c8ae4e6ad9a2fa81373f9b634ad
tobias: 2aded9b83e3663b907360a800d8e3c13284f25c5
TPNS-iOS: 36c335eff80670de6ede780ab827f679d78f64ff
tpns_flutter_plugin: ed7fae92efde473d5cb9fd33ac92caa2d64530a2
UMCommon: 47e0b53f6a36568e958a5abd005ed7577fcac9ad
UMDevice: 9ef8045b59e0479cff7062915c879a1af46fa094
umeng_common_sdk: a8abd7f86dfd013dbbeeae587ee143760c6582f2
url_launcher: 6fef411d543ceb26efce54b05a0a40bfd74cbbef
video_player_avfoundation: e489aac24ef5cf7af82702979ed16f2a5ef84cff
video_player_avfoundation: 6d971a232d72e6ee25368378d48a079dea01f1cf
wakelock: d0fc7c864128eac40eba1617cb5264d9c940b46f
webview_flutter: 5fb4def2bbd4339889ee14d045b605cefc5bc232
ZLPhotoBrowser: f571bdaec6d0b64ae94a29787e4c7cbd8900d10f
ZLPhotoBrowser-objc: c7657d3bc85ae231884e058d0e3638f619164736
PODFILE CHECKSUM: 9a26c1c4037e42be4afc95d70f8bd02a4b989a1c
PODFILE CHECKSUM: f4ea28c741a7c9a1c417c066f9cfd7b29654dd12
COCOAPODS: 1.11.3

18
ios/Runner.xcodeproj/project.pbxproj

@ -596,7 +596,7 @@
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 10.0;
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
MTL_ENABLE_DEBUG_INFO = NO;
ONLY_ACTIVE_ARCH = YES;
SDKROOT = iphoneos;
@ -617,7 +617,7 @@
CLANG_ALLOW_NON_MODULAR_INCLUDES_IN_FRAMEWORK_MODULES = NO;
CLANG_ENABLE_MODULES = YES;
CODE_SIGN_ENTITLEMENTS = Runner/Runner.entitlements;
CURRENT_PROJECT_VERSION = 3;
CURRENT_PROJECT_VERSION = 2;
DEVELOPMENT_TEAM = YF3Q8DVP52;
ENABLE_BITCODE = NO;
FRAMEWORK_SEARCH_PATHS = (
@ -667,7 +667,7 @@
"$(PROJECT_DIR)/baidu",
"$(PROJECT_DIR)/Runner/baidu",
);
MARKETING_VERSION = 3.2.6;
MARKETING_VERSION = 3.2.18;
ONLY_ACTIVE_ARCH = YES;
OTHER_LDFLAGS = (
"$(inherited)",
@ -747,7 +747,7 @@
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 10.0;
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
MTL_ENABLE_DEBUG_INFO = YES;
"MTL_ENABLE_DEBUG_INFO[arch=*]" = YES;
ONLY_ACTIVE_ARCH = YES;
@ -798,7 +798,7 @@
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 10.0;
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
MTL_ENABLE_DEBUG_INFO = NO;
ONLY_ACTIVE_ARCH = YES;
SDKROOT = iphoneos;
@ -819,7 +819,7 @@
CLANG_ALLOW_NON_MODULAR_INCLUDES_IN_FRAMEWORK_MODULES = NO;
CLANG_ENABLE_MODULES = YES;
CODE_SIGN_ENTITLEMENTS = Runner/Runner.entitlements;
CURRENT_PROJECT_VERSION = 3;
CURRENT_PROJECT_VERSION = 2;
DEVELOPMENT_TEAM = YF3Q8DVP52;
ENABLE_BITCODE = NO;
FRAMEWORK_SEARCH_PATHS = (
@ -869,7 +869,7 @@
"$(PROJECT_DIR)/baidu",
"$(PROJECT_DIR)/Runner/baidu",
);
MARKETING_VERSION = 3.2.6;
MARKETING_VERSION = 3.2.18;
ONLY_ACTIVE_ARCH = YES;
OTHER_LDFLAGS = (
"$(inherited)",
@ -912,7 +912,7 @@
CLANG_ALLOW_NON_MODULAR_INCLUDES_IN_FRAMEWORK_MODULES = NO;
CLANG_ENABLE_MODULES = YES;
CODE_SIGN_ENTITLEMENTS = Runner/Runner.entitlements;
CURRENT_PROJECT_VERSION = 3;
CURRENT_PROJECT_VERSION = 2;
DEVELOPMENT_TEAM = YF3Q8DVP52;
ENABLE_BITCODE = NO;
FRAMEWORK_SEARCH_PATHS = (
@ -962,7 +962,7 @@
"$(PROJECT_DIR)/baidu",
"$(PROJECT_DIR)/Runner/baidu",
);
MARKETING_VERSION = 3.2.6;
MARKETING_VERSION = 3.2.18;
ONLY_ACTIVE_ARCH = YES;
OTHER_LDFLAGS = (
"$(inherited)",

4
ios/Runner/Info.plist

@ -173,5 +173,9 @@
<string>https://hx.lotus-wallet.com/app/</string>
<key>io.flutter.embedded_views_preview</key>
<string>YES</string>
<key>UIBackgroundModes</key>
<array>
<string>location</string>
</array>
</dict>
</plist>

91
lib/base_state.dart

@ -6,6 +6,8 @@ import 'package:shared_preferences/shared_preferences.dart';
abstract class BaseState<T extends StatefulWidget> extends State<T>
with WidgetsBindingObserver {
int lastTime = DateTime.now().millisecondsSinceEpoch;
@override
void dispose() {
super.dispose();
@ -20,8 +22,11 @@ abstract class BaseState<T extends StatefulWidget> extends State<T>
break;
case AppLifecycleState.resumed: //
pushRoute();
if (DateTime.now().millisecondsSinceEpoch - lastTime > 300000)
Navigator.of(context).popAndPushNamed('/router/main_page');
break;
case AppLifecycleState.paused: //
lastTime = DateTime.now().millisecondsSinceEpoch;
break;
case AppLifecycleState.detached: // APP结束时调用
break;
@ -50,40 +55,58 @@ abstract class BaseState<T extends StatefulWidget> extends State<T>
String routeName = "";
Map<String, dynamic> params = {};
switch (pushMap["typed"].toString()) {
case "1":case "ARTICLE":
routeName = "/router/web_page";
params["articleId"] = pushMap["info"];
break;
case "2":case "ACTIVITY":
routeName = "/router/web_page";
params["activityId"] = pushMap["info"];
break;
case "3":case "SHOP":
routeName = "/router/store_order";
params["id"] = pushMap["info"];
params["tenant"] = pushMap["tenant"];
params["storeName"] = pushMap["storeName"];
break;
case "4":case "CREDIT_GOODS":
routeName = "/router/integral_store_page";
params["goodsId"] = pushMap["info"];
break;
case "5":case "ORDER":
routeName = "/router/order_details";
params["id"] = pushMap["info"];
break;
case "6":case "MEMBER":
routeName = "/router/community_details";
params["businessId"] = pushMap["info"];
break;
case "8":case "WALLET":
routeName = "/router/mine_wallet";
params["id"] = pushMap["info"];
break;
case "9":case "WELFARE":
routeName = "/router/welfare_page";
params["id"] = pushMap["info"];
break;
case "1":
case "ARTICLE":
routeName = "/router/web_page";
params["articleId"] = pushMap["info"];
break;
case "2":
case "ACTIVITY":
routeName = "/router/web_page";
params["activityId"] = pushMap["info"];
break;
case "3":
case "SHOP":
routeName = "/router/store_order";
params["id"] = pushMap["info"];
params["tenant"] = pushMap["tenant"];
params["storeName"] = pushMap["storeName"];
break;
case "4":
case "CREDIT_GOODS":
routeName = "/router/integral_store_page";
params["goodsId"] = pushMap["info"];
break;
case "5":
case "ORDER":
routeName = "/router/order_details";
params["id"] = pushMap["info"];
break;
case "6":
case "MEMBER":
routeName = "/router/community_details";
params["businessId"] = pushMap["info"];
break;
case "8":
case "WALLET":
routeName = "/router/mine_wallet";
params["id"] = pushMap["info"];
break;
case "9":
case "WELFARE":
routeName = "/router/welfare_page";
params["id"] = pushMap["info"];
break;
case "12":
case "COUPON":
routeName = "/router/coupon_page";
params["id"] = pushMap["info"];
break;
case "13":
case "CATE_BEAN":
routeName = "/router/trading_card_page";
params["id"] = pushMap["info"];
break;
}
sharedPreferences.setString("pushData", "");
print("xgPushClickAction: routeName: $routeName");

57
lib/community/community_child_page.dart

@ -17,6 +17,7 @@ import 'package:shared_preferences/shared_preferences.dart';
import 'package:flutter_screenutil/flutter_screenutil.dart';
import '../utils/flutter_utils.dart';
import '../utils/font_weight.dart';
class CommunityChildPage extends StatefulWidget {
final String typeStr;
@ -43,12 +44,18 @@ class CommunityChildPageState extends State<CommunityChildPage>
bool isLoadingData = false;
ScrollController sc = ScrollController();
List<Article> articles = [];
int _currentIndex = 0;
@override
void initState() {
super.initState();
sc.addListener(() {
widget.onScroll();
if (sc.offset >= 500) {
_currentIndex =1;
}else if(sc.offset <= 500){
_currentIndex = 0;
}
});
onRefresh();
}
@ -163,7 +170,7 @@ class CommunityChildPageState extends State<CommunityChildPage>
SmartRefresher(
controller: refreshController,
enablePullDown: true,
enablePullUp: true,
enablePullUp: (articles == null || articles.length == 0) ? false:true,
physics: BouncingScrollPhysics(),
header: MyHeader(),
footer: CustomFooter(
@ -196,9 +203,11 @@ class CommunityChildPageState extends State<CommunityChildPage>
userId: userId,
isList: true,
exitFull: () {
setState(() {
onRefresh();
});
// setState(() {
// onRefresh();
// });
queryCommunity(articles[position].id);
},
),
onTap: () {
@ -209,10 +218,11 @@ class CommunityChildPageState extends State<CommunityChildPage>
"userId": userId,
},
).then((value) {
onRefresh();
setState(() {});
// onRefresh();
// setState(() {});
queryCommunity(articles[position].id);
});
setState(() {});
// setState(() {});
},
);
@ -232,7 +242,38 @@ class CommunityChildPageState extends State<CommunityChildPage>
height: 55,
),
),
)
),
if(_currentIndex == 1)
GestureDetector(
onTap: () {
sc.jumpTo(0);
setState(() {});
},
child: Container(
margin: EdgeInsets.only(bottom:120.h, right: 14.w),
decoration: BoxDecoration(
borderRadius: BorderRadius.circular(100),
color: Colors.white,
),
height:48,
width: 48,
child: Column(
crossAxisAlignment: CrossAxisAlignment.center,
children: [
Icon(Icons.arrow_upward,size: 16,color: Color(0xFF808080),),
Text(
"顶部",
textAlign: TextAlign.center,
style: TextStyle(
color: Color(0xFF808080),
fontSize: 14.sp,
fontWeight: MyFontWeight.regular,
),
),
],
),
),
),
],
);
},

165
lib/community/community_details.dart

@ -2,6 +2,7 @@ import 'dart:ui';
import 'package:dio/dio.dart';
import 'package:flutter/material.dart';
import 'package:flutter_easyloading/flutter_easyloading.dart';
import 'package:flutter_smart_dialog/flutter_smart_dialog.dart';
import 'package:huixiang/community/community_view/community_dynamic.dart';
import 'package:huixiang/generated/l10n.dart';
@ -15,8 +16,12 @@ import 'package:huixiang/view_widget/my_appbar.dart';
import 'package:huixiang/view_widget/tips_dialog.dart';
import 'package:huixiang/web/web_view/comment_list.dart';
import 'package:huixiang/web/web_view/input_comment.dart';
import 'package:pull_to_refresh/pull_to_refresh.dart';
import 'package:shared_preferences/shared_preferences.dart';
import '../view_widget/classic_header.dart';
import '../view_widget/my_footer.dart';
class CommunityDetails extends StatefulWidget {
final Map<String, dynamic> arguments;
@ -54,6 +59,7 @@ class _CommunityDetails extends State<CommunityDetails>
double keyboard = -1;
bool needShowSmiley = false;
bool needHideSmiley = false;
final RefreshController refreshController = RefreshController();
void didChangeMetrics() {
WidgetsBinding.instance.addPostFrameCallback((_) {
@ -94,11 +100,21 @@ class _CommunityDetails extends State<CommunityDetails>
void initState() {
super.initState();
// comunity = widget.arguments["comment"];
EasyLoading.show(status: S.current.zhengzaijiazai);
businessId = widget.arguments["businessId"];
WidgetsBinding.instance.addObserver(this);
commentFocus.addListener(_focusNodeListener);
_queryMemberCommentList();
scrollController.addListener(() {
//
if(MediaQuery.of(context).viewInsets.bottom > 0)
FocusScope.of(context).requestFocus(FocusNode());
if(needShowSmiley && window.viewInsets.bottom > 0.1)
needHideSmiley = false;
setState(() {
emojiShowing = false;
});
});
_queryMemberCommentList(true);
queryDetails(businessId);
}
@ -130,9 +146,10 @@ class _CommunityDetails extends State<CommunityDetails>
@override
void dispose(){
super.dispose();
WidgetsBinding.instance.removeObserver(this);
commentFocus.removeListener(_focusNodeListener);
super.dispose();
refreshController.dispose();
}
///
@ -147,14 +164,24 @@ class _CommunityDetails extends State<CommunityDetails>
BaseData<Article> baseData =
await apiService.informationInfo(id).catchError((onError) {
debugPrint(onError.toString());
refreshController.refreshFailed();
});
if (baseData != null && baseData.isSuccess) {
setState(() {
article = baseData.data;
EasyLoading.dismiss();
refreshController.refreshCompleted();
});
}else {
refreshController.refreshFailed();
}
}
_onRefresh() {
queryDetails(businessId);
_queryMemberCommentList(true);
}
@override
Widget build(BuildContext context) {
double h = MediaQuery.of(context).viewInsets.bottom;
@ -186,61 +213,81 @@ class _CommunityDetails extends State<CommunityDetails>
child: Column(
children: [
Expanded(
child: SingleChildScrollView(
physics: BouncingScrollPhysics(),
child: Column(
children: [
if (article != null)
CommunityDynamic(
article,
0,
exitFull: () {
setState(() {});
},
userId: widget.arguments != null
? widget.arguments["userId"]
: widget.arguments["mid"],
itemCount: 3,
isDetails: true,
heightFun: (height) {
this.height = height +
MediaQuery.of(context).padding.top +
kToolbarHeight +
24;
if (mounted) setState(() {});
child: SmartRefresher(
controller: refreshController,
enablePullDown: true,
enablePullUp: false,
header: MyHeader(),
footer: CustomFooter(
builder: (context, mode) {
return MyFooter(mode);
},
),
onRefresh: () {
setState(() {
emojiShowing = false;
isKeyBoardShow = emojiShowing;
FocusScope.of(context).requestFocus(FocusNode());
_onRefresh();
});
},
scrollController:scrollController,
child: SingleChildScrollView(
physics: BouncingScrollPhysics(),
child: Column(
children: [
if (article != null)
CommunityDynamic(
article,
0,
exitFull: () {
setState(() {});
},
userId: widget.arguments != null
? widget.arguments["userId"]
: widget.arguments["mid"],
itemCount: 3,
isDetails: true,
heightFun: (height) {
this.height = height +
MediaQuery.of(context).padding.top +
kToolbarHeight +
24;
if (mounted) setState(() {});
},
),
CommentList(
commentKey,
article?.likes ?? 0,
businessId,
4,
isKeyBoardShow,
_reply,
_delCommentTips,
12.sp,
requestApiFinish: (total) {
setState(() {
commentTotal = total;
});
},
),
CommentList(
commentKey,
article?.likes ?? 0,
businessId,
4,
isKeyBoardShow,
_reply,
_delCommentTips,
12.sp,
requestApiFinish: (total) {
setState(() {
commentTotal = total;
});
},
),
if (memberList == null || memberList.length == 0)
Container(
width: double.infinity,
alignment: Alignment.topCenter,
margin: EdgeInsets.only(top: 40),
padding: EdgeInsets.all(22.h),
child: Text(
S.of(context).zanwupinglun,
style: TextStyle(
fontSize: 12,
fontWeight: FontWeight.bold,
color: Color(0xFFA0A0A0),
if (memberList == null || memberList.length == 0)
Container(
width: double.infinity,
alignment: Alignment.topCenter,
margin: EdgeInsets.only(top: 40),
padding: EdgeInsets.all(22.h),
child: Text(
S.of(context).zanwupinglun,
style: TextStyle(
fontSize: 12,
fontWeight: FontWeight.bold,
color: Color(0xFFA0A0A0),
),
),
),
),
],
],
),
),
),
flex: 1,
@ -299,7 +346,7 @@ class _CommunityDetails extends State<CommunityDetails>
state.queryMemberCommentList();
commentTextController.text = "";
FocusScope.of(context).unfocus();
_queryMemberCommentList();
_queryMemberCommentList(false);
}
}
@ -351,14 +398,15 @@ class _CommunityDetails extends State<CommunityDetails>
}
///
_queryMemberCommentList() async {
_queryMemberCommentList(bool isOnRefresh) async {
if (!isOnRefresh) EasyLoading.show(status: S.current.zhengzaijiazai);
SharedPreferences sharedPreferences = await SharedPreferences.getInstance();
if (apiService == null)
apiService = ApiService(
Dio(),
context: context,
token: sharedPreferences.getString("token"),
showLoading: true,
// showLoading: true,
);
BaseData<PageInfo<MemberCommentList>> baseData =
await apiService.memberCommentList({
@ -372,6 +420,9 @@ class _CommunityDetails extends State<CommunityDetails>
memberList = baseData.data.list;
contentHeight();
if (mounted) setState(() {});
EasyLoading.dismiss();
}else {
refreshController.refreshFailed();
}
}
}

20
lib/community/community_page.dart

@ -7,6 +7,7 @@ import 'package:flutter_screenutil/flutter_screenutil.dart';
import 'package:huixiang/view_widget/my_tab.dart';
import '../generated/l10n.dart';
import '../utils/upload_async.dart';
import 'community_course.dart';
import 'headlines/article_page.dart';
@ -18,7 +19,7 @@ class CommunityPage extends StatefulWidget {
}
class _CommunityPage extends State<CommunityPage>
with SingleTickerProviderStateMixin,AutomaticKeepAliveClientMixin {
with SingleTickerProviderStateMixin,AutomaticKeepAliveClientMixin,UploadObserver {
TabController tabcontroller;
CommunityChildPage guanzhu,tuijian ;
@ -39,13 +40,20 @@ class _CommunityPage extends State<CommunityPage>
@override
void initState() {
super.initState();
UploadInstance.instance.uploadObserverList.add(this);
if (tabcontroller == null)
tabcontroller = TabController(length: lables.length, vsync: this, initialIndex: 1);
}
@override
void dispose() {
super.dispose();
UploadInstance.instance.uploadObserverList.remove(this);
}
void onChildScroll(){
if(scrollCount == 0){
setState(() {
@ -63,8 +71,8 @@ class _CommunityPage extends State<CommunityPage>
});
}
_toRelease() async {
await Navigator.of(context).pushNamed('/router/release_dynamic');
@override
void onUploadFinish(){
if(tabcontroller.index == 0){
CommunityChildPageState page = guanzhuKey.currentState;
page.onRefresh();
@ -74,6 +82,10 @@ class _CommunityPage extends State<CommunityPage>
}
}
_toRelease() async {
Navigator.of(context).pushNamed('/router/release_dynamic');
}
@override
Widget build(BuildContext context) {
return Scaffold(

3
lib/community/community_view/class_details.dart

@ -412,7 +412,8 @@ class _ClassDetails extends State<ClassDetails> with WidgetsBindingObserver {
color: Colors.black,
),
),
SizedBox(height: 3.h),
SizedBox(height: 5.h),
if((course?.introduce ?? "").length > 50)
GestureDetector(
onTap: () {
setState(() {

1
lib/community/community_view/community_dynamic.dart

@ -271,6 +271,7 @@ class _CommunityDynamic extends State<CommunityDynamic> {
),
if ((widget?.article?.author != widget.userId ?? ""))
GestureDetector(
behavior: HitTestBehavior.opaque,
onTap: () {
setState(() {
if (widget.commentType == 0) {

12
lib/community/community_view/course_banner.dart

@ -37,6 +37,9 @@ class _CourseBanner extends State<CourseBanner> {
child: Swiper(
viewportFraction: 0.88,
scale: 0.93,
autoplay: true,
duration: 1000,
autoplayDelay: 2000,
pagination: SwiperPagination(
alignment: Alignment.bottomCenter,
builder: DotSwiperPaginationBuilder(
@ -57,7 +60,7 @@ class _CourseBanner extends State<CourseBanner> {
(widget.bannerData != null && position < widget.bannerData.length)
? widget.bannerData[position].imgUrl
: "",
fit: BoxFit.cover,
fit: BoxFit.fill,
radius: BorderRadius.circular(8),
errorSrc: "assets/image/default_2_1.webp",
fadeSrc: "assets/image/default_2_1.webp",
@ -71,7 +74,7 @@ class _CourseBanner extends State<CourseBanner> {
);
}
/// contentType 0123,4:,5:
/// contentType 0123,4:,5:,7
bannerClick(BannerData bannerData) async {
switch (bannerData.contentType) {
case 1:
@ -107,6 +110,11 @@ class _CourseBanner extends State<CourseBanner> {
"id": bannerData.content,
});
break;
case 7:
String params = bannerData.content.substring(bannerData.content.indexOf("?")+1);
Map map = jsonDecode(params);
Navigator.of(context).pushNamed(bannerData.content.substring(0,bannerData.content.indexOf("?")), arguments: map);
break;
}
}
}

7
lib/community/headlines/headlines_banner.dart

@ -71,7 +71,7 @@ class _HeadlinesBanner extends State<HeadlinesBanner> {
);
}
/// contentType 0123,4:,5:
/// contentType 0123,4:,5:7
bannerClick(BannerData bannerData) async {
switch (bannerData.contentType) {
case 1:
@ -107,6 +107,11 @@ class _HeadlinesBanner extends State<HeadlinesBanner> {
"id": bannerData.content,
});
break;
case 7:
String params = bannerData.content.substring(bannerData.content.indexOf("?")+1);
Map map = jsonDecode(params);
Navigator.of(context).pushNamed(bannerData.content.substring(0,bannerData.content.indexOf("?")), arguments: map);
break;
}
}
}

4
lib/community/photo_view_gallery_screen.dart

@ -2,6 +2,7 @@ import 'dart:io';
import 'package:flutter/material.dart';
import 'package:huixiang/utils/ImgCachePath.dart';
import 'package:network_to_file_image/network_to_file_image.dart';
import 'package:photo_view/photo_view.dart';
import 'package:photo_view/photo_view_gallery.dart';
import 'package:path/path.dart' as p;
@ -58,6 +59,9 @@ class _PhotoViewGalleryScreenState extends State<PhotoViewGalleryScreen> {
.replaceAll("https://pos.upload.gznl.top/", "").replaceAll("/", "")),
debug: true,
),
//
maxScale: PhotoViewComputedScale.contained *2.5,
minScale: PhotoViewComputedScale.contained *1,
);
},
itemCount: widget.images.length,

102
lib/community/release_dynamic.dart

@ -1,21 +1,19 @@
import 'dart:convert';
import 'dart:io';
import 'package:dio/dio.dart';
import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
import 'package:flutter_easyloading/flutter_easyloading.dart';
import 'package:flutter_smart_dialog/flutter_smart_dialog.dart';
import 'package:flutter_svg/flutter_svg.dart';
import 'package:huixiang/generated/l10n.dart';
import 'package:huixiang/retrofit/data/address.dart';
import 'package:huixiang/retrofit/data/base_data.dart';
import 'package:huixiang/retrofit/data/upload_result.dart';
import 'package:huixiang/retrofit/retrofit_api.dart';
import 'package:huixiang/utils/font_weight.dart';
import 'package:huixiang/view_widget/my_appbar.dart';
import 'package:flutter_screenutil/flutter_screenutil.dart';
import 'package:image_pickers/image_pickers.dart';
import 'package:shared_preferences/shared_preferences.dart';
import 'package:thumbnails/thumbnails.dart';
import '../utils/upload_async.dart';
class ReleaseDynamic extends StatefulWidget {
@override
@ -170,99 +168,9 @@ class _ReleaseDynamic extends State<ReleaseDynamic> {
SmartDialog.showToast("请输入您此刻的想法!");
return;
}
EasyLoading.show(status: "上传中");
fileUpload().then((value) async {
String subjectType = "text";
if (dynamicType == 0) {
subjectType = "text";
} else if (dynamicType == 1) {
subjectType = "image";
} else if (dynamicType == 2) {
subjectType = "video";
}
List<String> remoteImageUrls = [];
String remoteVideoUrl = "";
String remoteVideoCoverImg = "";
if (mediaPaths.length > 0) {
if (dynamicType == 1) {
remoteImageUrls = mediaPaths.map((e) => e.remotePath).toList();
} else if (dynamicType == 2) {
remoteVideoUrl = mediaPaths[0].remotePath;
remoteVideoCoverImg = mediaPaths[0].thumbPath;
}
}
BaseData<bool> baseData = await apiService.trend({
"images": remoteImageUrls,
"subject": dynamicText,
"subjectType": subjectType,
"video": remoteVideoUrl,
"coverImg": remoteVideoCoverImg,
"latitude": "",
"location": addressController.text == "" ? "" : addressController.text,
"longitude": "",
}).catchError((onError) {
EasyLoading.dismiss();
});
if (baseData != null && baseData.isSuccess) {
SmartDialog.showToast("发布成功!");
Future.delayed(Duration(seconds: 1), () {
Navigator.of(context).pop(true);
});
} else {
SmartDialog.showToast(baseData.msg, alignment: Alignment.center);
}
EasyLoading.dismiss();
});
}
///
Future<void> fileUpload() async {
if (mediaPaths != null && mediaPaths.length > 0) {
await Future.forEach(mediaPaths, (element) async {
if ((element.remotePath == null || element.remotePath == "") &&
(element != null &&
element.path != null &&
element.path != "" &&
await File(element.path).exists())) {
File file = File(element.path);
if (dynamicType == 2) {
String thumbnail;
if (element.thumbPath != null &&
element.thumbPath != "" &&
await File(element.thumbPath).exists()) {
thumbnail = element.thumbPath;
} else {
thumbnail = await Thumbnails.getThumbnail(
videoFile: file.path,
imageType: ThumbFormat.JPEG,
quality: 10,
);
}
if (thumbnail != null &&
thumbnail != "" &&
await File(thumbnail).exists()) {
BaseData<UploadResult> baseData = await apiService.upload(
File(thumbnail), 123123123, dynamicType == 2);
if (baseData != null && baseData.isSuccess) {
UploadResult uploadResult = baseData.data;
mediaPaths[mediaPaths.indexOf(element)].thumbPath =
uploadResult.url;
}
}
}
BaseData<UploadResult> baseData =
await apiService.upload(file, 123123123, dynamicType == 2);
if (baseData != null && baseData.isSuccess) {
UploadResult uploadResult = baseData.data;
mediaPaths[mediaPaths.indexOf(element)].remotePath =
uploadResult.url;
}
}
});
}
UploadAsync.upload(dynamicType, mediaPaths, addressController.text, dynamicText);
Navigator.of(context).pop();
}
Widget imageItem(Medias media) {
@ -473,6 +381,8 @@ class _ReleaseDynamic extends State<ReleaseDynamic> {
maxLines: 5,
style: TextStyle(
fontSize: 14.sp,
height: 1.3,
letterSpacing:1,
fontWeight: MyFontWeight.medium,
color: Color(0xFF4C4C4C),
),

75
lib/generated/intl/messages_en.dart

@ -81,31 +81,33 @@ class MessageLookup extends MessageLookupByLibrary {
static m30(jifen) => "实付积分 ${jifen}积分";
static m31(sui) => "${sui}";
static m31(jihuanka) => "实付集换卡 ${jihuanka}集换卡";
static m32(num) => "完成${num}";
static m32(sui) => "${sui}";
static m33(time) => "下单时间:${time}";
static m33(num) => "完成${num}";
static m34(xihuan) => "喜欢(${xihuan})";
static m34(time) => "下单时间:${time}";
static m35(shoujihao) => "邀请人手机号:${shoujihao}";
static m35(xihuan) => "喜欢(${xihuan})";
static m36(jian) => "已兑换${jian}";
static m36(shoujihao) => "邀请人手机号:${shoujihao}";
static m37(time) => "营业时间: ${time}";
static m37(jian) => "已兑换${jian}";
static m38(date) => "有效期:${date}";
static m38(time) => "营业时间: ${time}";
static m39(date) => "有效期${date}";
static m39(date) => "有效期:${date}";
static m40(yuan) => "${yuan}";
static m40(date) => "有效期至${date}";
static m41(yue) => "余额${yue}";
static m41(yuan) => "${yuan}";
static m42(yue) => "余额 ${yue}";
static m42(yue) => "余额${yue}";
static m43(zuozhe) => "作者:${zuozhe}";
static m43(yue) => "余额 ${yue}";
static m44(zuozhe) => "作者:${zuozhe}";
final messages = _notInlinedMessages(_notInlinedMessages);
static _notInlinedMessages(_) => <String, Function> {
@ -114,6 +116,7 @@ class MessageLookup extends MessageLookupByLibrary {
"baiyinhuiyuan" : MessageLookupByLibrary.simpleMessage("白银会员"),
"banben" : m0,
"bangdingfuka" : MessageLookupByLibrary.simpleMessage("绑定副卡"),
"bangdingshouji" : MessageLookupByLibrary.simpleMessage("绑定手机"),
"bangong" : MessageLookupByLibrary.simpleMessage("办公"),
"bangzhuyufankui" : MessageLookupByLibrary.simpleMessage("帮助与反馈"),
"baocun" : MessageLookupByLibrary.simpleMessage("保存"),
@ -165,6 +168,7 @@ class MessageLookup extends MessageLookupByLibrary {
"code_error" : MessageLookupByLibrary.simpleMessage("验证码输入错误"),
"cunchu" : MessageLookupByLibrary.simpleMessage("存储"),
"cunchutishixinxi" : MessageLookupByLibrary.simpleMessage("为了获得照片使用、缓存等功能,推荐您在使用期间打开存储权限"),
"dabaodaodianqu" : MessageLookupByLibrary.simpleMessage("打包到店取"),
"daifukuan" : MessageLookupByLibrary.simpleMessage("待付款"),
"daipeisong" : MessageLookupByLibrary.simpleMessage("待配送"),
"daiqucan" : MessageLookupByLibrary.simpleMessage("待取餐"),
@ -188,6 +192,7 @@ class MessageLookup extends MessageLookupByLibrary {
"diandan" : MessageLookupByLibrary.simpleMessage("点单"),
"dianhua" : MessageLookupByLibrary.simpleMessage("电话"),
"dianjidenglu" : MessageLookupByLibrary.simpleMessage("点击登录,享受更多精彩信息"),
"dianneiyongcan" : MessageLookupByLibrary.simpleMessage("店内用餐"),
"dianputuijian" : MessageLookupByLibrary.simpleMessage("店铺推荐"),
"dianpuyue" : MessageLookupByLibrary.simpleMessage("店铺余额"),
"dianwolingqu" : MessageLookupByLibrary.simpleMessage("点我领取"),
@ -216,7 +221,7 @@ class MessageLookup extends MessageLookupByLibrary {
"duihuanchenggong" : MessageLookupByLibrary.simpleMessage("兑换成功"),
"duihuanguize" : MessageLookupByLibrary.simpleMessage("兑换规则"),
"duihuanhoufahuo" : MessageLookupByLibrary.simpleMessage("兑换后五个工作日内发货"),
"duihuanhouwugegongzuori" : MessageLookupByLibrary.simpleMessage("兑换后五个工作日可前往门店"),
"duihuanhouwugegongzuori" : MessageLookupByLibrary.simpleMessage("兑换后五个工作日可前往门店"),
"duihuanliangdidaogao" : MessageLookupByLibrary.simpleMessage("兑换量从低到高"),
"duihuanlianggaodaodi" : MessageLookupByLibrary.simpleMessage("兑换量从高到低"),
"duihuanlishi" : MessageLookupByLibrary.simpleMessage("兑换历史"),
@ -255,6 +260,7 @@ class MessageLookup extends MessageLookupByLibrary {
"gengduo" : MessageLookupByLibrary.simpleMessage("更多"),
"gengduohaoquan" : MessageLookupByLibrary.simpleMessage("更多好券"),
"gengduoyouhuiquan" : MessageLookupByLibrary.simpleMessage("更多优惠券"),
"genggaibangdingshoujihao" : MessageLookupByLibrary.simpleMessage("更改绑定手机号"),
"genghuanbeijing" : MessageLookupByLibrary.simpleMessage("更换背景"),
"genghuantouxiang" : MessageLookupByLibrary.simpleMessage("更换头像"),
"gengyouhui" : MessageLookupByLibrary.simpleMessage("更优惠"),
@ -344,6 +350,7 @@ class MessageLookup extends MessageLookupByLibrary {
"jifenmingxi" : MessageLookupByLibrary.simpleMessage("积分明细"),
"jifenshangcheng" : MessageLookupByLibrary.simpleMessage("积分商城"),
"jifenxiangqing" : MessageLookupByLibrary.simpleMessage("积分详情"),
"jihuanka" : MessageLookupByLibrary.simpleMessage("集换卡"),
"jingbilianmenghuiyuandian" : MessageLookupByLibrary.simpleMessage("净弼联盟会员店"),
"jingxuanhaowen" : MessageLookupByLibrary.simpleMessage("精选好文"),
"jingxuanhuodong" : MessageLookupByLibrary.simpleMessage("精选活动"),
@ -393,6 +400,7 @@ class MessageLookup extends MessageLookupByLibrary {
"lijiqiandao" : MessageLookupByLibrary.simpleMessage("立即签到"),
"lijishiyong" : MessageLookupByLibrary.simpleMessage("立即使用"),
"lijitiyan" : MessageLookupByLibrary.simpleMessage("立即体验"),
"lijiyuyue" : MessageLookupByLibrary.simpleMessage("立即预约"),
"likekaitong" : MessageLookupByLibrary.simpleMessage("立刻开通"),
"likexufei" : MessageLookupByLibrary.simpleMessage("立刻续费"),
"likezhifu" : MessageLookupByLibrary.simpleMessage("立刻支付"),
@ -480,9 +488,12 @@ class MessageLookup extends MessageLookupByLibrary {
"qingtianxiexingming" : MessageLookupByLibrary.simpleMessage("请填写收件人姓名"),
"qingtong" : MessageLookupByLibrary.simpleMessage("青铜"),
"qingtonghuiyuan" : MessageLookupByLibrary.simpleMessage("青铜会员"),
"qingxianxuanguige" : MessageLookupByLibrary.simpleMessage("请先选规格"),
"qingxuanzeshiyongmendian" : MessageLookupByLibrary.simpleMessage("请选择使用门店"),
"qingxuanzeshouhuodizhi" : MessageLookupByLibrary.simpleMessage("请选择收货地址"),
"qingxuanzeyigemendian" : MessageLookupByLibrary.simpleMessage("请选择一个门店"),
"qingxuanzeyuyeushijian" : MessageLookupByLibrary.simpleMessage("请选择预约时间"),
"qingxuanzeyuyuemendian" : MessageLookupByLibrary.simpleMessage("请选择预约门店"),
"qingxuanzhemendian" : MessageLookupByLibrary.simpleMessage("请选择门店"),
"qingxuanzheninxiangshezhideyuyan" : MessageLookupByLibrary.simpleMessage("请选择您想设置的语言"),
"qingzaiguidingshijianneizhifu" : MessageLookupByLibrary.simpleMessage("请在规定时间内完成支付"),
@ -505,6 +516,7 @@ class MessageLookup extends MessageLookupByLibrary {
"quanyixiangqing" : MessageLookupByLibrary.simpleMessage("权益详情"),
"qucanhao" : MessageLookupByLibrary.simpleMessage("取餐号"),
"qudanhao" : m26,
"qudaolaiyuan" : MessageLookupByLibrary.simpleMessage("渠道来源"),
"qudenglu" : MessageLookupByLibrary.simpleMessage("去登录"),
"queding" : MessageLookupByLibrary.simpleMessage("确定"),
"quedingyaoshanchudongtai" : MessageLookupByLibrary.simpleMessage("确定要删除这条动态?"),
@ -562,6 +574,7 @@ class MessageLookup extends MessageLookupByLibrary {
"shifangjiazaigengduo" : MessageLookupByLibrary.simpleMessage("释放加载更多"),
"shifangshuaxin" : MessageLookupByLibrary.simpleMessage("释放刷新"),
"shifujifen" : m30,
"shifujihuanka" : m31,
"shimingrenzheng" : MessageLookupByLibrary.simpleMessage("实名认证"),
"shixiaoquan" : MessageLookupByLibrary.simpleMessage("失效券"),
"shixiaoyouhuiquan" : MessageLookupByLibrary.simpleMessage("失效优惠券"),
@ -585,9 +598,11 @@ class MessageLookup extends MessageLookupByLibrary {
"shuaxinshibai" : MessageLookupByLibrary.simpleMessage("刷新失败"),
"shuaxinyue" : MessageLookupByLibrary.simpleMessage("刷新余额"),
"shuaxinzhong" : MessageLookupByLibrary.simpleMessage("刷新中...."),
"shuliang" : MessageLookupByLibrary.simpleMessage("数量"),
"shurushouhuorendizhi" : MessageLookupByLibrary.simpleMessage("请输入收货人地址"),
"shuruzhifumima" : MessageLookupByLibrary.simpleMessage("输入支付密码"),
"sui" : m31,
"sui" : m32,
"tangshi" : MessageLookupByLibrary.simpleMessage("堂食"),
"tebieshengming" : MessageLookupByLibrary.simpleMessage("特别声明"),
"tehuizhuanqu" : MessageLookupByLibrary.simpleMessage("特惠专区"),
"tianjiaxinfuka" : MessageLookupByLibrary.simpleMessage("添加新副卡"),
@ -606,12 +621,13 @@ class MessageLookup extends MessageLookupByLibrary {
"tuichudenglu" : MessageLookupByLibrary.simpleMessage("退出登录"),
"tuiguangma" : MessageLookupByLibrary.simpleMessage("推广码"),
"tuikuan" : MessageLookupByLibrary.simpleMessage("退款"),
"waidai" : MessageLookupByLibrary.simpleMessage("外带"),
"waimai" : MessageLookupByLibrary.simpleMessage("外卖"),
"waimaipeisong" : MessageLookupByLibrary.simpleMessage("外卖配送"),
"waisong" : MessageLookupByLibrary.simpleMessage("外送"),
"wan" : MessageLookupByLibrary.simpleMessage(""),
"wancheng" : MessageLookupByLibrary.simpleMessage("完成"),
"wancheng_" : m32,
"wancheng_" : m33,
"wanchengyicixiadan" : MessageLookupByLibrary.simpleMessage("完成一次下单"),
"wangjimima" : MessageLookupByLibrary.simpleMessage("忘记密码"),
"wanjiankang" : MessageLookupByLibrary.simpleMessage("玩健康"),
@ -655,7 +671,7 @@ class MessageLookup extends MessageLookupByLibrary {
"wuliuxinxi" : MessageLookupByLibrary.simpleMessage("物流信息"),
"wuliuzhuangtai" : MessageLookupByLibrary.simpleMessage("物流状态:"),
"xiadanshijian" : MessageLookupByLibrary.simpleMessage("下单时间"),
"xiadanshijian_" : m33,
"xiadanshijian_" : m34,
"xiadanzhuanjifen" : MessageLookupByLibrary.simpleMessage("下单赚积分"),
"xialashuaxin" : MessageLookupByLibrary.simpleMessage("下拉刷新"),
"xiangce" : MessageLookupByLibrary.simpleMessage("相册"),
@ -668,22 +684,26 @@ class MessageLookup extends MessageLookupByLibrary {
"xianxiashiyong" : MessageLookupByLibrary.simpleMessage("线下使用"),
"xiaofei" : MessageLookupByLibrary.simpleMessage("消费"),
"xiaofeijifen" : MessageLookupByLibrary.simpleMessage("消费积分"),
"xiaofeijihuanka" : MessageLookupByLibrary.simpleMessage("消费集换卡"),
"xiaofeijilu" : MessageLookupByLibrary.simpleMessage("消费记录"),
"xiaoxi" : MessageLookupByLibrary.simpleMessage("消息"),
"xiayidengji" : MessageLookupByLibrary.simpleMessage("下一等级"),
"xiazaiwancheng" : MessageLookupByLibrary.simpleMessage("加载完成"),
"xiedongtai" : MessageLookupByLibrary.simpleMessage("写动态"),
"xieyitanchuang" : MessageLookupByLibrary.simpleMessage("一心回乡用户隐私政策"),
"xihuan_" : m34,
"xihuan_" : m35,
"xindianhuodong" : MessageLookupByLibrary.simpleMessage("星店活动"),
"xingming" : MessageLookupByLibrary.simpleMessage("姓名"),
"xitongtongzhi" : MessageLookupByLibrary.simpleMessage("系统通知"),
"xitongxiaoxi" : MessageLookupByLibrary.simpleMessage("系统消息"),
"xiugai" : MessageLookupByLibrary.simpleMessage("修改"),
"xiugaichenggong" : MessageLookupByLibrary.simpleMessage("修改成功"),
"xiugaiyonghuming" : MessageLookupByLibrary.simpleMessage("修改用户名"),
"xuanguige" : MessageLookupByLibrary.simpleMessage("选规格"),
"xuanhaola" : MessageLookupByLibrary.simpleMessage("选好啦"),
"xuanji" : MessageLookupByLibrary.simpleMessage("选集"),
"xuanzeshangpinlingqufangshi" : MessageLookupByLibrary.simpleMessage("请选择商品的领取方式"),
"xuanzetuijianmendian" : MessageLookupByLibrary.simpleMessage("选择推荐门店"),
"xuefeihuiyuan" : MessageLookupByLibrary.simpleMessage("续费会员"),
"xuexijiankang" : MessageLookupByLibrary.simpleMessage("学习健康"),
"xufeihuixiangVIP" : MessageLookupByLibrary.simpleMessage("续费回乡VIP"),
@ -691,11 +711,11 @@ class MessageLookup extends MessageLookupByLibrary {
"yanzhengma" : MessageLookupByLibrary.simpleMessage("验证码"),
"yaoqinghaoyou" : MessageLookupByLibrary.simpleMessage("邀请好友"),
"yaoqinghaoyoudefen" : MessageLookupByLibrary.simpleMessage("邀请好友得分"),
"yaoqingrenshoujihao_" : m35,
"yaoqingrenshoujihao_" : m36,
"yaoqingwancheng" : MessageLookupByLibrary.simpleMessage("邀请完成"),
"yibangfuka" : MessageLookupByLibrary.simpleMessage("已绑副卡"),
"yiduihuan" : MessageLookupByLibrary.simpleMessage("已兑换"),
"yiduihuanjian" : m36,
"yiduihuanjian" : m37,
"yifahuo" : MessageLookupByLibrary.simpleMessage("已发货"),
"yiguanzhu" : MessageLookupByLibrary.simpleMessage("已关注"),
"yihouzaishuo" : MessageLookupByLibrary.simpleMessage("以后再说"),
@ -712,7 +732,8 @@ class MessageLookup extends MessageLookupByLibrary {
"yindaoye2" : MessageLookupByLibrary.simpleMessage("全新集团联盟店会员点餐"),
"yindaoye3" : MessageLookupByLibrary.simpleMessage("会员活动专区"),
"yindaoye4" : MessageLookupByLibrary.simpleMessage("过健康有机生活"),
"yingyeshijian" : m37,
"yingwen" : MessageLookupByLibrary.simpleMessage("英文"),
"yingyeshijian" : m38,
"yinkahuiyuan" : MessageLookupByLibrary.simpleMessage("银卡会员"),
"yinshi" : MessageLookupByLibrary.simpleMessage("饮食"),
"yinsishengming" : MessageLookupByLibrary.simpleMessage("隐私声明"),
@ -742,15 +763,15 @@ class MessageLookup extends MessageLookupByLibrary {
"youhuiquanlingqu" : MessageLookupByLibrary.simpleMessage("优惠券领取"),
"youhuiquanwufajileijifen" : MessageLookupByLibrary.simpleMessage("优惠金额无法累积积分,订单撤销或其他原因造成的未成功支付的订单,无法获得对应的积分。"),
"youkedenglu" : MessageLookupByLibrary.simpleMessage("游客登录"),
"youxiaoqi" : m38,
"youxiaoqi" : m39,
"youxiaoqixian" : MessageLookupByLibrary.simpleMessage("有效期限:"),
"youxiaoqizhi" : m39,
"youxiaoqizhi" : m40,
"yuan" : MessageLookupByLibrary.simpleMessage(""),
"yuan_" : m40,
"yuan_" : m41,
"yuanjia" : MessageLookupByLibrary.simpleMessage("原价"),
"yue" : MessageLookupByLibrary.simpleMessage("余额"),
"yue_" : m41,
"yue__" : m42,
"yue_" : m42,
"yue__" : m43,
"yuemingxi" : MessageLookupByLibrary.simpleMessage("余额明细"),
"yuliudianhua" : MessageLookupByLibrary.simpleMessage("预留电话"),
"yunfei" : MessageLookupByLibrary.simpleMessage("运费"),
@ -801,6 +822,6 @@ class MessageLookup extends MessageLookupByLibrary {
"zuanshihuiyuan" : MessageLookupByLibrary.simpleMessage("钻石会员"),
"zuixinwenzhang" : MessageLookupByLibrary.simpleMessage("最新文章"),
"zuorenwudejifen" : MessageLookupByLibrary.simpleMessage("做任务得积分"),
"zuozhe" : m43
"zuozhe" : m44
};
}

75
lib/generated/intl/messages_en_US.dart

@ -81,31 +81,33 @@ class MessageLookup extends MessageLookupByLibrary {
static m30(jifen) => "Paid in integral ${jifen}integral";
static m31(sui) => "${sui}years old";
static m31(jihuanka) => "paid-in trading card ${jihuanka}trading card";
static m32(num) => "Finish${num}";
static m32(sui) => "${sui}years old";
static m33(time) => "Ordering time:${time}";
static m33(num) => "Finish${num}";
static m34(xihuan) => "Like(${xihuan})";
static m34(time) => "Ordering time:${time}";
static m35(shoujihao) => "Inviter\'s mobile number:${shoujihao}";
static m35(xihuan) => "Like(${xihuan})";
static m36(jian) => "${jian}pieces redeemed";
static m36(shoujihao) => "Inviter\'s mobile number:${shoujihao}";
static m37(time) => "Business hours: ${time}";
static m37(jian) => "${jian}pieces redeemed";
static m38(date) => "Validity:${date}";
static m38(time) => "Business hours: ${time}";
static m39(date) => "Valid until ${date}";
static m39(date) => "Validity:${date}";
static m40(yuan) => "${yuan}yuan";
static m40(date) => "Valid until ${date}";
static m41(yue) => "Balance ${yue}";
static m41(yuan) => "${yuan}yuan";
static m42(yue) => "Balance ${yue}";
static m43(zuozhe) => "Author:${zuozhe}";
static m43(yue) => "Balance ${yue}";
static m44(zuozhe) => "Author:${zuozhe}";
final messages = _notInlinedMessages(_notInlinedMessages);
static _notInlinedMessages(_) => <String, Function> {
@ -114,6 +116,7 @@ class MessageLookup extends MessageLookupByLibrary {
"baiyinhuiyuan" : MessageLookupByLibrary.simpleMessage("Silver Member"),
"banben" : m0,
"bangdingfuka" : MessageLookupByLibrary.simpleMessage("binding sub card"),
"bangdingshouji" : MessageLookupByLibrary.simpleMessage("bind phone"),
"bangong" : MessageLookupByLibrary.simpleMessage("Office"),
"bangzhuyufankui" : MessageLookupByLibrary.simpleMessage("Help"),
"baocun" : MessageLookupByLibrary.simpleMessage("Save"),
@ -165,6 +168,7 @@ class MessageLookup extends MessageLookupByLibrary {
"code_error" : MessageLookupByLibrary.simpleMessage("Wrong input of verification code"),
"cunchu" : MessageLookupByLibrary.simpleMessage("Storage"),
"cunchutishixinxi" : MessageLookupByLibrary.simpleMessage("It is recommended that you open the storage permission during use in order to obtain photo usage, caching and other functions"),
"dabaodaodianqu" : MessageLookupByLibrary.simpleMessage("pack to shop take away"),
"daifukuan" : MessageLookupByLibrary.simpleMessage("Obligations"),
"daipeisong" : MessageLookupByLibrary.simpleMessage("to be delivered"),
"daiqucan" : MessageLookupByLibrary.simpleMessage("To be picked up"),
@ -188,6 +192,7 @@ class MessageLookup extends MessageLookupByLibrary {
"diandan" : MessageLookupByLibrary.simpleMessage("Order"),
"dianhua" : MessageLookupByLibrary.simpleMessage("Telephone"),
"dianjidenglu" : MessageLookupByLibrary.simpleMessage("Click login to enjoy more wonderful information"),
"dianneiyongcan" : MessageLookupByLibrary.simpleMessage("store dining"),
"dianputuijian" : MessageLookupByLibrary.simpleMessage("Store recommendation"),
"dianpuyue" : MessageLookupByLibrary.simpleMessage("Shop balance"),
"dianwolingqu" : MessageLookupByLibrary.simpleMessage("Click me to get it"),
@ -220,7 +225,7 @@ class MessageLookup extends MessageLookupByLibrary {
"duihuanliangdidaogao" : MessageLookupByLibrary.simpleMessage("From low to high exchange volume"),
"duihuanlianggaodaodi" : MessageLookupByLibrary.simpleMessage("From high to low exchange volume"),
"duihuanlishi" : MessageLookupByLibrary.simpleMessage("Exchange"),
"duihuanquan" : MessageLookupByLibrary.simpleMessage("exchange coupon"),
"duihuanquan" : MessageLookupByLibrary.simpleMessage("redeem coupon"),
"duihuanshangpinxiangqing" : MessageLookupByLibrary.simpleMessage("Details of exchanged goods"),
"duihuanxinxi" : MessageLookupByLibrary.simpleMessage("Exchange information"),
"duozhongyouhui" : MessageLookupByLibrary.simpleMessage("A variety of coupons are waiting for you"),
@ -255,6 +260,7 @@ class MessageLookup extends MessageLookupByLibrary {
"gengduo" : MessageLookupByLibrary.simpleMessage("more"),
"gengduohaoquan" : MessageLookupByLibrary.simpleMessage("more good coupons"),
"gengduoyouhuiquan" : MessageLookupByLibrary.simpleMessage("more coupons"),
"genggaibangdingshoujihao" : MessageLookupByLibrary.simpleMessage("modify bind phone"),
"genghuanbeijing" : MessageLookupByLibrary.simpleMessage("Changing the background"),
"genghuantouxiang" : MessageLookupByLibrary.simpleMessage("Changing the avatar"),
"gengyouhui" : MessageLookupByLibrary.simpleMessage("More preferential"),
@ -344,6 +350,7 @@ class MessageLookup extends MessageLookupByLibrary {
"jifenmingxi" : MessageLookupByLibrary.simpleMessage("Integral Details"),
"jifenshangcheng" : MessageLookupByLibrary.simpleMessage("Points Mall"),
"jifenxiangqing" : MessageLookupByLibrary.simpleMessage("Points Details"),
"jihuanka" : MessageLookupByLibrary.simpleMessage("trading card"),
"jingbilianmenghuiyuandian" : MessageLookupByLibrary.simpleMessage("Jingbi League Member Store"),
"jingxuanhaowen" : MessageLookupByLibrary.simpleMessage("Selected good articles "),
"jingxuanhuodong" : MessageLookupByLibrary.simpleMessage("Selected Activities"),
@ -393,6 +400,7 @@ class MessageLookup extends MessageLookupByLibrary {
"lijiqiandao" : MessageLookupByLibrary.simpleMessage("Sign in immediately"),
"lijishiyong" : MessageLookupByLibrary.simpleMessage("Use Now"),
"lijitiyan" : MessageLookupByLibrary.simpleMessage("Experience Now"),
"lijiyuyue" : MessageLookupByLibrary.simpleMessage("directly reservation"),
"likekaitong" : MessageLookupByLibrary.simpleMessage("Open now"),
"likexufei" : MessageLookupByLibrary.simpleMessage("Renew now"),
"likezhifu" : MessageLookupByLibrary.simpleMessage("Pay Now"),
@ -452,7 +460,7 @@ class MessageLookup extends MessageLookupByLibrary {
"pinglun" : MessageLookupByLibrary.simpleMessage("Comment"),
"pinglun_" : m23,
"pingtaiyue" : MessageLookupByLibrary.simpleMessage("Platform Balance"),
"pingtaizhifumima" : MessageLookupByLibrary.simpleMessage("Platform Payment Password"),
"pingtaizhifumima" : MessageLookupByLibrary.simpleMessage("Platform payment password"),
"pingtaizongyue" : m24,
"pinpai" : MessageLookupByLibrary.simpleMessage("brand"),
"pinpaijieshao" : MessageLookupByLibrary.simpleMessage("Brand Introduction"),
@ -480,9 +488,12 @@ class MessageLookup extends MessageLookupByLibrary {
"qingtianxiexingming" : MessageLookupByLibrary.simpleMessage("Please fill in the recipient\'s name"),
"qingtong" : MessageLookupByLibrary.simpleMessage("bronze"),
"qingtonghuiyuan" : MessageLookupByLibrary.simpleMessage("Bronze Member"),
"qingxianxuanguige" : MessageLookupByLibrary.simpleMessage("please select specs"),
"qingxuanzeshiyongmendian" : MessageLookupByLibrary.simpleMessage("Please select a store to use"),
"qingxuanzeshouhuodizhi" : MessageLookupByLibrary.simpleMessage("Please select the shipping address"),
"qingxuanzeyigemendian" : MessageLookupByLibrary.simpleMessage("Please select a store"),
"qingxuanzeyuyeushijian" : MessageLookupByLibrary.simpleMessage("please select subscribe time"),
"qingxuanzeyuyuemendian" : MessageLookupByLibrary.simpleMessage("please select subscribe shop"),
"qingxuanzhemendian" : MessageLookupByLibrary.simpleMessage("Please select a store"),
"qingxuanzheninxiangshezhideyuyan" : MessageLookupByLibrary.simpleMessage("Please select the language you want to set"),
"qingzaiguidingshijianneizhifu" : MessageLookupByLibrary.simpleMessage("Please complete the payment within the specified time"),
@ -505,6 +516,7 @@ class MessageLookup extends MessageLookupByLibrary {
"quanyixiangqing" : MessageLookupByLibrary.simpleMessage("Equity Details"),
"qucanhao" : MessageLookupByLibrary.simpleMessage("Picking number"),
"qudanhao" : m26,
"qudaolaiyuan" : MessageLookupByLibrary.simpleMessage("channel source"),
"qudenglu" : MessageLookupByLibrary.simpleMessage("Log in"),
"queding" : MessageLookupByLibrary.simpleMessage("OK"),
"quedingyaoshanchudongtai" : MessageLookupByLibrary.simpleMessage("Are you sure you want to delete this dynamic?"),
@ -562,6 +574,7 @@ class MessageLookup extends MessageLookupByLibrary {
"shifangjiazaigengduo" : MessageLookupByLibrary.simpleMessage("Release Load More"),
"shifangshuaxin" : MessageLookupByLibrary.simpleMessage("Release Refresh"),
"shifujifen" : m30,
"shifujihuanka" : m31,
"shimingrenzheng" : MessageLookupByLibrary.simpleMessage("Real name authentication"),
"shixiaoquan" : MessageLookupByLibrary.simpleMessage("Invalid coupon"),
"shixiaoyouhuiquan" : MessageLookupByLibrary.simpleMessage("Invalid coupon"),
@ -585,9 +598,11 @@ class MessageLookup extends MessageLookupByLibrary {
"shuaxinshibai" : MessageLookupByLibrary.simpleMessage("Refresh failed"),
"shuaxinyue" : MessageLookupByLibrary.simpleMessage("Refresh Balance"),
"shuaxinzhong" : MessageLookupByLibrary.simpleMessage("Refreshing...."),
"shuliang" : MessageLookupByLibrary.simpleMessage("number"),
"shurushouhuorendizhi" : MessageLookupByLibrary.simpleMessage("Please enter the consignee address"),
"shuruzhifumima" : MessageLookupByLibrary.simpleMessage("Enter payment password"),
"sui" : m31,
"sui" : m32,
"tangshi" : MessageLookupByLibrary.simpleMessage("tang shi"),
"tebieshengming" : MessageLookupByLibrary.simpleMessage("Special statement"),
"tehuizhuanqu" : MessageLookupByLibrary.simpleMessage("Special offer area"),
"tianjiaxinfuka" : MessageLookupByLibrary.simpleMessage("Add a new secondary card"),
@ -606,12 +621,13 @@ class MessageLookup extends MessageLookupByLibrary {
"tuichudenglu" : MessageLookupByLibrary.simpleMessage("Log out"),
"tuiguangma" : MessageLookupByLibrary.simpleMessage("Promotion code"),
"tuikuan" : MessageLookupByLibrary.simpleMessage("Refund"),
"waidai" : MessageLookupByLibrary.simpleMessage("take away"),
"waimai" : MessageLookupByLibrary.simpleMessage("take away"),
"waimaipeisong" : MessageLookupByLibrary.simpleMessage("delivery"),
"waisong" : MessageLookupByLibrary.simpleMessage("sending out"),
"wan" : MessageLookupByLibrary.simpleMessage("Play"),
"wancheng" : MessageLookupByLibrary.simpleMessage("finish"),
"wancheng_" : m32,
"wancheng_" : m33,
"wanchengyicixiadan" : MessageLookupByLibrary.simpleMessage("Place an order once"),
"wangjimima" : MessageLookupByLibrary.simpleMessage("Forgot password"),
"wanjiankang" : MessageLookupByLibrary.simpleMessage("Play healthy"),
@ -655,7 +671,7 @@ class MessageLookup extends MessageLookupByLibrary {
"wuliuxinxi" : MessageLookupByLibrary.simpleMessage("Logistics Information"),
"wuliuzhuangtai" : MessageLookupByLibrary.simpleMessage("Logistics status:"),
"xiadanshijian" : MessageLookupByLibrary.simpleMessage("Order placement time"),
"xiadanshijian_" : m33,
"xiadanshijian_" : m34,
"xiadanzhuanjifen" : MessageLookupByLibrary.simpleMessage("Place orders integral"),
"xialashuaxin" : MessageLookupByLibrary.simpleMessage("Pull down Refresh"),
"xiangce" : MessageLookupByLibrary.simpleMessage("album"),
@ -668,22 +684,26 @@ class MessageLookup extends MessageLookupByLibrary {
"xianxiashiyong" : MessageLookupByLibrary.simpleMessage("offline use"),
"xiaofei" : MessageLookupByLibrary.simpleMessage("consumption"),
"xiaofeijifen" : MessageLookupByLibrary.simpleMessage("Consumption Points"),
"xiaofeijihuanka" : MessageLookupByLibrary.simpleMessage("consume trading card"),
"xiaofeijilu" : MessageLookupByLibrary.simpleMessage("Consumption Record"),
"xiaoxi" : MessageLookupByLibrary.simpleMessage("Messages"),
"xiayidengji" : MessageLookupByLibrary.simpleMessage("Next Level"),
"xiazaiwancheng" : MessageLookupByLibrary.simpleMessage("Loading completed"),
"xiedongtai" : MessageLookupByLibrary.simpleMessage("Write dynamic"),
"xieyitanchuang" : MessageLookupByLibrary.simpleMessage("privacy policy for returning home users"),
"xihuan_" : m34,
"xihuan_" : m35,
"xindianhuodong" : MessageLookupByLibrary.simpleMessage("Star Store Activity"),
"xingming" : MessageLookupByLibrary.simpleMessage("name"),
"xitongtongzhi" : MessageLookupByLibrary.simpleMessage("System Notification"),
"xitongxiaoxi" : MessageLookupByLibrary.simpleMessage("System Messages"),
"xiugai" : MessageLookupByLibrary.simpleMessage("modify"),
"xiugaichenggong" : MessageLookupByLibrary.simpleMessage("Modification succeeded"),
"xiugaiyonghuming" : MessageLookupByLibrary.simpleMessage("Modify User Name"),
"xuanguige" : MessageLookupByLibrary.simpleMessage("Select specs"),
"xuanhaola" : MessageLookupByLibrary.simpleMessage("select success"),
"xuanji" : MessageLookupByLibrary.simpleMessage("Selection"),
"xuanzeshangpinlingqufangshi" : MessageLookupByLibrary.simpleMessage("Please select the picking method of goods"),
"xuanzetuijianmendian" : MessageLookupByLibrary.simpleMessage("select recommended store"),
"xuefeihuiyuan" : MessageLookupByLibrary.simpleMessage("Renewal member"),
"xuexijiankang" : MessageLookupByLibrary.simpleMessage("Learning Health"),
"xufeihuixiangVIP" : MessageLookupByLibrary.simpleMessage("Renewal Home VIP"),
@ -691,11 +711,11 @@ class MessageLookup extends MessageLookupByLibrary {
"yanzhengma" : MessageLookupByLibrary.simpleMessage("verification code"),
"yaoqinghaoyou" : MessageLookupByLibrary.simpleMessage("Invite friends"),
"yaoqinghaoyoudefen" : MessageLookupByLibrary.simpleMessage("Invite friends to score"),
"yaoqingrenshoujihao_" : m35,
"yaoqingrenshoujihao_" : m36,
"yaoqingwancheng" : MessageLookupByLibrary.simpleMessage("Invitation completed"),
"yibangfuka" : MessageLookupByLibrary.simpleMessage("bound sub card"),
"yiduihuan" : MessageLookupByLibrary.simpleMessage("redeemed"),
"yiduihuanjian" : m36,
"yiduihuanjian" : m37,
"yifahuo" : MessageLookupByLibrary.simpleMessage("Shipped"),
"yiguanzhu" : MessageLookupByLibrary.simpleMessage("Followed"),
"yihouzaishuo" : MessageLookupByLibrary.simpleMessage("Talk Later"),
@ -712,7 +732,8 @@ class MessageLookup extends MessageLookupByLibrary {
"yindaoye2" : MessageLookupByLibrary.simpleMessage("New Group Alliance Store Members Order Meals"),
"yindaoye3" : MessageLookupByLibrary.simpleMessage("Member activity zone"),
"yindaoye4" : MessageLookupByLibrary.simpleMessage("Live a healthy and organic life"),
"yingyeshijian" : m37,
"yingwen" : MessageLookupByLibrary.simpleMessage("United States"),
"yingyeshijian" : m38,
"yinkahuiyuan" : MessageLookupByLibrary.simpleMessage("Silver card member"),
"yinshi" : MessageLookupByLibrary.simpleMessage("diet"),
"yinsishengming" : MessageLookupByLibrary.simpleMessage("Privacy Statement"),
@ -742,15 +763,15 @@ class MessageLookup extends MessageLookupByLibrary {
"youhuiquanlingqu" : MessageLookupByLibrary.simpleMessage("coupon collection"),
"youhuiquanwufajileijifen" : MessageLookupByLibrary.simpleMessage("The preferential amount cannot accumulate points, and the corresponding points cannot be obtained for orders that are not successfully paid due to order cancellation or other reasons。"),
"youkedenglu" : MessageLookupByLibrary.simpleMessage("Visitor login"),
"youxiaoqi" : m38,
"youxiaoqi" : m39,
"youxiaoqixian" : MessageLookupByLibrary.simpleMessage("Valid Period:"),
"youxiaoqizhi" : m39,
"youxiaoqizhi" : m40,
"yuan" : MessageLookupByLibrary.simpleMessage("yuan"),
"yuan_" : m40,
"yuan_" : m41,
"yuanjia" : MessageLookupByLibrary.simpleMessage("original price"),
"yue" : MessageLookupByLibrary.simpleMessage("Balance"),
"yue_" : m41,
"yue__" : m42,
"yue_" : m42,
"yue__" : m43,
"yuemingxi" : MessageLookupByLibrary.simpleMessage("Balance Details"),
"yuliudianhua" : MessageLookupByLibrary.simpleMessage("Reserved telephone"),
"yunfei" : MessageLookupByLibrary.simpleMessage("Freight"),
@ -801,6 +822,6 @@ class MessageLookup extends MessageLookupByLibrary {
"zuanshihuiyuan" : MessageLookupByLibrary.simpleMessage("Diamond Member"),
"zuixinwenzhang" : MessageLookupByLibrary.simpleMessage("Latest Articles"),
"zuorenwudejifen" : MessageLookupByLibrary.simpleMessage("Score points for doing tasks"),
"zuozhe" : m43
"zuozhe" : m44
};
}

75
lib/generated/intl/messages_zh_CN.dart

@ -81,31 +81,33 @@ class MessageLookup extends MessageLookupByLibrary {
static m30(jifen) => "实付积分 ${jifen}积分";
static m31(sui) => "${sui}";
static m31(jihuanka) => "实付集换卡 ${jihuanka}集换卡";
static m32(num) => "完成${num}";
static m32(sui) => "${sui}";
static m33(time) => "下单时间:${time}";
static m33(num) => "完成${num}";
static m34(xihuan) => "喜欢(${xihuan})";
static m34(time) => "下单时间:${time}";
static m35(shoujihao) => "邀请人手机号:${shoujihao}";
static m35(xihuan) => "喜欢(${xihuan})";
static m36(jian) => "已兑换${jian}";
static m36(shoujihao) => "邀请人手机号:${shoujihao}";
static m37(time) => "营业时间: ${time}";
static m37(jian) => "已兑换${jian}";
static m38(date) => "有效期:${date}";
static m38(time) => "营业时间: ${time}";
static m39(date) => "有效期${date}";
static m39(date) => "有效期:${date}";
static m40(yuan) => "${yuan}";
static m40(date) => "有效期至${date}";
static m41(yue) => "余额${yue}";
static m41(yuan) => "${yuan}";
static m42(yue) => "余额 ${yue}";
static m42(yue) => "余额${yue}";
static m43(zuozhe) => "作者:${zuozhe}";
static m43(yue) => "余额 ${yue}";
static m44(zuozhe) => "作者:${zuozhe}";
final messages = _notInlinedMessages(_notInlinedMessages);
static _notInlinedMessages(_) => <String, Function> {
@ -114,6 +116,7 @@ class MessageLookup extends MessageLookupByLibrary {
"baiyinhuiyuan" : MessageLookupByLibrary.simpleMessage("白银会员"),
"banben" : m0,
"bangdingfuka" : MessageLookupByLibrary.simpleMessage("绑定副卡"),
"bangdingshouji" : MessageLookupByLibrary.simpleMessage("绑定手机"),
"bangong" : MessageLookupByLibrary.simpleMessage("办公"),
"bangzhuyufankui" : MessageLookupByLibrary.simpleMessage("帮助与反馈"),
"baocun" : MessageLookupByLibrary.simpleMessage("保存"),
@ -165,6 +168,7 @@ class MessageLookup extends MessageLookupByLibrary {
"code_error" : MessageLookupByLibrary.simpleMessage("验证码输入错误"),
"cunchu" : MessageLookupByLibrary.simpleMessage("存储"),
"cunchutishixinxi" : MessageLookupByLibrary.simpleMessage("为了获得照片使用、缓存等功能,推荐您在使用期间打开存储权限"),
"dabaodaodianqu" : MessageLookupByLibrary.simpleMessage("打包到店取"),
"daifukuan" : MessageLookupByLibrary.simpleMessage("待付款"),
"daipeisong" : MessageLookupByLibrary.simpleMessage("待配送"),
"daiqucan" : MessageLookupByLibrary.simpleMessage("待取餐"),
@ -188,6 +192,7 @@ class MessageLookup extends MessageLookupByLibrary {
"diandan" : MessageLookupByLibrary.simpleMessage("点单"),
"dianhua" : MessageLookupByLibrary.simpleMessage("电话"),
"dianjidenglu" : MessageLookupByLibrary.simpleMessage("点击登录,享受更多精彩信息"),
"dianneiyongcan" : MessageLookupByLibrary.simpleMessage("店内用餐"),
"dianputuijian" : MessageLookupByLibrary.simpleMessage("店铺推荐"),
"dianpuyue" : MessageLookupByLibrary.simpleMessage("店铺余额"),
"dianwolingqu" : MessageLookupByLibrary.simpleMessage("点我领取"),
@ -216,7 +221,7 @@ class MessageLookup extends MessageLookupByLibrary {
"duihuanchenggong" : MessageLookupByLibrary.simpleMessage("兑换成功"),
"duihuanguize" : MessageLookupByLibrary.simpleMessage("兑换规则"),
"duihuanhoufahuo" : MessageLookupByLibrary.simpleMessage("兑换后五个工作日内发货"),
"duihuanhouwugegongzuori" : MessageLookupByLibrary.simpleMessage("兑换后五个工作日可前往门店"),
"duihuanhouwugegongzuori" : MessageLookupByLibrary.simpleMessage("兑换后五个工作日可前往门店"),
"duihuanliangdidaogao" : MessageLookupByLibrary.simpleMessage("兑换量从低到高"),
"duihuanlianggaodaodi" : MessageLookupByLibrary.simpleMessage("兑换量从高到低"),
"duihuanlishi" : MessageLookupByLibrary.simpleMessage("兑换历史"),
@ -255,6 +260,7 @@ class MessageLookup extends MessageLookupByLibrary {
"gengduo" : MessageLookupByLibrary.simpleMessage("更多"),
"gengduohaoquan" : MessageLookupByLibrary.simpleMessage("更多好券"),
"gengduoyouhuiquan" : MessageLookupByLibrary.simpleMessage("更多优惠券"),
"genggaibangdingshoujihao" : MessageLookupByLibrary.simpleMessage("更改绑定手机号"),
"genghuanbeijing" : MessageLookupByLibrary.simpleMessage("更换背景"),
"genghuantouxiang" : MessageLookupByLibrary.simpleMessage("更换头像"),
"gengyouhui" : MessageLookupByLibrary.simpleMessage("更优惠"),
@ -344,6 +350,7 @@ class MessageLookup extends MessageLookupByLibrary {
"jifenmingxi" : MessageLookupByLibrary.simpleMessage("积分明细"),
"jifenshangcheng" : MessageLookupByLibrary.simpleMessage("积分商城"),
"jifenxiangqing" : MessageLookupByLibrary.simpleMessage("积分详情"),
"jihuanka" : MessageLookupByLibrary.simpleMessage("集换卡"),
"jingbilianmenghuiyuandian" : MessageLookupByLibrary.simpleMessage("净弼联盟会员店"),
"jingxuanhaowen" : MessageLookupByLibrary.simpleMessage("精选好文"),
"jingxuanhuodong" : MessageLookupByLibrary.simpleMessage("精选活动"),
@ -393,6 +400,7 @@ class MessageLookup extends MessageLookupByLibrary {
"lijiqiandao" : MessageLookupByLibrary.simpleMessage("立即签到"),
"lijishiyong" : MessageLookupByLibrary.simpleMessage("立即使用"),
"lijitiyan" : MessageLookupByLibrary.simpleMessage("立即体验"),
"lijiyuyue" : MessageLookupByLibrary.simpleMessage("立即预约"),
"likekaitong" : MessageLookupByLibrary.simpleMessage("立刻开通"),
"likexufei" : MessageLookupByLibrary.simpleMessage("立刻续费"),
"likezhifu" : MessageLookupByLibrary.simpleMessage("立刻支付"),
@ -480,9 +488,12 @@ class MessageLookup extends MessageLookupByLibrary {
"qingtianxiexingming" : MessageLookupByLibrary.simpleMessage("请填写收件人姓名"),
"qingtong" : MessageLookupByLibrary.simpleMessage("青铜"),
"qingtonghuiyuan" : MessageLookupByLibrary.simpleMessage("青铜会员"),
"qingxianxuanguige" : MessageLookupByLibrary.simpleMessage("请先选规格"),
"qingxuanzeshiyongmendian" : MessageLookupByLibrary.simpleMessage("请选择使用门店"),
"qingxuanzeshouhuodizhi" : MessageLookupByLibrary.simpleMessage("请选择收货地址"),
"qingxuanzeyigemendian" : MessageLookupByLibrary.simpleMessage("请选择一个门店"),
"qingxuanzeyuyeushijian" : MessageLookupByLibrary.simpleMessage("请选择预约时间"),
"qingxuanzeyuyuemendian" : MessageLookupByLibrary.simpleMessage("请选择预约门店"),
"qingxuanzhemendian" : MessageLookupByLibrary.simpleMessage("请选择门店"),
"qingxuanzheninxiangshezhideyuyan" : MessageLookupByLibrary.simpleMessage("请选择您想设置的语言"),
"qingzaiguidingshijianneizhifu" : MessageLookupByLibrary.simpleMessage("请在规定时间内完成支付"),
@ -505,6 +516,7 @@ class MessageLookup extends MessageLookupByLibrary {
"quanyixiangqing" : MessageLookupByLibrary.simpleMessage("权益详情"),
"qucanhao" : MessageLookupByLibrary.simpleMessage("取餐号"),
"qudanhao" : m26,
"qudaolaiyuan" : MessageLookupByLibrary.simpleMessage("渠道来源"),
"qudenglu" : MessageLookupByLibrary.simpleMessage("去登录"),
"queding" : MessageLookupByLibrary.simpleMessage("确定"),
"quedingyaoshanchudongtai" : MessageLookupByLibrary.simpleMessage("确定要删除这条动态?"),
@ -562,6 +574,7 @@ class MessageLookup extends MessageLookupByLibrary {
"shifangjiazaigengduo" : MessageLookupByLibrary.simpleMessage("释放加载更多"),
"shifangshuaxin" : MessageLookupByLibrary.simpleMessage("释放刷新"),
"shifujifen" : m30,
"shifujihuanka" : m31,
"shimingrenzheng" : MessageLookupByLibrary.simpleMessage("实名认证"),
"shixiaoquan" : MessageLookupByLibrary.simpleMessage("失效券"),
"shixiaoyouhuiquan" : MessageLookupByLibrary.simpleMessage("失效优惠券"),
@ -585,9 +598,11 @@ class MessageLookup extends MessageLookupByLibrary {
"shuaxinshibai" : MessageLookupByLibrary.simpleMessage("刷新失败"),
"shuaxinyue" : MessageLookupByLibrary.simpleMessage("刷新余额"),
"shuaxinzhong" : MessageLookupByLibrary.simpleMessage("刷新中...."),
"shuliang" : MessageLookupByLibrary.simpleMessage("数量"),
"shurushouhuorendizhi" : MessageLookupByLibrary.simpleMessage("请输入收货人地址"),
"shuruzhifumima" : MessageLookupByLibrary.simpleMessage("输入支付密码"),
"sui" : m31,
"sui" : m32,
"tangshi" : MessageLookupByLibrary.simpleMessage("堂食"),
"tebieshengming" : MessageLookupByLibrary.simpleMessage("特别声明"),
"tehuizhuanqu" : MessageLookupByLibrary.simpleMessage("特惠专区"),
"tianjiaxinfuka" : MessageLookupByLibrary.simpleMessage("添加新副卡"),
@ -606,12 +621,13 @@ class MessageLookup extends MessageLookupByLibrary {
"tuichudenglu" : MessageLookupByLibrary.simpleMessage("退出登录"),
"tuiguangma" : MessageLookupByLibrary.simpleMessage("推广码"),
"tuikuan" : MessageLookupByLibrary.simpleMessage("退款"),
"waidai" : MessageLookupByLibrary.simpleMessage("外带"),
"waimai" : MessageLookupByLibrary.simpleMessage("外卖"),
"waimaipeisong" : MessageLookupByLibrary.simpleMessage("外卖配送"),
"waisong" : MessageLookupByLibrary.simpleMessage("外送"),
"wan" : MessageLookupByLibrary.simpleMessage(""),
"wancheng" : MessageLookupByLibrary.simpleMessage("完成"),
"wancheng_" : m32,
"wancheng_" : m33,
"wanchengyicixiadan" : MessageLookupByLibrary.simpleMessage("完成一次下单"),
"wangjimima" : MessageLookupByLibrary.simpleMessage("忘记密码"),
"wanjiankang" : MessageLookupByLibrary.simpleMessage("玩健康"),
@ -655,7 +671,7 @@ class MessageLookup extends MessageLookupByLibrary {
"wuliuxinxi" : MessageLookupByLibrary.simpleMessage("物流信息"),
"wuliuzhuangtai" : MessageLookupByLibrary.simpleMessage("物流状态:"),
"xiadanshijian" : MessageLookupByLibrary.simpleMessage("下单时间"),
"xiadanshijian_" : m33,
"xiadanshijian_" : m34,
"xiadanzhuanjifen" : MessageLookupByLibrary.simpleMessage("下单赚积分"),
"xialashuaxin" : MessageLookupByLibrary.simpleMessage("下拉刷新"),
"xiangce" : MessageLookupByLibrary.simpleMessage("相册"),
@ -668,22 +684,26 @@ class MessageLookup extends MessageLookupByLibrary {
"xianxiashiyong" : MessageLookupByLibrary.simpleMessage("线下使用"),
"xiaofei" : MessageLookupByLibrary.simpleMessage("消费"),
"xiaofeijifen" : MessageLookupByLibrary.simpleMessage("消费积分"),
"xiaofeijihuanka" : MessageLookupByLibrary.simpleMessage("消费集换卡"),
"xiaofeijilu" : MessageLookupByLibrary.simpleMessage("消费记录"),
"xiaoxi" : MessageLookupByLibrary.simpleMessage("消息"),
"xiayidengji" : MessageLookupByLibrary.simpleMessage("下一等级"),
"xiazaiwancheng" : MessageLookupByLibrary.simpleMessage("加载完成"),
"xiedongtai" : MessageLookupByLibrary.simpleMessage("写动态"),
"xieyitanchuang" : MessageLookupByLibrary.simpleMessage("一心回乡用户隐私政策"),
"xihuan_" : m34,
"xihuan_" : m35,
"xindianhuodong" : MessageLookupByLibrary.simpleMessage("星店活动"),
"xingming" : MessageLookupByLibrary.simpleMessage("姓名"),
"xitongtongzhi" : MessageLookupByLibrary.simpleMessage("系统通知"),
"xitongxiaoxi" : MessageLookupByLibrary.simpleMessage("系统消息"),
"xiugai" : MessageLookupByLibrary.simpleMessage("修改"),
"xiugaichenggong" : MessageLookupByLibrary.simpleMessage("修改成功"),
"xiugaiyonghuming" : MessageLookupByLibrary.simpleMessage("修改用户名"),
"xuanguige" : MessageLookupByLibrary.simpleMessage("选规格"),
"xuanhaola" : MessageLookupByLibrary.simpleMessage("选好啦"),
"xuanji" : MessageLookupByLibrary.simpleMessage("选集"),
"xuanzeshangpinlingqufangshi" : MessageLookupByLibrary.simpleMessage("请选择商品的领取方式"),
"xuanzetuijianmendian" : MessageLookupByLibrary.simpleMessage("选择推荐门店"),
"xuefeihuiyuan" : MessageLookupByLibrary.simpleMessage("续费会员"),
"xuexijiankang" : MessageLookupByLibrary.simpleMessage("学习健康"),
"xufeihuixiangVIP" : MessageLookupByLibrary.simpleMessage("续费回乡VIP"),
@ -691,11 +711,11 @@ class MessageLookup extends MessageLookupByLibrary {
"yanzhengma" : MessageLookupByLibrary.simpleMessage("验证码"),
"yaoqinghaoyou" : MessageLookupByLibrary.simpleMessage("邀请好友"),
"yaoqinghaoyoudefen" : MessageLookupByLibrary.simpleMessage("邀请好友得分"),
"yaoqingrenshoujihao_" : m35,
"yaoqingrenshoujihao_" : m36,
"yaoqingwancheng" : MessageLookupByLibrary.simpleMessage("邀请完成"),
"yibangfuka" : MessageLookupByLibrary.simpleMessage("已绑副卡"),
"yiduihuan" : MessageLookupByLibrary.simpleMessage("已兑换"),
"yiduihuanjian" : m36,
"yiduihuanjian" : m37,
"yifahuo" : MessageLookupByLibrary.simpleMessage("已发货"),
"yiguanzhu" : MessageLookupByLibrary.simpleMessage("已关注"),
"yihouzaishuo" : MessageLookupByLibrary.simpleMessage("以后再说"),
@ -712,7 +732,8 @@ class MessageLookup extends MessageLookupByLibrary {
"yindaoye2" : MessageLookupByLibrary.simpleMessage("全新集团联盟店会员点餐"),
"yindaoye3" : MessageLookupByLibrary.simpleMessage("会员活动专区"),
"yindaoye4" : MessageLookupByLibrary.simpleMessage("过健康有机生活"),
"yingyeshijian" : m37,
"yingwen" : MessageLookupByLibrary.simpleMessage("英文"),
"yingyeshijian" : m38,
"yinkahuiyuan" : MessageLookupByLibrary.simpleMessage("银卡会员"),
"yinshi" : MessageLookupByLibrary.simpleMessage("饮食"),
"yinsishengming" : MessageLookupByLibrary.simpleMessage("隐私声明"),
@ -742,15 +763,15 @@ class MessageLookup extends MessageLookupByLibrary {
"youhuiquanlingqu" : MessageLookupByLibrary.simpleMessage("优惠券领取"),
"youhuiquanwufajileijifen" : MessageLookupByLibrary.simpleMessage("优惠金额无法累积积分,订单撤销或其他原因造成的未成功支付的订单,无法获得对应的积分。"),
"youkedenglu" : MessageLookupByLibrary.simpleMessage("游客登录"),
"youxiaoqi" : m38,
"youxiaoqi" : m39,
"youxiaoqixian" : MessageLookupByLibrary.simpleMessage("有效期限:"),
"youxiaoqizhi" : m39,
"youxiaoqizhi" : m40,
"yuan" : MessageLookupByLibrary.simpleMessage(""),
"yuan_" : m40,
"yuan_" : m41,
"yuanjia" : MessageLookupByLibrary.simpleMessage("原价"),
"yue" : MessageLookupByLibrary.simpleMessage("余额"),
"yue_" : m41,
"yue__" : m42,
"yue_" : m42,
"yue__" : m43,
"yuemingxi" : MessageLookupByLibrary.simpleMessage("余额明细"),
"yuliudianhua" : MessageLookupByLibrary.simpleMessage("预留电话"),
"yunfei" : MessageLookupByLibrary.simpleMessage("运费"),
@ -801,6 +822,6 @@ class MessageLookup extends MessageLookupByLibrary {
"zuanshihuiyuan" : MessageLookupByLibrary.simpleMessage("钻石会员"),
"zuixinwenzhang" : MessageLookupByLibrary.simpleMessage("最新文章"),
"zuorenwudejifen" : MessageLookupByLibrary.simpleMessage("做任务得积分"),
"zuozhe" : m43
"zuozhe" : m44
};
}

75
lib/generated/intl/messages_zh_Hans_CN.dart

@ -81,31 +81,33 @@ class MessageLookup extends MessageLookupByLibrary {
static m30(jifen) => "实付积分 ${jifen}积分";
static m31(sui) => "${sui}";
static m31(jihuanka) => "实付集换卡 ${jihuanka}集换卡";
static m32(num) => "完成${num}";
static m32(sui) => "${sui}";
static m33(time) => "下单时间:${time}";
static m33(num) => "完成${num}";
static m34(xihuan) => "喜欢(${xihuan})";
static m34(time) => "下单时间:${time}";
static m35(shoujihao) => "邀请人手机号:${shoujihao}";
static m35(xihuan) => "喜欢(${xihuan})";
static m36(jian) => "已兑换${jian}";
static m36(shoujihao) => "邀请人手机号:${shoujihao}";
static m37(time) => "营业时间: ${time}";
static m37(jian) => "已兑换${jian}";
static m38(date) => "有效期:${date}";
static m38(time) => "营业时间: ${time}";
static m39(date) => "有效期${date}";
static m39(date) => "有效期:${date}";
static m40(yuan) => "${yuan}";
static m40(date) => "有效期至${date}";
static m41(yue) => "余额${yue}";
static m41(yuan) => "${yuan}";
static m42(yue) => "余额 ${yue}";
static m42(yue) => "余额${yue}";
static m43(zuozhe) => "作者:${zuozhe}";
static m43(yue) => "余额 ${yue}";
static m44(zuozhe) => "作者:${zuozhe}";
final messages = _notInlinedMessages(_notInlinedMessages);
static _notInlinedMessages(_) => <String, Function> {
@ -114,6 +116,7 @@ class MessageLookup extends MessageLookupByLibrary {
"baiyinhuiyuan" : MessageLookupByLibrary.simpleMessage("白银会员"),
"banben" : m0,
"bangdingfuka" : MessageLookupByLibrary.simpleMessage("绑定副卡"),
"bangdingshouji" : MessageLookupByLibrary.simpleMessage("绑定手机"),
"bangong" : MessageLookupByLibrary.simpleMessage("办公"),
"bangzhuyufankui" : MessageLookupByLibrary.simpleMessage("帮助与反馈"),
"baocun" : MessageLookupByLibrary.simpleMessage("保存"),
@ -165,6 +168,7 @@ class MessageLookup extends MessageLookupByLibrary {
"code_error" : MessageLookupByLibrary.simpleMessage("验证码输入错误"),
"cunchu" : MessageLookupByLibrary.simpleMessage("存储"),
"cunchutishixinxi" : MessageLookupByLibrary.simpleMessage("为了获得照片使用、缓存等功能,推荐您在使用期间打开存储权限"),
"dabaodaodianqu" : MessageLookupByLibrary.simpleMessage("打包到店取"),
"daifukuan" : MessageLookupByLibrary.simpleMessage("待付款"),
"daipeisong" : MessageLookupByLibrary.simpleMessage("待配送"),
"daiqucan" : MessageLookupByLibrary.simpleMessage("待取餐"),
@ -188,6 +192,7 @@ class MessageLookup extends MessageLookupByLibrary {
"diandan" : MessageLookupByLibrary.simpleMessage("点单"),
"dianhua" : MessageLookupByLibrary.simpleMessage("电话"),
"dianjidenglu" : MessageLookupByLibrary.simpleMessage("点击登录,享受更多精彩信息"),
"dianneiyongcan" : MessageLookupByLibrary.simpleMessage("店内用餐"),
"dianputuijian" : MessageLookupByLibrary.simpleMessage("店铺推荐"),
"dianpuyue" : MessageLookupByLibrary.simpleMessage("店铺余额"),
"dianwolingqu" : MessageLookupByLibrary.simpleMessage("点我领取"),
@ -216,7 +221,7 @@ class MessageLookup extends MessageLookupByLibrary {
"duihuanchenggong" : MessageLookupByLibrary.simpleMessage("兑换成功"),
"duihuanguize" : MessageLookupByLibrary.simpleMessage("兑换规则"),
"duihuanhoufahuo" : MessageLookupByLibrary.simpleMessage("兑换后五个工作日内发货"),
"duihuanhouwugegongzuori" : MessageLookupByLibrary.simpleMessage("兑换后五个工作日可前往门店"),
"duihuanhouwugegongzuori" : MessageLookupByLibrary.simpleMessage("兑换后五个工作日可前往门店"),
"duihuanliangdidaogao" : MessageLookupByLibrary.simpleMessage("兑换量从低到高"),
"duihuanlianggaodaodi" : MessageLookupByLibrary.simpleMessage("兑换量从高到低"),
"duihuanlishi" : MessageLookupByLibrary.simpleMessage("兑换历史"),
@ -255,6 +260,7 @@ class MessageLookup extends MessageLookupByLibrary {
"gengduo" : MessageLookupByLibrary.simpleMessage("更多"),
"gengduohaoquan" : MessageLookupByLibrary.simpleMessage("更多好券"),
"gengduoyouhuiquan" : MessageLookupByLibrary.simpleMessage("更多优惠券"),
"genggaibangdingshoujihao" : MessageLookupByLibrary.simpleMessage("更改绑定手机号"),
"genghuanbeijing" : MessageLookupByLibrary.simpleMessage("更换背景"),
"genghuantouxiang" : MessageLookupByLibrary.simpleMessage("更换头像"),
"gengyouhui" : MessageLookupByLibrary.simpleMessage("更优惠"),
@ -344,6 +350,7 @@ class MessageLookup extends MessageLookupByLibrary {
"jifenmingxi" : MessageLookupByLibrary.simpleMessage("积分明细"),
"jifenshangcheng" : MessageLookupByLibrary.simpleMessage("积分商城"),
"jifenxiangqing" : MessageLookupByLibrary.simpleMessage("积分详情"),
"jihuanka" : MessageLookupByLibrary.simpleMessage("集换卡"),
"jingbilianmenghuiyuandian" : MessageLookupByLibrary.simpleMessage("净弼联盟会员店"),
"jingxuanhaowen" : MessageLookupByLibrary.simpleMessage("精选好文"),
"jingxuanhuodong" : MessageLookupByLibrary.simpleMessage("精选活动"),
@ -393,6 +400,7 @@ class MessageLookup extends MessageLookupByLibrary {
"lijiqiandao" : MessageLookupByLibrary.simpleMessage("立即签到"),
"lijishiyong" : MessageLookupByLibrary.simpleMessage("立即使用"),
"lijitiyan" : MessageLookupByLibrary.simpleMessage("立即体验"),
"lijiyuyue" : MessageLookupByLibrary.simpleMessage("立即预约"),
"likekaitong" : MessageLookupByLibrary.simpleMessage("立刻开通"),
"likexufei" : MessageLookupByLibrary.simpleMessage("立刻续费"),
"likezhifu" : MessageLookupByLibrary.simpleMessage("立刻支付"),
@ -480,9 +488,12 @@ class MessageLookup extends MessageLookupByLibrary {
"qingtianxiexingming" : MessageLookupByLibrary.simpleMessage("请填写收件人姓名"),
"qingtong" : MessageLookupByLibrary.simpleMessage("青铜"),
"qingtonghuiyuan" : MessageLookupByLibrary.simpleMessage("青铜会员"),
"qingxianxuanguige" : MessageLookupByLibrary.simpleMessage("请先选规格"),
"qingxuanzeshiyongmendian" : MessageLookupByLibrary.simpleMessage("请选择使用门店"),
"qingxuanzeshouhuodizhi" : MessageLookupByLibrary.simpleMessage("请选择收货地址"),
"qingxuanzeyigemendian" : MessageLookupByLibrary.simpleMessage("请选择一个门店"),
"qingxuanzeyuyeushijian" : MessageLookupByLibrary.simpleMessage("请选择预约时间"),
"qingxuanzeyuyuemendian" : MessageLookupByLibrary.simpleMessage("请选择预约门店"),
"qingxuanzhemendian" : MessageLookupByLibrary.simpleMessage("请选择门店"),
"qingxuanzheninxiangshezhideyuyan" : MessageLookupByLibrary.simpleMessage("请选择您想设置的语言"),
"qingzaiguidingshijianneizhifu" : MessageLookupByLibrary.simpleMessage("请在规定时间内完成支付"),
@ -505,6 +516,7 @@ class MessageLookup extends MessageLookupByLibrary {
"quanyixiangqing" : MessageLookupByLibrary.simpleMessage("权益详情"),
"qucanhao" : MessageLookupByLibrary.simpleMessage("取餐号"),
"qudanhao" : m26,
"qudaolaiyuan" : MessageLookupByLibrary.simpleMessage("渠道来源"),
"qudenglu" : MessageLookupByLibrary.simpleMessage("去登录"),
"queding" : MessageLookupByLibrary.simpleMessage("确定"),
"quedingyaoshanchudongtai" : MessageLookupByLibrary.simpleMessage("确定要删除这条动态?"),
@ -562,6 +574,7 @@ class MessageLookup extends MessageLookupByLibrary {
"shifangjiazaigengduo" : MessageLookupByLibrary.simpleMessage("释放加载更多"),
"shifangshuaxin" : MessageLookupByLibrary.simpleMessage("释放刷新"),
"shifujifen" : m30,
"shifujihuanka" : m31,
"shimingrenzheng" : MessageLookupByLibrary.simpleMessage("实名认证"),
"shixiaoquan" : MessageLookupByLibrary.simpleMessage("失效券"),
"shixiaoyouhuiquan" : MessageLookupByLibrary.simpleMessage("失效优惠券"),
@ -585,9 +598,11 @@ class MessageLookup extends MessageLookupByLibrary {
"shuaxinshibai" : MessageLookupByLibrary.simpleMessage("刷新失败"),
"shuaxinyue" : MessageLookupByLibrary.simpleMessage("刷新余额"),
"shuaxinzhong" : MessageLookupByLibrary.simpleMessage("刷新中...."),
"shuliang" : MessageLookupByLibrary.simpleMessage("数量"),
"shurushouhuorendizhi" : MessageLookupByLibrary.simpleMessage("请输入收货人地址"),
"shuruzhifumima" : MessageLookupByLibrary.simpleMessage("输入支付密码"),
"sui" : m31,
"sui" : m32,
"tangshi" : MessageLookupByLibrary.simpleMessage("堂食"),
"tebieshengming" : MessageLookupByLibrary.simpleMessage("特别声明"),
"tehuizhuanqu" : MessageLookupByLibrary.simpleMessage("特惠专区"),
"tianjiaxinfuka" : MessageLookupByLibrary.simpleMessage("添加新副卡"),
@ -606,12 +621,13 @@ class MessageLookup extends MessageLookupByLibrary {
"tuichudenglu" : MessageLookupByLibrary.simpleMessage("退出登录"),
"tuiguangma" : MessageLookupByLibrary.simpleMessage("推广码"),
"tuikuan" : MessageLookupByLibrary.simpleMessage("退款"),
"waidai" : MessageLookupByLibrary.simpleMessage("外带"),
"waimai" : MessageLookupByLibrary.simpleMessage("外卖"),
"waimaipeisong" : MessageLookupByLibrary.simpleMessage("外卖配送"),
"waisong" : MessageLookupByLibrary.simpleMessage("外送"),
"wan" : MessageLookupByLibrary.simpleMessage(""),
"wancheng" : MessageLookupByLibrary.simpleMessage("完成"),
"wancheng_" : m32,
"wancheng_" : m33,
"wanchengyicixiadan" : MessageLookupByLibrary.simpleMessage("完成一次下单"),
"wangjimima" : MessageLookupByLibrary.simpleMessage("忘记密码"),
"wanjiankang" : MessageLookupByLibrary.simpleMessage("玩健康"),
@ -655,7 +671,7 @@ class MessageLookup extends MessageLookupByLibrary {
"wuliuxinxi" : MessageLookupByLibrary.simpleMessage("物流信息"),
"wuliuzhuangtai" : MessageLookupByLibrary.simpleMessage("物流状态:"),
"xiadanshijian" : MessageLookupByLibrary.simpleMessage("下单时间"),
"xiadanshijian_" : m33,
"xiadanshijian_" : m34,
"xiadanzhuanjifen" : MessageLookupByLibrary.simpleMessage("下单赚积分"),
"xialashuaxin" : MessageLookupByLibrary.simpleMessage("下拉刷新"),
"xiangce" : MessageLookupByLibrary.simpleMessage("相册"),
@ -668,22 +684,26 @@ class MessageLookup extends MessageLookupByLibrary {
"xianxiashiyong" : MessageLookupByLibrary.simpleMessage("线下使用"),
"xiaofei" : MessageLookupByLibrary.simpleMessage("消费"),
"xiaofeijifen" : MessageLookupByLibrary.simpleMessage("消费积分"),
"xiaofeijihuanka" : MessageLookupByLibrary.simpleMessage("消费集换卡"),
"xiaofeijilu" : MessageLookupByLibrary.simpleMessage("消费记录"),
"xiaoxi" : MessageLookupByLibrary.simpleMessage("消息"),
"xiayidengji" : MessageLookupByLibrary.simpleMessage("下一等级"),
"xiazaiwancheng" : MessageLookupByLibrary.simpleMessage("加载完成"),
"xiedongtai" : MessageLookupByLibrary.simpleMessage("写动态"),
"xieyitanchuang" : MessageLookupByLibrary.simpleMessage("一心回乡用户隐私政策"),
"xihuan_" : m34,
"xihuan_" : m35,
"xindianhuodong" : MessageLookupByLibrary.simpleMessage("星店活动"),
"xingming" : MessageLookupByLibrary.simpleMessage("姓名"),
"xitongtongzhi" : MessageLookupByLibrary.simpleMessage("系统通知"),
"xitongxiaoxi" : MessageLookupByLibrary.simpleMessage("系统消息"),
"xiugai" : MessageLookupByLibrary.simpleMessage("修改"),
"xiugaichenggong" : MessageLookupByLibrary.simpleMessage("修改成功"),
"xiugaiyonghuming" : MessageLookupByLibrary.simpleMessage("修改用户名"),
"xuanguige" : MessageLookupByLibrary.simpleMessage("选规格"),
"xuanhaola" : MessageLookupByLibrary.simpleMessage("选好啦"),
"xuanji" : MessageLookupByLibrary.simpleMessage("选集"),
"xuanzeshangpinlingqufangshi" : MessageLookupByLibrary.simpleMessage("请选择商品的领取方式"),
"xuanzetuijianmendian" : MessageLookupByLibrary.simpleMessage("选择推荐门店"),
"xuefeihuiyuan" : MessageLookupByLibrary.simpleMessage("续费会员"),
"xuexijiankang" : MessageLookupByLibrary.simpleMessage("学习健康"),
"xufeihuixiangVIP" : MessageLookupByLibrary.simpleMessage("续费回乡VIP"),
@ -691,11 +711,11 @@ class MessageLookup extends MessageLookupByLibrary {
"yanzhengma" : MessageLookupByLibrary.simpleMessage("验证码"),
"yaoqinghaoyou" : MessageLookupByLibrary.simpleMessage("邀请好友"),
"yaoqinghaoyoudefen" : MessageLookupByLibrary.simpleMessage("邀请好友得分"),
"yaoqingrenshoujihao_" : m35,
"yaoqingrenshoujihao_" : m36,
"yaoqingwancheng" : MessageLookupByLibrary.simpleMessage("邀请完成"),
"yibangfuka" : MessageLookupByLibrary.simpleMessage("已绑副卡"),
"yiduihuan" : MessageLookupByLibrary.simpleMessage("已兑换"),
"yiduihuanjian" : m36,
"yiduihuanjian" : m37,
"yifahuo" : MessageLookupByLibrary.simpleMessage("已发货"),
"yiguanzhu" : MessageLookupByLibrary.simpleMessage("已关注"),
"yihouzaishuo" : MessageLookupByLibrary.simpleMessage("以后再说"),
@ -712,7 +732,8 @@ class MessageLookup extends MessageLookupByLibrary {
"yindaoye2" : MessageLookupByLibrary.simpleMessage("全新集团联盟店会员点餐"),
"yindaoye3" : MessageLookupByLibrary.simpleMessage("会员活动专区"),
"yindaoye4" : MessageLookupByLibrary.simpleMessage("过健康有机生活"),
"yingyeshijian" : m37,
"yingwen" : MessageLookupByLibrary.simpleMessage("英文"),
"yingyeshijian" : m38,
"yinkahuiyuan" : MessageLookupByLibrary.simpleMessage("银卡会员"),
"yinshi" : MessageLookupByLibrary.simpleMessage("饮食"),
"yinsishengming" : MessageLookupByLibrary.simpleMessage("隐私声明"),
@ -742,15 +763,15 @@ class MessageLookup extends MessageLookupByLibrary {
"youhuiquanlingqu" : MessageLookupByLibrary.simpleMessage("优惠券领取"),
"youhuiquanwufajileijifen" : MessageLookupByLibrary.simpleMessage("优惠金额无法累积积分,订单撤销或其他原因造成的未成功支付的订单,无法获得对应的积分。"),
"youkedenglu" : MessageLookupByLibrary.simpleMessage("游客登录"),
"youxiaoqi" : m38,
"youxiaoqi" : m39,
"youxiaoqixian" : MessageLookupByLibrary.simpleMessage("有效期限:"),
"youxiaoqizhi" : m39,
"youxiaoqizhi" : m40,
"yuan" : MessageLookupByLibrary.simpleMessage(""),
"yuan_" : m40,
"yuan_" : m41,
"yuanjia" : MessageLookupByLibrary.simpleMessage("原价"),
"yue" : MessageLookupByLibrary.simpleMessage("余额"),
"yue_" : m41,
"yue__" : m42,
"yue_" : m42,
"yue__" : m43,
"yuemingxi" : MessageLookupByLibrary.simpleMessage("余额明细"),
"yuliudianhua" : MessageLookupByLibrary.simpleMessage("预留电话"),
"yunfei" : MessageLookupByLibrary.simpleMessage("运费"),
@ -801,6 +822,6 @@ class MessageLookup extends MessageLookupByLibrary {
"zuanshihuiyuan" : MessageLookupByLibrary.simpleMessage("钻石会员"),
"zuixinwenzhang" : MessageLookupByLibrary.simpleMessage("最新文章"),
"zuorenwudejifen" : MessageLookupByLibrary.simpleMessage("做任务得积分"),
"zuozhe" : m43
"zuozhe" : m44
};
}

75
lib/generated/intl/messages_zh_Hant_CN.dart

@ -79,31 +79,33 @@ class MessageLookup extends MessageLookupByLibrary {
static m30(jifen) => "實付積分 ${jifen}積分";
static m31(sui) => "${sui}";
static m31(jihuanka) => "實付集換卡 ${jihuanka}集換卡";
static m32(num) => "完成${num}";
static m32(sui) => "${sui}";
static m33(time) => "下單時間:${time}";
static m33(num) => "完成${num}";
static m34(xihuan) => "喜歡(${xihuan})";
static m34(time) => "下單時間:${time}";
static m35(shoujihao) => "邀请人手機號:${shoujihao}";
static m35(xihuan) => "喜歡(${xihuan})";
static m36(jian) => "已兌換${jian}";
static m36(shoujihao) => "邀请人手機號:${shoujihao}";
static m37(time) => "營業時間: ${time}";
static m37(jian) => "已兌換${jian}";
static m38(date) => "有效期:${date}";
static m38(time) => "營業時間: ${time}";
static m39(date) => "有效期${date}";
static m39(date) => "有效期:${date}";
static m40(yuan) => "${yuan}";
static m40(date) => "有效期至${date}";
static m41(yue) => "餘額${yue}";
static m41(yuan) => "${yuan}";
static m42(yue) => "餘額 ${yue}";
static m42(yue) => "餘額${yue}";
static m43(zuozhe) => "作者:${zuozhe}";
static m43(yue) => "餘額 ${yue}";
static m44(zuozhe) => "作者:${zuozhe}";
final messages = _notInlinedMessages(_notInlinedMessages);
static _notInlinedMessages(_) => <String, Function> {
@ -112,6 +114,7 @@ class MessageLookup extends MessageLookupByLibrary {
"baiyinhuiyuan" : MessageLookupByLibrary.simpleMessage("白銀會員"),
"banben" : m0,
"bangdingfuka" : MessageLookupByLibrary.simpleMessage("綁定副卡"),
"bangdingshouji" : MessageLookupByLibrary.simpleMessage("綁定手機"),
"bangong" : MessageLookupByLibrary.simpleMessage("辦公"),
"bangzhuyufankui" : MessageLookupByLibrary.simpleMessage("幫助與反饋"),
"baocun" : MessageLookupByLibrary.simpleMessage("保存"),
@ -161,6 +164,7 @@ class MessageLookup extends MessageLookupByLibrary {
"code_error" : MessageLookupByLibrary.simpleMessage("驗證碼輸入錯誤"),
"cunchu" : MessageLookupByLibrary.simpleMessage("存儲"),
"cunchutishixinxi" : MessageLookupByLibrary.simpleMessage("為了獲得照片使用、緩存等功能,推薦您使用期間打開存儲權限"),
"dabaodaodianqu" : MessageLookupByLibrary.simpleMessage("打包到店取"),
"daifukuan" : MessageLookupByLibrary.simpleMessage("待付款"),
"daipeisong" : MessageLookupByLibrary.simpleMessage("待配送"),
"daiqucan" : MessageLookupByLibrary.simpleMessage("待取餐"),
@ -184,6 +188,7 @@ class MessageLookup extends MessageLookupByLibrary {
"diandan" : MessageLookupByLibrary.simpleMessage("點單"),
"dianhua" : MessageLookupByLibrary.simpleMessage("電話"),
"dianjidenglu" : MessageLookupByLibrary.simpleMessage("點擊登錄,享受更多精彩信息"),
"dianneiyongcan" : MessageLookupByLibrary.simpleMessage("店内用餐"),
"dianputuijian" : MessageLookupByLibrary.simpleMessage("店鋪推薦"),
"dianpuyue" : MessageLookupByLibrary.simpleMessage("店鋪餘額"),
"dianwolingqu" : MessageLookupByLibrary.simpleMessage("點我領取"),
@ -212,7 +217,7 @@ class MessageLookup extends MessageLookupByLibrary {
"duihuanchenggong" : MessageLookupByLibrary.simpleMessage("兑换成功"),
"duihuanguize" : MessageLookupByLibrary.simpleMessage("兑换规则"),
"duihuanhoufahuo" : MessageLookupByLibrary.simpleMessage("兌換物商品"),
"duihuanhouwugegongzuori" : MessageLookupByLibrary.simpleMessage("兑换后五个工作日可前往门店"),
"duihuanhouwugegongzuori" : MessageLookupByLibrary.simpleMessage("兑换后五个工作日可前往门店"),
"duihuanliangdidaogao" : MessageLookupByLibrary.simpleMessage("兌換量從低到高"),
"duihuanlianggaodaodi" : MessageLookupByLibrary.simpleMessage("兌換量從高到低"),
"duihuanlishi" : MessageLookupByLibrary.simpleMessage("兌換歷史"),
@ -251,6 +256,7 @@ class MessageLookup extends MessageLookupByLibrary {
"gengduo" : MessageLookupByLibrary.simpleMessage("更多"),
"gengduohaoquan" : MessageLookupByLibrary.simpleMessage("更多好券"),
"gengduoyouhuiquan" : MessageLookupByLibrary.simpleMessage("更多優惠券"),
"genggaibangdingshoujihao" : MessageLookupByLibrary.simpleMessage("更改綁定手機號"),
"genghuanbeijing" : MessageLookupByLibrary.simpleMessage("更換背景"),
"genghuantouxiang" : MessageLookupByLibrary.simpleMessage("更换头像"),
"gengyouhui" : MessageLookupByLibrary.simpleMessage("更優惠"),
@ -340,6 +346,7 @@ class MessageLookup extends MessageLookupByLibrary {
"jifenmingxi" : MessageLookupByLibrary.simpleMessage("積分明細"),
"jifenshangcheng" : MessageLookupByLibrary.simpleMessage("積分商城"),
"jifenxiangqing" : MessageLookupByLibrary.simpleMessage("積分詳情"),
"jihuanka" : MessageLookupByLibrary.simpleMessage("集換卡"),
"jingbilianmenghuiyuandian" : MessageLookupByLibrary.simpleMessage("淨弼聯盟會員店"),
"jingxuanhaowen" : MessageLookupByLibrary.simpleMessage("精選好文"),
"jingxuanhuodong" : MessageLookupByLibrary.simpleMessage("精選活動"),
@ -389,6 +396,7 @@ class MessageLookup extends MessageLookupByLibrary {
"lijiqiandao" : MessageLookupByLibrary.simpleMessage("立即簽到"),
"lijishiyong" : MessageLookupByLibrary.simpleMessage("立即使用"),
"lijitiyan" : MessageLookupByLibrary.simpleMessage("立即體驗"),
"lijiyuyue" : MessageLookupByLibrary.simpleMessage("立即預約"),
"likekaitong" : MessageLookupByLibrary.simpleMessage("立刻開通"),
"likexufei" : MessageLookupByLibrary.simpleMessage("立刻續費"),
"likezhifu" : MessageLookupByLibrary.simpleMessage("立刻支付"),
@ -475,9 +483,12 @@ class MessageLookup extends MessageLookupByLibrary {
"qingtianxiexingming" : MessageLookupByLibrary.simpleMessage("請填寫收件人姓名"),
"qingtong" : MessageLookupByLibrary.simpleMessage("青铜"),
"qingtonghuiyuan" : MessageLookupByLibrary.simpleMessage("青銅會員"),
"qingxianxuanguige" : MessageLookupByLibrary.simpleMessage("請先選規格"),
"qingxuanzeshiyongmendian" : MessageLookupByLibrary.simpleMessage("請選擇使用門店"),
"qingxuanzeshouhuodizhi" : MessageLookupByLibrary.simpleMessage("請選擇收貨地址"),
"qingxuanzeyigemendian" : MessageLookupByLibrary.simpleMessage("請選擇一個門店"),
"qingxuanzeyuyeushijian" : MessageLookupByLibrary.simpleMessage("請選擇預約時間"),
"qingxuanzeyuyuemendian" : MessageLookupByLibrary.simpleMessage("請選擇預約門店"),
"qingxuanzhemendian" : MessageLookupByLibrary.simpleMessage("请选择门店"),
"qingxuanzheninxiangshezhideyuyan" : MessageLookupByLibrary.simpleMessage("請選擇您要設置的語言"),
"qingzaiguidingshijianneizhifu" : MessageLookupByLibrary.simpleMessage("請在規定時間内完成支付"),
@ -500,6 +511,7 @@ class MessageLookup extends MessageLookupByLibrary {
"quanyixiangqing" : MessageLookupByLibrary.simpleMessage("權益詳情"),
"qucanhao" : MessageLookupByLibrary.simpleMessage("取餐號"),
"qudanhao" : m26,
"qudaolaiyuan" : MessageLookupByLibrary.simpleMessage("渠道來源"),
"qudenglu" : MessageLookupByLibrary.simpleMessage("去登錄"),
"queding" : MessageLookupByLibrary.simpleMessage("確定"),
"quedingyaoshanchudongtai" : MessageLookupByLibrary.simpleMessage("確定要刪除這條動態?"),
@ -557,6 +569,7 @@ class MessageLookup extends MessageLookupByLibrary {
"shifangjiazaigengduo" : MessageLookupByLibrary.simpleMessage("釋放加載更多"),
"shifangshuaxin" : MessageLookupByLibrary.simpleMessage("釋放刷新"),
"shifujifen" : m30,
"shifujihuanka" : m31,
"shimingrenzheng" : MessageLookupByLibrary.simpleMessage("實名認證"),
"shixiaoquan" : MessageLookupByLibrary.simpleMessage("失效券"),
"shixiaoyouhuiquan" : MessageLookupByLibrary.simpleMessage("失效优惠券"),
@ -579,9 +592,11 @@ class MessageLookup extends MessageLookupByLibrary {
"shuaxinshibai" : MessageLookupByLibrary.simpleMessage("刷新失敗"),
"shuaxinyue" : MessageLookupByLibrary.simpleMessage("刷新餘額"),
"shuaxinzhong" : MessageLookupByLibrary.simpleMessage("刷新中...."),
"shuliang" : MessageLookupByLibrary.simpleMessage("數量"),
"shurushouhuorendizhi" : MessageLookupByLibrary.simpleMessage("請輸入收貨人地址"),
"shuruzhifumima" : MessageLookupByLibrary.simpleMessage("輸入支付密碼"),
"sui" : m31,
"sui" : m32,
"tangshi" : MessageLookupByLibrary.simpleMessage("堂食"),
"tebieshengming" : MessageLookupByLibrary.simpleMessage("特別聲明"),
"tehuizhuanqu" : MessageLookupByLibrary.simpleMessage("特惠專區"),
"tianjiaxinfuka" : MessageLookupByLibrary.simpleMessage("添加新副卡"),
@ -600,12 +615,13 @@ class MessageLookup extends MessageLookupByLibrary {
"tuichudenglu" : MessageLookupByLibrary.simpleMessage("退出登錄"),
"tuiguangma" : MessageLookupByLibrary.simpleMessage("推廣碼"),
"tuikuan" : MessageLookupByLibrary.simpleMessage("退款"),
"waidai" : MessageLookupByLibrary.simpleMessage("外帶"),
"waimai" : MessageLookupByLibrary.simpleMessage("外賣"),
"waimaipeisong" : MessageLookupByLibrary.simpleMessage("外賣配送"),
"waisong" : MessageLookupByLibrary.simpleMessage("外送"),
"wan" : MessageLookupByLibrary.simpleMessage(""),
"wancheng" : MessageLookupByLibrary.simpleMessage("完成"),
"wancheng_" : m32,
"wancheng_" : m33,
"wanchengyicixiadan" : MessageLookupByLibrary.simpleMessage("完成一次下單"),
"wangjimima" : MessageLookupByLibrary.simpleMessage("忘記密碼"),
"wanjiankang" : MessageLookupByLibrary.simpleMessage("玩健康"),
@ -649,7 +665,7 @@ class MessageLookup extends MessageLookupByLibrary {
"wuliuxinxi" : MessageLookupByLibrary.simpleMessage("物流信息"),
"wuliuzhuangtai" : MessageLookupByLibrary.simpleMessage("物流狀態:"),
"xiadanshijian" : MessageLookupByLibrary.simpleMessage("下單時間"),
"xiadanshijian_" : m33,
"xiadanshijian_" : m34,
"xiadanzhuanjifen" : MessageLookupByLibrary.simpleMessage("下單賺積分"),
"xialashuaxin" : MessageLookupByLibrary.simpleMessage("下拉刷新"),
"xiangce" : MessageLookupByLibrary.simpleMessage("相冊"),
@ -662,22 +678,26 @@ class MessageLookup extends MessageLookupByLibrary {
"xianxiashiyong" : MessageLookupByLibrary.simpleMessage("線下使用"),
"xiaofei" : MessageLookupByLibrary.simpleMessage("消費"),
"xiaofeijifen" : MessageLookupByLibrary.simpleMessage("消费积分"),
"xiaofeijihuanka" : MessageLookupByLibrary.simpleMessage("消費集換卡"),
"xiaofeijilu" : MessageLookupByLibrary.simpleMessage("消費記錄"),
"xiaoxi" : MessageLookupByLibrary.simpleMessage("消息"),
"xiayidengji" : MessageLookupByLibrary.simpleMessage("下一等級"),
"xiazaiwancheng" : MessageLookupByLibrary.simpleMessage("加載完成"),
"xiedongtai" : MessageLookupByLibrary.simpleMessage("寫動態"),
"xieyitanchuang" : MessageLookupByLibrary.simpleMessage("一心回鄉用戶隱私協議"),
"xihuan_" : m34,
"xihuan_" : m35,
"xindianhuodong" : MessageLookupByLibrary.simpleMessage("星店活動"),
"xingming" : MessageLookupByLibrary.simpleMessage("姓名"),
"xitongtongzhi" : MessageLookupByLibrary.simpleMessage("系統通知"),
"xitongxiaoxi" : MessageLookupByLibrary.simpleMessage("系統消息"),
"xiugai" : MessageLookupByLibrary.simpleMessage("修改"),
"xiugaichenggong" : MessageLookupByLibrary.simpleMessage("修改成功"),
"xiugaiyonghuming" : MessageLookupByLibrary.simpleMessage("修改用戶名"),
"xuanguige" : MessageLookupByLibrary.simpleMessage("選規格"),
"xuanhaola" : MessageLookupByLibrary.simpleMessage("選好啦"),
"xuanji" : MessageLookupByLibrary.simpleMessage("選集"),
"xuanzeshangpinlingqufangshi" : MessageLookupByLibrary.simpleMessage("請選擇商品的領取方式"),
"xuanzetuijianmendian" : MessageLookupByLibrary.simpleMessage("選擇推薦門店"),
"xuefeihuiyuan" : MessageLookupByLibrary.simpleMessage("續費會員"),
"xuexijiankang" : MessageLookupByLibrary.simpleMessage("學習健康"),
"xufeihuixiangVIP" : MessageLookupByLibrary.simpleMessage("續費回鄉VIP"),
@ -685,11 +705,11 @@ class MessageLookup extends MessageLookupByLibrary {
"yanzhengma" : MessageLookupByLibrary.simpleMessage("驗證碼"),
"yaoqinghaoyou" : MessageLookupByLibrary.simpleMessage("邀請好友"),
"yaoqinghaoyoudefen" : MessageLookupByLibrary.simpleMessage("邀請好友得分"),
"yaoqingrenshoujihao_" : m35,
"yaoqingrenshoujihao_" : m36,
"yaoqingwancheng" : MessageLookupByLibrary.simpleMessage("邀請完成"),
"yibangfuka" : MessageLookupByLibrary.simpleMessage("已綁副卡"),
"yiduihuan" : MessageLookupByLibrary.simpleMessage("已兌換"),
"yiduihuanjian" : m36,
"yiduihuanjian" : m37,
"yifahuo" : MessageLookupByLibrary.simpleMessage("已發貨"),
"yiguanzhu" : MessageLookupByLibrary.simpleMessage("已關注"),
"yihouzaishuo" : MessageLookupByLibrary.simpleMessage("以後再說"),
@ -706,7 +726,8 @@ class MessageLookup extends MessageLookupByLibrary {
"yindaoye2" : MessageLookupByLibrary.simpleMessage("全新集團聯盟店會員點餐"),
"yindaoye3" : MessageLookupByLibrary.simpleMessage("會員活動專區"),
"yindaoye4" : MessageLookupByLibrary.simpleMessage("過健康有機生活"),
"yingyeshijian" : m37,
"yingwen" : MessageLookupByLibrary.simpleMessage("英文"),
"yingyeshijian" : m38,
"yinkahuiyuan" : MessageLookupByLibrary.simpleMessage("银卡会员"),
"yinshi" : MessageLookupByLibrary.simpleMessage("飲食"),
"yinsishengming" : MessageLookupByLibrary.simpleMessage("隱私聲明"),
@ -736,15 +757,15 @@ class MessageLookup extends MessageLookupByLibrary {
"youhuiquanlingqu" : MessageLookupByLibrary.simpleMessage("優惠券領取"),
"youhuiquanwufajileijifen" : MessageLookupByLibrary.simpleMessage("優惠金額無法累積積分,訂單撤銷或其他原因造成的未成功支付的訂單,無法獲得對應的積分。"),
"youkedenglu" : MessageLookupByLibrary.simpleMessage("遊客登錄"),
"youxiaoqi" : m38,
"youxiaoqi" : m39,
"youxiaoqixian" : MessageLookupByLibrary.simpleMessage("有效期限:"),
"youxiaoqizhi" : m39,
"youxiaoqizhi" : m40,
"yuan" : MessageLookupByLibrary.simpleMessage(""),
"yuan_" : m40,
"yuan_" : m41,
"yuanjia" : MessageLookupByLibrary.simpleMessage("原價"),
"yue" : MessageLookupByLibrary.simpleMessage("餘額"),
"yue_" : m41,
"yue__" : m42,
"yue_" : m42,
"yue__" : m43,
"yuemingxi" : MessageLookupByLibrary.simpleMessage("餘額明細"),
"yuliudianhua" : MessageLookupByLibrary.simpleMessage("預留電話"),
"yunfei" : MessageLookupByLibrary.simpleMessage("運費"),
@ -795,6 +816,6 @@ class MessageLookup extends MessageLookupByLibrary {
"zuanshihuiyuan" : MessageLookupByLibrary.simpleMessage("鑽石會員"),
"zuixinwenzhang" : MessageLookupByLibrary.simpleMessage("最新文章"),
"zuorenwudejifen" : MessageLookupByLibrary.simpleMessage("做任務得積分"),
"zuozhe" : m43
"zuozhe" : m44
};
}

75
lib/generated/intl/messages_zh_TW.dart

@ -79,31 +79,33 @@ class MessageLookup extends MessageLookupByLibrary {
static m30(jifen) => "實付積分 ${jifen}積分";
static m31(sui) => "${sui}";
static m31(jihuanka) => "實付集換卡 ${jihuanka}集換卡";
static m32(num) => "完成${num}";
static m32(sui) => "${sui}";
static m33(time) => "下單時間:${time}";
static m33(num) => "完成${num}";
static m34(xihuan) => "喜歡(${xihuan})";
static m34(time) => "下單時間:${time}";
static m35(shoujihao) => "邀请人手機號:${shoujihao}";
static m35(xihuan) => "喜歡(${xihuan})";
static m36(jian) => "已兌換${jian}";
static m36(shoujihao) => "邀请人手機號:${shoujihao}";
static m37(time) => "營業時間: ${time}";
static m37(jian) => "已兌換${jian}";
static m38(date) => "有效期:${date}";
static m38(time) => "營業時間: ${time}";
static m39(date) => "有效期${date}";
static m39(date) => "有效期:${date}";
static m40(yuan) => "${yuan}";
static m40(date) => "有效期至${date}";
static m41(yue) => "餘額${yue}";
static m41(yuan) => "${yuan}";
static m42(yue) => "餘額 ${yue}";
static m42(yue) => "餘額${yue}";
static m43(zuozhe) => "作者:${zuozhe}";
static m43(yue) => "餘額 ${yue}";
static m44(zuozhe) => "作者:${zuozhe}";
final messages = _notInlinedMessages(_notInlinedMessages);
static _notInlinedMessages(_) => <String, Function> {
@ -112,6 +114,7 @@ class MessageLookup extends MessageLookupByLibrary {
"baiyinhuiyuan" : MessageLookupByLibrary.simpleMessage("白銀會員"),
"banben" : m0,
"bangdingfuka" : MessageLookupByLibrary.simpleMessage("綁定副卡"),
"bangdingshouji" : MessageLookupByLibrary.simpleMessage("綁定手機"),
"bangong" : MessageLookupByLibrary.simpleMessage("辦公"),
"bangzhuyufankui" : MessageLookupByLibrary.simpleMessage("幫助與反饋"),
"baocun" : MessageLookupByLibrary.simpleMessage("保存"),
@ -163,6 +166,7 @@ class MessageLookup extends MessageLookupByLibrary {
"code_error" : MessageLookupByLibrary.simpleMessage("驗證碼輸入錯誤"),
"cunchu" : MessageLookupByLibrary.simpleMessage("存儲"),
"cunchutishixinxi" : MessageLookupByLibrary.simpleMessage("為了獲得照片使用、緩存等功能,推薦您使用期間打開存儲權限"),
"dabaodaodianqu" : MessageLookupByLibrary.simpleMessage("打包到店取"),
"daifukuan" : MessageLookupByLibrary.simpleMessage("待付款"),
"daipeisong" : MessageLookupByLibrary.simpleMessage("待配送"),
"daiqucan" : MessageLookupByLibrary.simpleMessage("待取餐"),
@ -186,6 +190,7 @@ class MessageLookup extends MessageLookupByLibrary {
"diandan" : MessageLookupByLibrary.simpleMessage("點單"),
"dianhua" : MessageLookupByLibrary.simpleMessage("電話"),
"dianjidenglu" : MessageLookupByLibrary.simpleMessage("點擊登錄,享受更多精彩信息"),
"dianneiyongcan" : MessageLookupByLibrary.simpleMessage("店内用餐"),
"dianputuijian" : MessageLookupByLibrary.simpleMessage("店鋪推薦"),
"dianpuyue" : MessageLookupByLibrary.simpleMessage("店鋪餘額"),
"dianwolingqu" : MessageLookupByLibrary.simpleMessage("點我領取"),
@ -214,7 +219,7 @@ class MessageLookup extends MessageLookupByLibrary {
"duihuanchenggong" : MessageLookupByLibrary.simpleMessage("兑换成功"),
"duihuanguize" : MessageLookupByLibrary.simpleMessage("兑换规则"),
"duihuanhoufahuo" : MessageLookupByLibrary.simpleMessage("兌換物商品"),
"duihuanhouwugegongzuori" : MessageLookupByLibrary.simpleMessage("兑换后五个工作日可前往门店"),
"duihuanhouwugegongzuori" : MessageLookupByLibrary.simpleMessage("兑换后五个工作日可前往门店"),
"duihuanliangdidaogao" : MessageLookupByLibrary.simpleMessage("兌換量從低到高"),
"duihuanlianggaodaodi" : MessageLookupByLibrary.simpleMessage("兌換量從高到低"),
"duihuanlishi" : MessageLookupByLibrary.simpleMessage("兌換歷史"),
@ -253,6 +258,7 @@ class MessageLookup extends MessageLookupByLibrary {
"gengduo" : MessageLookupByLibrary.simpleMessage("更多"),
"gengduohaoquan" : MessageLookupByLibrary.simpleMessage("更多好券"),
"gengduoyouhuiquan" : MessageLookupByLibrary.simpleMessage("更多優惠券"),
"genggaibangdingshoujihao" : MessageLookupByLibrary.simpleMessage("更改綁定手機號"),
"genghuanbeijing" : MessageLookupByLibrary.simpleMessage("更換背景"),
"genghuantouxiang" : MessageLookupByLibrary.simpleMessage("更換頭像"),
"gengyouhui" : MessageLookupByLibrary.simpleMessage("更優惠"),
@ -342,6 +348,7 @@ class MessageLookup extends MessageLookupByLibrary {
"jifenmingxi" : MessageLookupByLibrary.simpleMessage("積分明細"),
"jifenshangcheng" : MessageLookupByLibrary.simpleMessage("積分商城"),
"jifenxiangqing" : MessageLookupByLibrary.simpleMessage("積分詳情"),
"jihuanka" : MessageLookupByLibrary.simpleMessage("集換卡"),
"jingbilianmenghuiyuandian" : MessageLookupByLibrary.simpleMessage("淨弼聯盟會員店"),
"jingxuanhaowen" : MessageLookupByLibrary.simpleMessage("精選好文"),
"jingxuanhuodong" : MessageLookupByLibrary.simpleMessage("精選活動"),
@ -391,6 +398,7 @@ class MessageLookup extends MessageLookupByLibrary {
"lijiqiandao" : MessageLookupByLibrary.simpleMessage("立即簽到"),
"lijishiyong" : MessageLookupByLibrary.simpleMessage("立即使用"),
"lijitiyan" : MessageLookupByLibrary.simpleMessage("立即體驗"),
"lijiyuyue" : MessageLookupByLibrary.simpleMessage("立即預約"),
"likekaitong" : MessageLookupByLibrary.simpleMessage("立刻開通"),
"likexufei" : MessageLookupByLibrary.simpleMessage("立刻續費"),
"likezhifu" : MessageLookupByLibrary.simpleMessage("立刻支付"),
@ -477,9 +485,12 @@ class MessageLookup extends MessageLookupByLibrary {
"qingtianxiexingming" : MessageLookupByLibrary.simpleMessage("請填寫收件人姓名"),
"qingtong" : MessageLookupByLibrary.simpleMessage("青铜"),
"qingtonghuiyuan" : MessageLookupByLibrary.simpleMessage("青銅會員"),
"qingxianxuanguige" : MessageLookupByLibrary.simpleMessage("請先選規格"),
"qingxuanzeshiyongmendian" : MessageLookupByLibrary.simpleMessage("請選擇使用門店"),
"qingxuanzeshouhuodizhi" : MessageLookupByLibrary.simpleMessage("請選擇收貨地址"),
"qingxuanzeyigemendian" : MessageLookupByLibrary.simpleMessage("請選擇一個門店"),
"qingxuanzeyuyeushijian" : MessageLookupByLibrary.simpleMessage("請選擇預約時間"),
"qingxuanzeyuyuemendian" : MessageLookupByLibrary.simpleMessage("請選擇預約門店"),
"qingxuanzhemendian" : MessageLookupByLibrary.simpleMessage("请选择门店"),
"qingxuanzheninxiangshezhideyuyan" : MessageLookupByLibrary.simpleMessage("請選擇您要設置的語言"),
"qingzaiguidingshijianneizhifu" : MessageLookupByLibrary.simpleMessage("請在規定時間内完成支付"),
@ -502,6 +513,7 @@ class MessageLookup extends MessageLookupByLibrary {
"quanyixiangqing" : MessageLookupByLibrary.simpleMessage("權益詳情"),
"qucanhao" : MessageLookupByLibrary.simpleMessage("取餐號"),
"qudanhao" : m26,
"qudaolaiyuan" : MessageLookupByLibrary.simpleMessage("渠道來源"),
"qudenglu" : MessageLookupByLibrary.simpleMessage("去登錄"),
"queding" : MessageLookupByLibrary.simpleMessage("確定"),
"quedingyaoshanchudongtai" : MessageLookupByLibrary.simpleMessage("確定要刪除這條動態?"),
@ -559,6 +571,7 @@ class MessageLookup extends MessageLookupByLibrary {
"shifangjiazaigengduo" : MessageLookupByLibrary.simpleMessage("釋放加載更多"),
"shifangshuaxin" : MessageLookupByLibrary.simpleMessage("釋放刷新"),
"shifujifen" : m30,
"shifujihuanka" : m31,
"shimingrenzheng" : MessageLookupByLibrary.simpleMessage("實名認證"),
"shixiaoquan" : MessageLookupByLibrary.simpleMessage("失效券"),
"shixiaoyouhuiquan" : MessageLookupByLibrary.simpleMessage("失效优惠券"),
@ -582,9 +595,11 @@ class MessageLookup extends MessageLookupByLibrary {
"shuaxinshibai" : MessageLookupByLibrary.simpleMessage("刷新失敗"),
"shuaxinyue" : MessageLookupByLibrary.simpleMessage("刷新餘額"),
"shuaxinzhong" : MessageLookupByLibrary.simpleMessage("刷新中...."),
"shuliang" : MessageLookupByLibrary.simpleMessage("數量"),
"shurushouhuorendizhi" : MessageLookupByLibrary.simpleMessage("請輸入收貨人地址"),
"shuruzhifumima" : MessageLookupByLibrary.simpleMessage("輸入支付密碼"),
"sui" : m31,
"sui" : m32,
"tangshi" : MessageLookupByLibrary.simpleMessage("堂食"),
"tebieshengming" : MessageLookupByLibrary.simpleMessage("特別聲明"),
"tehuizhuanqu" : MessageLookupByLibrary.simpleMessage("特惠專區"),
"tianjiaxinfuka" : MessageLookupByLibrary.simpleMessage("添加新副卡"),
@ -603,12 +618,13 @@ class MessageLookup extends MessageLookupByLibrary {
"tuichudenglu" : MessageLookupByLibrary.simpleMessage("退出登錄"),
"tuiguangma" : MessageLookupByLibrary.simpleMessage("推廣碼"),
"tuikuan" : MessageLookupByLibrary.simpleMessage("退款"),
"waidai" : MessageLookupByLibrary.simpleMessage("外帶"),
"waimai" : MessageLookupByLibrary.simpleMessage("外賣"),
"waimaipeisong" : MessageLookupByLibrary.simpleMessage("外賣配送"),
"waisong" : MessageLookupByLibrary.simpleMessage("外送"),
"wan" : MessageLookupByLibrary.simpleMessage(""),
"wancheng" : MessageLookupByLibrary.simpleMessage("完成"),
"wancheng_" : m32,
"wancheng_" : m33,
"wanchengyicixiadan" : MessageLookupByLibrary.simpleMessage("完成一次下單"),
"wangjimima" : MessageLookupByLibrary.simpleMessage("忘記密碼"),
"wanjiankang" : MessageLookupByLibrary.simpleMessage("玩健康"),
@ -652,7 +668,7 @@ class MessageLookup extends MessageLookupByLibrary {
"wuliuxinxi" : MessageLookupByLibrary.simpleMessage("物流信息"),
"wuliuzhuangtai" : MessageLookupByLibrary.simpleMessage("物流狀態:"),
"xiadanshijian" : MessageLookupByLibrary.simpleMessage("下單時間"),
"xiadanshijian_" : m33,
"xiadanshijian_" : m34,
"xiadanzhuanjifen" : MessageLookupByLibrary.simpleMessage("下單賺積分"),
"xialashuaxin" : MessageLookupByLibrary.simpleMessage("下拉刷新"),
"xiangce" : MessageLookupByLibrary.simpleMessage("相冊"),
@ -665,22 +681,26 @@ class MessageLookup extends MessageLookupByLibrary {
"xianxiashiyong" : MessageLookupByLibrary.simpleMessage("線下使用"),
"xiaofei" : MessageLookupByLibrary.simpleMessage("消費"),
"xiaofeijifen" : MessageLookupByLibrary.simpleMessage("消费积分"),
"xiaofeijihuanka" : MessageLookupByLibrary.simpleMessage("消費集換卡"),
"xiaofeijilu" : MessageLookupByLibrary.simpleMessage("消費記錄"),
"xiaoxi" : MessageLookupByLibrary.simpleMessage("消息"),
"xiayidengji" : MessageLookupByLibrary.simpleMessage("下一等級"),
"xiazaiwancheng" : MessageLookupByLibrary.simpleMessage("加載完成"),
"xiedongtai" : MessageLookupByLibrary.simpleMessage("寫動態"),
"xieyitanchuang" : MessageLookupByLibrary.simpleMessage("一心回鄉用戶隱私協議"),
"xihuan_" : m34,
"xihuan_" : m35,
"xindianhuodong" : MessageLookupByLibrary.simpleMessage("星店活動"),
"xingming" : MessageLookupByLibrary.simpleMessage("姓名"),
"xitongtongzhi" : MessageLookupByLibrary.simpleMessage("系統通知"),
"xitongxiaoxi" : MessageLookupByLibrary.simpleMessage("系統消息"),
"xiugai" : MessageLookupByLibrary.simpleMessage("修改"),
"xiugaichenggong" : MessageLookupByLibrary.simpleMessage("修改成功"),
"xiugaiyonghuming" : MessageLookupByLibrary.simpleMessage("修改用戶名"),
"xuanguige" : MessageLookupByLibrary.simpleMessage("選規格"),
"xuanhaola" : MessageLookupByLibrary.simpleMessage("選好啦"),
"xuanji" : MessageLookupByLibrary.simpleMessage("選集"),
"xuanzeshangpinlingqufangshi" : MessageLookupByLibrary.simpleMessage("請選擇商品的領取方式"),
"xuanzetuijianmendian" : MessageLookupByLibrary.simpleMessage("選擇推薦門店"),
"xuefeihuiyuan" : MessageLookupByLibrary.simpleMessage("續費會員"),
"xuexijiankang" : MessageLookupByLibrary.simpleMessage("學習健康"),
"xufeihuixiangVIP" : MessageLookupByLibrary.simpleMessage("續費回鄉VIP"),
@ -688,11 +708,11 @@ class MessageLookup extends MessageLookupByLibrary {
"yanzhengma" : MessageLookupByLibrary.simpleMessage("驗證碼"),
"yaoqinghaoyou" : MessageLookupByLibrary.simpleMessage("邀請好友"),
"yaoqinghaoyoudefen" : MessageLookupByLibrary.simpleMessage("邀請好友得分"),
"yaoqingrenshoujihao_" : m35,
"yaoqingrenshoujihao_" : m36,
"yaoqingwancheng" : MessageLookupByLibrary.simpleMessage("邀請完成"),
"yibangfuka" : MessageLookupByLibrary.simpleMessage("已綁副卡"),
"yiduihuan" : MessageLookupByLibrary.simpleMessage("已兌換"),
"yiduihuanjian" : m36,
"yiduihuanjian" : m37,
"yifahuo" : MessageLookupByLibrary.simpleMessage("已發貨"),
"yiguanzhu" : MessageLookupByLibrary.simpleMessage("已關注"),
"yihouzaishuo" : MessageLookupByLibrary.simpleMessage("以後再說"),
@ -709,7 +729,8 @@ class MessageLookup extends MessageLookupByLibrary {
"yindaoye2" : MessageLookupByLibrary.simpleMessage("全新集團聯盟店會員點餐"),
"yindaoye3" : MessageLookupByLibrary.simpleMessage("會員活動專區"),
"yindaoye4" : MessageLookupByLibrary.simpleMessage("過健康有機生活"),
"yingyeshijian" : m37,
"yingwen" : MessageLookupByLibrary.simpleMessage("英文"),
"yingyeshijian" : m38,
"yinkahuiyuan" : MessageLookupByLibrary.simpleMessage("银卡会员"),
"yinshi" : MessageLookupByLibrary.simpleMessage("飲食"),
"yinsishengming" : MessageLookupByLibrary.simpleMessage("隱私聲明"),
@ -739,15 +760,15 @@ class MessageLookup extends MessageLookupByLibrary {
"youhuiquanlingqu" : MessageLookupByLibrary.simpleMessage("優惠券領取"),
"youhuiquanwufajileijifen" : MessageLookupByLibrary.simpleMessage("優惠金額無法累積積分,訂單撤銷或其他原因造成的未成功支付的訂單,無法獲得對應的積分。"),
"youkedenglu" : MessageLookupByLibrary.simpleMessage("遊客登錄"),
"youxiaoqi" : m38,
"youxiaoqi" : m39,
"youxiaoqixian" : MessageLookupByLibrary.simpleMessage("有效期限:"),
"youxiaoqizhi" : m39,
"youxiaoqizhi" : m40,
"yuan" : MessageLookupByLibrary.simpleMessage(""),
"yuan_" : m40,
"yuan_" : m41,
"yuanjia" : MessageLookupByLibrary.simpleMessage("原價"),
"yue" : MessageLookupByLibrary.simpleMessage("餘額"),
"yue_" : m41,
"yue__" : m42,
"yue_" : m42,
"yue__" : m43,
"yuemingxi" : MessageLookupByLibrary.simpleMessage("餘額明細"),
"yuliudianhua" : MessageLookupByLibrary.simpleMessage("預留電話"),
"yunfei" : MessageLookupByLibrary.simpleMessage("運費"),
@ -798,6 +819,6 @@ class MessageLookup extends MessageLookupByLibrary {
"zuanshihuiyuan" : MessageLookupByLibrary.simpleMessage("鑽石會員"),
"zuixinwenzhang" : MessageLookupByLibrary.simpleMessage("最新文章"),
"zuorenwudejifen" : MessageLookupByLibrary.simpleMessage("做任務得積分"),
"zuozhe" : m43
"zuozhe" : m44
};
}

194
lib/generated/l10n.dart

@ -1965,10 +1965,10 @@ class S {
);
}
/// ``
/// ``
String get duihuanhouwugegongzuori {
return Intl.message(
'兑换后五个工作日可前往门店',
'兑换后五个工作日可前往门店',
name: 'duihuanhouwugegongzuori',
desc: '',
args: [],
@ -6955,6 +6955,196 @@ class S {
);
}
/// ``
String get xuanzetuijianmendian {
return Intl.message(
'选择推荐门店',
name: 'xuanzetuijianmendian',
desc: '',
args: [],
);
}
/// ``
String get yingwen {
return Intl.message(
'英文',
name: 'yingwen',
desc: '',
args: [],
);
}
/// ``
String get lijiyuyue {
return Intl.message(
'立即预约',
name: 'lijiyuyue',
desc: '',
args: [],
);
}
/// ``
String get qingxuanzeyuyeushijian {
return Intl.message(
'请选择预约时间',
name: 'qingxuanzeyuyeushijian',
desc: '',
args: [],
);
}
/// ``
String get qingxuanzeyuyuemendian {
return Intl.message(
'请选择预约门店',
name: 'qingxuanzeyuyuemendian',
desc: '',
args: [],
);
}
/// ``
String get tangshi {
return Intl.message(
'堂食',
name: 'tangshi',
desc: '',
args: [],
);
}
/// ``
String get dianneiyongcan {
return Intl.message(
'店内用餐',
name: 'dianneiyongcan',
desc: '',
args: [],
);
}
/// ``
String get waidai {
return Intl.message(
'外带',
name: 'waidai',
desc: '',
args: [],
);
}
/// ``
String get dabaodaodianqu {
return Intl.message(
'打包到店取',
name: 'dabaodaodianqu',
desc: '',
args: [],
);
}
/// ``
String get qingxianxuanguige {
return Intl.message(
'请先选规格',
name: 'qingxianxuanguige',
desc: '',
args: [],
);
}
/// ``
String get xuanhaola {
return Intl.message(
'选好啦',
name: 'xuanhaola',
desc: '',
args: [],
);
}
/// ``
String get qudaolaiyuan {
return Intl.message(
'渠道来源',
name: 'qudaolaiyuan',
desc: '',
args: [],
);
}
/// ``
String get shuliang {
return Intl.message(
'数量',
name: 'shuliang',
desc: '',
args: [],
);
}
/// ` {jihuanka}`
String shifujihuanka(Object jihuanka) {
return Intl.message(
'实付集换卡 $jihuanka集换卡',
name: 'shifujihuanka',
desc: '',
args: [jihuanka],
);
}
/// ``
String get jihuanka {
return Intl.message(
'集换卡',
name: 'jihuanka',
desc: '',
args: [],
);
}
/// ``
String get xiaofeijihuanka {
return Intl.message(
'消费集换卡',
name: 'xiaofeijihuanka',
desc: '',
args: [],
);
}
/// ``
String get xiugai {
return Intl.message(
'修改',
name: 'xiugai',
desc: '',
args: [],
);
}
/// ``
String get bangdingshouji {
return Intl.message(
'绑定手机',
name: 'bangdingshouji',
desc: '',
args: [],
);
}
/// ``
String get genggaibangdingshoujihao {
return Intl.message(
'更改绑定手机号',
name: 'genggaibangdingshoujihao',
desc: '',
args: [],
);
}
/// `使`
String get privacy_policy4 {
return Intl.message(

2
lib/home/guide_page.dart

@ -430,7 +430,7 @@ class _GuidePage extends State<GuidePage> {
Container(
alignment: Alignment.center,
width: double.infinity,
height: 305.h,
height: 325.h,
padding: EdgeInsets.only(left: 16.w, right: 16.w),
decoration: new BoxDecoration(
color: Colors.white,

128
lib/home/home_page.dart

@ -35,7 +35,6 @@ import 'package:huixiang/view_widget/activity_coupons.dart';
import 'package:huixiang/view_widget/activity_poster.dart';
import 'package:huixiang/view_widget/classic_header.dart';
import 'package:huixiang/view_widget/invite_success_dialog.dart';
import 'package:huixiang/view_widget/new_people_reward.dart';
import 'package:huixiang/view_widget/request_permission.dart';
import 'package:permission_handler/permission_handler.dart';
import 'package:pull_to_refresh/pull_to_refresh.dart';
@ -44,6 +43,7 @@ import 'package:flutter_screenutil/flutter_screenutil.dart';
import '../retrofit/data/user_info.dart';
import '../utils/flutter_utils.dart';
import '../view_widget/channel_dialog.dart';
import 'home_view/happy_help_farmers.dart';
import 'home_view/shortcut_operation.dart';
@ -116,6 +116,17 @@ class HomePageState extends State<HomePage> with AutomaticKeepAliveClientMixin {
});
}
///
channelShowAlertDialog() {
//
showDialog(
context: context,
builder: (BuildContext context) {
return ChannelDialog();
},
);
}
final SwiperController controller = SwiperController();
String categoryId;
@ -189,7 +200,7 @@ class HomePageState extends State<HomePage> with AutomaticKeepAliveClientMixin {
"orderDesc": true,
"orderType": 1,
"pageNum": 1,
"pageSize": 10,
"pageSize": 100,
"state": 1
}).catchError((onError) {
refreshController.refreshFailed();
@ -227,7 +238,7 @@ class HomePageState extends State<HomePage> with AutomaticKeepAliveClientMixin {
"orderDesc": orderDesc,
"orderType": orderType,
"pageNum": pageNum,
"pageSize": 10,
"pageSize": 100,
"state": 1
};
BaseData<PageInfo<Goods>> pageGoods =
@ -280,6 +291,7 @@ class HomePageState extends State<HomePage> with AutomaticKeepAliveClientMixin {
// }
}
///
queryUserBalance() async {
BaseData<UserInfo> baseData =
await apiService.queryInfo().catchError((onError) {});
@ -291,26 +303,26 @@ class HomePageState extends State<HomePage> with AutomaticKeepAliveClientMixin {
}
///
queryMsgStats() async {
if (apiService == null) {
SharedPreferences value = await SharedPreferences.getInstance();
apiService = ApiService(
Dio(),
context: context,
token: value.getString("token"),
);
}
BaseData<List<MsgStats>> baseData = await apiService.stats().catchError((onError) {});
if (baseData != null && baseData.isSuccess) {
// setState(() {
totalMsg = 0;
baseData.data.forEach((element) {
totalMsg += element.number;
// });
});
}
EasyLoading.dismiss();
}
// queryMsgStats() async {
// if (apiService == null) {
// SharedPreferences value = await SharedPreferences.getInstance();
// apiService = ApiService(
// Dio(),
// context: context,
// token: value.getString("token"),
// );
// }
// BaseData<List<MsgStats>> baseData = await apiService.stats().catchError((onError) {});
// if (baseData != null && baseData.isSuccess) {
// // setState(() {
// totalMsg = 0;
// baseData.data.forEach((element) {
// totalMsg += element.number;
// // });
// });
// }
// EasyLoading.dismiss();
// }
///
queryActivity() async {
@ -525,19 +537,22 @@ class HomePageState extends State<HomePage> with AutomaticKeepAliveClientMixin {
// }),
///
if(coupons != null && coupons.length != 0)
DiscountZone(coupons),
///-
if(homeRank != null && homeRank.commodityZone.length != 0)
HomeRecommendGoods(homeRank),
///
if(mRaiseMoney != 0)
// if(mRaiseMoney != 0)
HappyHelpFarmers(),
///
WelfareCore(),
///
if(homeRank != null && homeRank.commodityList.length != 0)
TopSellingList(homeRank),
// ///
@ -590,26 +605,55 @@ class HomePageState extends State<HomePage> with AutomaticKeepAliveClientMixin {
Widget spread(){
return Container(
width: double.infinity,
height: 80.h,
margin: EdgeInsets.symmetric(horizontal: 14.w),
child: GestureDetector(
onTap: (){
Navigator.of(context).pushNamed('/router/invite_friends');
// Navigator.of(context).pushNamed('/router/mine_greenery');
},
child: ClipRRect(
child:Image.asset(
"assets/image/welfare_spread.webp",
width:double.infinity,
fit: BoxFit.fill,
height:double.infinity,
height: 85.h,
child: Swiper(
pagination: SwiperPagination(
alignment: Alignment.bottomCenter,
margin: EdgeInsets.only(top: 5.h),
builder: DotSwiperPaginationBuilder(
size: 8.w,
activeSize: 8.w,
space: 5.w,
activeColor: Colors.white,
color: Colors.white.withAlpha(76),
),
borderRadius: BorderRadius.circular(6.w),
),
autoplay:true,
duration: 1000,
autoplayDelay: 2000,
itemBuilder: (context, position) {
return GestureDetector(
onTap: (){
if(position == 0){
Navigator.of(context).pushNamed('/router/invite_friends');
}else if(position == 1){
Navigator.of(context).pushNamed('/router/trading_card_page');
}
},
child:Container(
margin: EdgeInsets.symmetric(horizontal:14.w),
child: ClipRRect(
child:Image.asset(
spreadItem[position],
width:double.infinity,
fit: BoxFit.fill,
height:double.infinity,
),
borderRadius: BorderRadius.circular(6.w),
),
),
);
},
itemCount:2,
),
);
}
final List<String> spreadItem = [
"assets/image/welfare_spread.webp",
"assets/image/welfare_yz.webp",
];
///
toScan() async {
if (await Permission.camera.isPermanentlyDenied) {
@ -631,6 +675,8 @@ class HomePageState extends State<HomePage> with AutomaticKeepAliveClientMixin {
});
} else if (await Permission.camera.isGranted) {
// http://pos.app.gznl.top/placeorder/?tableId=1315903669597634560&tenantCode=1166&shopId=1300372027722432512
//
// http://miniscan.lotus-wallet.com/placeorder?tenant_code=1194&table_id=1669609340031467520&store_id=1637659387134738432
var result = await Navigator.of(context).pushNamed('/router/qr_scan');
if(result.toString().contains("type\":\"coupon")){
///
@ -643,9 +689,9 @@ class HomePageState extends State<HomePage> with AutomaticKeepAliveClientMixin {
}
// String result = await scanner.scan();
Uri uri = Uri.parse(result);
String tableId = uri.queryParameters["tableId"];
String tenantCode = uri.queryParameters["tenantCode"];
String shopId = uri.queryParameters["shopId"];
String tableId = uri.queryParameters["tableId"] ?? uri.queryParameters["table_id"];
String tenantCode = uri.queryParameters["tenantCode"] ?? uri.queryParameters["tenant_code"];
String shopId = uri.queryParameters["shopId"] ?? uri.queryParameters["store_id"];
if (tableId != null &&
tableId != "" &&
tenantCode != null &&

27
lib/home/home_view/home_banner.dart

@ -23,7 +23,7 @@ class _HomeBanner extends State<HomeBanner> {
Widget build(BuildContext context) {
return Container(
child: AspectRatio(
aspectRatio: 375/300,
aspectRatio: 1.25,
child: Swiper(
pagination: SwiperPagination(
margin: EdgeInsets.only(bottom: 12.h),
@ -36,6 +36,9 @@ class _HomeBanner extends State<HomeBanner> {
color: Colors.white.withAlpha(76),
),
),
autoplay: true,
duration: 1000,
autoplayDelay: 2000,
controller: widget.controller,
physics: BouncingScrollPhysics(),
itemBuilder: (context, position) {
@ -69,7 +72,7 @@ class _HomeBanner extends State<HomeBanner> {
);
}
/// contentType 0123,4:,5:
/// contentType 0123,4:,5:7
bannerClick(BannerData bannerData) async {
switch (bannerData.contentType) {
case 1:
@ -77,14 +80,12 @@ class _HomeBanner extends State<HomeBanner> {
arguments: {"goodsId": bannerData.content});
break;
case 2:
Navigator.of(context)
.pushNamed('/router/web_page', arguments: {
Navigator.of(context).pushNamed('/router/web_page', arguments: {
"activityId": bannerData.content,
});
break;
case 3:
Navigator.of(context)
.pushNamed('/router/web_page', arguments: {
Navigator.of(context).pushNamed('/router/web_page', arguments: {
"articleId": bannerData.content,
});
break;
@ -92,19 +93,25 @@ class _HomeBanner extends State<HomeBanner> {
String router = bannerData.content;
// String router = "/router/store_order?{\"id\":\"1512378184161558528\",\"tenant\":\"1188\",\"storeName\":\"农场煮意\"}";
if (router.contains("?")) {
String params = router.substring(router.indexOf("?")+1);
String params = router.substring(router.indexOf("?") + 1);
Map map = jsonDecode(params);
Navigator.of(context).pushNamed(router.substring(0,router.indexOf("?")), arguments: map);
Navigator.of(context).pushNamed(
router.substring(0, router.indexOf("?")),
arguments: map);
} else {
Navigator.of(context).pushNamed(router);
}
break;
case 5:
Navigator.of(context)
.pushNamed('/router/class_details', arguments: {
Navigator.of(context).pushNamed('/router/class_details', arguments: {
"id": bannerData.content,
});
break;
case 7:
String params = bannerData.content.substring(bannerData.content.indexOf("?")+1);
Map map = jsonDecode(params);
Navigator.of(context).pushNamed(bannerData.content.substring(0,bannerData.content.indexOf("?")), arguments: map);
break;
}
}
}

8
lib/home/home_view/quick_order.dart

@ -382,12 +382,14 @@ class _QuickOrder extends State<QuickOrder> {
});
} else if (await Permission.camera.isGranted) {
// http://pos.app.gznl.top/placeorder/?tableId=1315903669597634560&tenantCode=1166&shopId=1300372027722432512
//
// http://miniscan.lotus-wallet.com/placeorder?tenant_code=1194&table_id=1669609340031467520&store_id=1637659387134738432
var result = await Navigator.of(context).pushNamed('/router/qr_scan');
// String result = await scanner.scan();
Uri uri = Uri.parse(result);
String tableId = uri.queryParameters["tableId"];
String tenantCode = uri.queryParameters["tenantCode"];
String shopId = uri.queryParameters["shopId"];
String tableId = uri.queryParameters["tableId"] ?? uri.queryParameters["table_id"];
String tenantCode = uri.queryParameters["tenantCode"] ?? uri.queryParameters["tenant_code"];
String shopId = uri.queryParameters["shopId"] ?? uri.queryParameters["store_id"];
if (tableId != null &&
tableId != "" &&
tenantCode != null &&

4
lib/home/home_view/welfare_core.dart

@ -105,7 +105,7 @@ class _WelfareCore extends State<WelfareCore> {
SizedBox(width: 10.w,),
Expanded(child: GestureDetector(
onTap: (){
Navigator.of(context).pushNamed('/router/welfare_page');
Navigator.of(context).pushNamed('/router/invite_friends');
},
child:Container(
width: double.infinity,
@ -144,7 +144,7 @@ class _WelfareCore extends State<WelfareCore> {
SizedBox(width: 10.w,),
Expanded(child: GestureDetector(
onTap: (){
Navigator.of(context).pushNamed('/router/welfare_page');
Navigator.of(context).pushNamed('/router/welfare_exchange');
},
child:Container(
width: double.infinity,

12
lib/home/huixiang_view/huixiang_banner.dart

@ -28,6 +28,9 @@ class _HuiXiangBanner extends State<HuiXiangBanner> {
child: Swiper(
viewportFraction: 0.88,
scale: 0.93,
autoplay: true,
duration: 1000,
autoplayDelay: 2000,
pagination: SwiperPagination(
alignment: Alignment.bottomCenter,
builder: DotSwiperPaginationBuilder(
@ -48,7 +51,7 @@ class _HuiXiangBanner extends State<HuiXiangBanner> {
(widget.bannerData != null && position < widget.bannerData.length)
? widget.bannerData[position].imgUrl
: "",
fit: BoxFit.cover,
fit: BoxFit.fill,
radius: BorderRadius.circular(8),
errorSrc: "assets/image/default_2_1.webp",
fadeSrc: "assets/image/default_2_1.webp",
@ -62,7 +65,7 @@ class _HuiXiangBanner extends State<HuiXiangBanner> {
);
}
/// contentType 0123,4:,5:
/// contentType 0123,4:,5:7
bannerClick(BannerData bannerData) async {
switch (bannerData.contentType) {
case 1:
@ -98,6 +101,11 @@ class _HuiXiangBanner extends State<HuiXiangBanner> {
"id": bannerData.content,
});
break;
case 7:
String params = bannerData.content.substring(bannerData.content.indexOf("?")+1);
Map map = jsonDecode(params);
Navigator.of(context).pushNamed(bannerData.content.substring(0,bannerData.content.indexOf("?")), arguments: map);
break;
}
}

1
lib/home/huixiang_view/origin_info.dart

@ -108,6 +108,7 @@ class _OriginInfo extends State<OriginInfo> {
),
),
SizedBox(height: 3.h),
if((widget?.founder?.description ?? "").length > 35)
GestureDetector(
onTap: () {
setState(() {

5
lib/home/points_mall_view/points_goods_view.dart

@ -22,6 +22,9 @@ class PointGoods extends StatefulWidget {
class _PointGoods extends State<PointGoods> {
String pointPrice(Goods goods) {
if (goods == null) return "";
if (goods?.oneBean != null && goods?.oneBean != "0") {
return "${goods?.oneBean}印章";
}
if (goods?.onePrice != null && goods?.onePrice != "0") {
return S.of(context).jifen_(goods?.onePrice);
} else if ((goods?.onePrice == null || goods?.onePrice == "0") &&
@ -35,6 +38,8 @@ class _PointGoods extends State<PointGoods> {
: " + ${AppUtils.calculateDouble(double.tryParse(goods?.money) ?? 0)}");
} else if (goods.oneMoney != null && goods.oneMoney != "0.00") {
return "${AppUtils.calculateDouble(double.tryParse(goods.oneMoney) ?? 0)}";
} else {
return "";
}
}

7
lib/home/points_mall_view/points_mall_banner.dart

@ -69,7 +69,7 @@ class _PointMallBanner extends State<PointMallBanner> {
);
}
/// contentType 0123,4:,5:
/// contentType 0123,4:,5:7:
bannerClick(BannerData bannerData) async {
switch (bannerData.contentType) {
case 1:
@ -105,6 +105,11 @@ class _PointMallBanner extends State<PointMallBanner> {
"id": bannerData.content,
});
break;
case 7:
String params = bannerData.content.substring(bannerData.content.indexOf("?")+1);
Map map = jsonDecode(params);
Navigator.of(context).pushNamed(bannerData.content.substring(0,bannerData.content.indexOf("?")), arguments: map);
break;
}
}

17
lib/home/start_page.dart

@ -1,15 +1,10 @@
import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
import 'package:huixiang/generated/l10n.dart';
import 'package:huixiang/utils/font_weight.dart';
import 'package:huixiang/view_widget/border_text.dart';
import 'package:shared_preferences/shared_preferences.dart';
import 'package:flutter_screenutil/flutter_screenutil.dart';
class StartPage extends StatefulWidget {
final bool isFirst;
StartPage(this.isFirst);
// final bool isFirst;
//
// StartPage(this.isFirst);
@override
State<StatefulWidget> createState() {
return _StartPage();
@ -36,8 +31,10 @@ class _StartPage extends State<StartPage> {
@override
void initState() {
super.initState();
Future.delayed(Duration(seconds:3), () {
Navigator.of(context).popAndPushNamed((widget.isFirst ?? true) ? '/router/guide_Page' : '/router/new_login_page');
Future.delayed(Duration(seconds:2), () {
// Navigator.of(context).popAndPushNamed((widget.isFirst ?? true) ?
// '/router/guide_Page' : '/router/new_login_page');
Navigator.of(context).popAndPushNamed('/router/main_page');
});
}
}

322
lib/home/trading_card_page.dart

@ -0,0 +1,322 @@
import 'dart:convert';
import 'package:dio/dio.dart';
import 'package:flutter/material.dart';
import 'package:flutter_smart_dialog/flutter_smart_dialog.dart';
import 'package:huixiang/retrofit/data/base_data.dart';
import 'package:huixiang/retrofit/retrofit_api.dart';
import 'package:huixiang/utils/font_weight.dart';
import 'package:huixiang/view_widget/my_appbar.dart';
import 'package:pull_to_refresh/pull_to_refresh.dart';
import 'package:shared_preferences/shared_preferences.dart';
import 'package:flutter_screenutil/flutter_screenutil.dart';
import '../retrofit/data/user_info.dart';
import '../view_widget/classic_header.dart';
import '../view_widget/my_footer.dart';
class TradingCardPage extends StatefulWidget {
@override
State<StatefulWidget> createState() {
return _TradingCardPage();
}
}
class _TradingCardPage extends State<TradingCardPage> {
ApiService apiService;
final RefreshController refreshController = RefreshController();
UserInfo userInfo;
@override
void initState() {
super.initState();
SharedPreferences.getInstance().then((value) {
apiService =
ApiService(Dio(), context: context, token: value.getString("token"));
queryUserBalance();
});
}
@override
void dispose() {
super.dispose();
refreshController.dispose();
}
///
queryUserBalance() async {
BaseData<UserInfo> baseData =
await apiService.queryInfo().catchError((onError) {
refreshController.refreshFailed();
refreshController.loadFailed();});
if (baseData != null && baseData.isSuccess) {
userInfo = baseData.data;
if (mounted) setState(() {});
refreshController.refreshCompleted();
refreshController.loadComplete();
}else {
SmartDialog.showToast(baseData.msg, alignment: Alignment.center);
refreshController.refreshFailed();
refreshController.loadFailed();
}
}
@override
Widget build(BuildContext context) {
return Container(
color: Colors.white,
child: Stack(
children: [
Container(
decoration: BoxDecoration(
image: DecorationImage(
fit: BoxFit.fill,
image: AssetImage("assets/image/settlement_bg.webp"),
),
),
width: double.infinity,
height: 306.h,
),
Scaffold(
backgroundColor: Colors.transparent,
appBar: MyAppBar(
title: "",
titleColor: Colors.white,
background: Colors.transparent,
leadingColor: Colors.white,
brightness: Brightness.dark,
),
body: SmartRefresher(
controller: refreshController,
enablePullDown: true,
enablePullUp: false,
header: MyHeader(
color: Colors.white,
),
footer: CustomFooter(
builder: (context, mode) {
return MyFooter(mode);
},
),
onRefresh: () {
queryUserBalance();
},
physics: BouncingScrollPhysics(),
scrollController: ScrollController(),
child: SingleChildScrollView(
physics: BouncingScrollPhysics(),
child:Container(
margin: EdgeInsets.symmetric(horizontal:14.w),
child:Column(
children: [
Container(
width: double.infinity,
padding:EdgeInsets.only(top:24.h,bottom: 27.h) ,
decoration: BoxDecoration(
color: Colors.white,
borderRadius: BorderRadius.circular(12),
boxShadow: [
BoxShadow(
color: Colors.black.withAlpha(12),
offset: Offset(0, 4),
blurRadius: 8,
spreadRadius: 8,
)
],
),
child: Column(
children:[
Image.asset(
"assets/image/my_trading.webp",
width:200.w,
fit: BoxFit.fill,
height:22.h,
),
SizedBox(height:28.h),
Image.asset(
"assets/image/trading_logo.webp",
width:196.w,
fit: BoxFit.fill,
height:150.h,
),
Padding(padding:EdgeInsets.only(top: 21.h,bottom: 17.h),
child: Row(
mainAxisAlignment: MainAxisAlignment.center,
children: [
Text(
"我已收集",
style: TextStyle(
color: Colors.black,
fontSize: 14.sp,
fontWeight: MyFontWeight.regular),
),
SizedBox(width: 12.w,),
Text(
(userInfo?.happyBean ?? 0).toString(),
style: TextStyle(
color: Color(0xFF32A060),
fontSize: 18.sp,
fontWeight: MyFontWeight.regular),
)
],
),),
Padding(padding:EdgeInsets.only(bottom:31.h),
child: Row(
mainAxisAlignment: MainAxisAlignment.center,
children: [
Padding(padding:EdgeInsets.only(right:1.w),
child: GestureDetector(
onTap: (){
Navigator.of(context).pushNamed('/router/welfare_exchange');
},
child: Text(
"兑换区逛逛",
style: TextStyle(
color: Color(0xFF32A060),
fontSize: 15.sp,
fontWeight: MyFontWeight.regular),
),
)),
Image.asset(
"assets/image/icon_right_z.webp",
width:16,
fit: BoxFit.fill,
height:16,
color: Color(0xFF32A060),
)
],
),),
Image.asset(
"assets/image/trading_text.webp",
width:314.w,
fit: BoxFit.fill,
height:98.h,
),
]
),
),
Container(
width: double.infinity,
padding:EdgeInsets.symmetric(vertical: 17.h,horizontal: 32.w) ,
margin: EdgeInsets.only(top:16.h),
decoration: BoxDecoration(
color: Colors.white,
borderRadius: BorderRadius.circular(12),
boxShadow: [
BoxShadow(
color: Colors.black.withAlpha(12),
offset: Offset(0, 4),
blurRadius: 8,
spreadRadius: 8,
)
],
),
child: Row(
children: [
Image.asset(
"assets/image/trading_history.webp",
width:16.h,
fit: BoxFit.fill,
height:16.h,
),
GestureDetector(
behavior: HitTestBehavior.opaque,
onTap:(){
Navigator.of(context)
.pushNamed('/router/exchange_history_page');
},
child: Padding(padding:EdgeInsets.only(left: 4.w),
child: Text(
"兑换记录",
style: TextStyle(
color: Color(0xFF0D0D0D),
fontSize: 12.sp,
fontWeight: MyFontWeight.regular),
)),
),
Spacer(),
Container(
width: 1.w,
height: 35.5.h,
margin: EdgeInsets.symmetric(),
color:Color(0xFFD8D8D8)),
Spacer(),
Image.asset(
"assets/image/trading_detail.webp",
width:16.h,
fit: BoxFit.fill,
height:16.h,
),
GestureDetector(
behavior: HitTestBehavior.opaque,
onTap: (){
Navigator.of(context).pushNamed('/router/integral_detailed_page',arguments:{"titleType":1});
},
child: Padding(padding:EdgeInsets.only(left: 4.w),
child: Text(
"印章明细",
style: TextStyle(
color: Color(0xFF0D0D0D),
fontSize: 12.sp,
fontWeight: MyFontWeight.regular),
)),)
],
),
),
Container(
width: double.infinity,
padding:EdgeInsets.symmetric(vertical:12.h,horizontal: 11.w) ,
margin: EdgeInsets.only(top:16.h),
decoration: BoxDecoration(
color: Colors.white,
borderRadius: BorderRadius.circular(12),
boxShadow: [
BoxShadow(
color: Colors.black.withAlpha(12),
offset: Offset(0, 4),
blurRadius: 8,
spreadRadius: 8,
)
],
),
child: Column(
crossAxisAlignment: CrossAxisAlignment.start,
children: [
Padding(padding:EdgeInsets.only(bottom:14.h),
child: Text(
"规则介绍",
style: TextStyle(
color: Color(0xFF0D0D0D),
fontSize: 15.sp,
fontWeight: MyFontWeight.semi_bold),
),),
Padding(padding:EdgeInsets.only(bottom:12.h),
child: Text(
"(1) 商品中所要求的印章达到方可兑换",
style: TextStyle(
color: Color(0xFF353535),
fontSize: 12.sp,
fontWeight: MyFontWeight.regular),
),),
Text(
"(2) 印章卡仅兑换商城指定商品,不能折算现金或兑换其他非指定商品项目",
style: TextStyle(
color: Color(0xFF353535),
fontSize: 12.sp,
height: 1.5.h,
fontWeight: MyFontWeight.regular),
),
],
),
)
],
),
),
),
),
)
],
),
);
}
}

109
lib/home/welfare_exchange.dart

@ -31,7 +31,6 @@ class WelfareExchange extends StatefulWidget {
class _WelfareExchange extends State<WelfareExchange>
with SingleTickerProviderStateMixin, AutomaticKeepAliveClientMixin {
ApiService apiService;
final ScrollController scrollController = ScrollController();
final RefreshController refreshController = RefreshController();
int pageNum = 1;
@ -45,12 +44,6 @@ class _WelfareExchange extends State<WelfareExchange>
List<GoodsCategory> gooodsCategorys = [];
UserInfo userInfo;
String categoryId;
var _itemText = S.current.morenpaixu;
List<String> sortString = [
S.current.morenpaixu,
S.current.jifengaodaodi,
S.current.jifendidaogao,
];
@override
void dispose() {
@ -69,10 +62,12 @@ class _WelfareExchange extends State<WelfareExchange>
}
queryUser() async {
EasyLoading.show(status: S.current.zhengzaijiazai);
BaseData<UserInfo> baseData =
await apiService.queryInfo().catchError((onError) {});
if (baseData != null && baseData.isSuccess) {
userInfo = baseData.data;
EasyLoading.dismiss();
setState(() {});
SharedPreferences.getInstance().then((value) => {
value.setString('user', jsonEncode(baseData.data)),
@ -93,7 +88,7 @@ class _WelfareExchange extends State<WelfareExchange>
"orderDesc": true,
"orderType": 1,
"pageNum": 1,
"pageSize": 10,
"pageSize": 100,
"state": 1
}).catchError((onError) {
refreshController.refreshFailed();
@ -131,7 +126,7 @@ class _WelfareExchange extends State<WelfareExchange>
"orderDesc": orderDesc,
"orderType": orderType,
"pageNum": pageNum,
"pageSize": 10,
"pageSize": 100,
"state": 1
};
BaseData<PageInfo<Goods>> pageGoods =
@ -218,7 +213,7 @@ class _WelfareExchange extends State<WelfareExchange>
),
],
)),
expandedHeight: 258.h,
expandedHeight: MediaQuery.of(context).size.height >= 750 ? 245.h : 258.h,
bottom: PreferredSize(
preferredSize: Size(double.infinity, 0),
child: DefaultTabController(
@ -265,7 +260,7 @@ class _WelfareExchange extends State<WelfareExchange>
body: SmartRefresher(
controller: refreshController,
enablePullDown: true,
enablePullUp: true,
enablePullUp: false,
physics: ClampingScrollPhysics(),
header: MyHeader(),
footer: CustomFooter(
@ -276,7 +271,7 @@ class _WelfareExchange extends State<WelfareExchange>
onRefresh: _onRefresh,
child: Container(
color: Colors.white,
padding: EdgeInsets.only(top: 19.h),
padding: EdgeInsets.only(top: 15.h),
child: pointList(),
)),
),
@ -330,7 +325,7 @@ class _WelfareExchange extends State<WelfareExchange>
userInfo.nickname,
style: TextStyle(
fontSize: 16.sp,
fontWeight: MyFontWeight.medium,
fontWeight: MyFontWeight.bold,
color: Color(0xFF353535),
),
),
@ -372,65 +367,71 @@ class _WelfareExchange extends State<WelfareExchange>
height: 50.h,
child: Column(
mainAxisAlignment: MainAxisAlignment.spaceEvenly,
crossAxisAlignment: CrossAxisAlignment.end,
crossAxisAlignment: CrossAxisAlignment.start,
children: [
GestureDetector(
onTap: () {
Navigator.of(context)
.pushNamed('/router/integral_detailed_page');
},
child: Row(
children: [
Text(
S.of(context).jifenmingxi,
style: TextStyle(
fontSize: 14.sp,
fontWeight: MyFontWeight.medium,
color: Color(0xFF4C4C4C),
),
Row(
children: [
Text(
"总积分",
style: TextStyle(
fontSize: 14.sp,
fontWeight: MyFontWeight.medium,
color: Color(0xFF4C4C4C),
),
Container(
width: 20,
height: 20,
margin: EdgeInsets.only(left: 4),
decoration: BoxDecoration(
color: Color(0xFF32A060),
borderRadius: BorderRadius.circular(10),
),
child: Icon(
Icons.keyboard_arrow_right,
size: 20,
color: Colors.white,
),
),
Padding(padding:EdgeInsets.only(left:2.w),
child: Text(
(userInfo != null) ? "${userInfo.points}" : "",
style: TextStyle(
fontSize: 16.sp,
color: Color(0xFF32A060),
fontFamily: 'JDZhengHT',
fontWeight: MyFontWeight.medium,
),
],
),
),),
SizedBox(
width: 4.w,
),
Image.asset(
"assets/image/icon_gold_coin.webp",
width: 18,
height: 18,
)
],
),
SizedBox(
height: 4.h,
),
Expanded(
child: Row(
Row(
children: [
Text(
(userInfo != null) ? "${userInfo.points}" : "",
"总印章",
style: TextStyle(
fontSize: 16.sp,
color: Color(0xFF32A060),
fontFamily: 'JDZhengHT',
fontSize: 14.sp,
fontWeight: MyFontWeight.medium,
color: Color(0xFF4C4C4C),
),
),
Padding(padding:EdgeInsets.only(left:2.w),
child: Text(
(userInfo != null) ? "${userInfo?.happyBean ?? 0}" : "",
style: TextStyle(
fontSize: 16.sp,
color: Color(0xFF32A060),
fontFamily: 'JDZhengHT',
fontWeight: MyFontWeight.medium,
),
),),
SizedBox(
width: 6.w,
width:4.w,
),
Image.asset(
"assets/image/icon_gold_coin.webp",
"assets/image/trading_logo.webp",
width: 18,
height: 18,
)
],
))
),
],
),
)
@ -568,7 +569,9 @@ class _WelfareExchange extends State<WelfareExchange>
String pointPrice(Goods goods) {
if (goods == null) return "";
if (goods?.onePrice != null && goods?.onePrice != "0") {
if(goods?.oneBean!=null && goods?.oneBean!="0"){
return "${goods?.oneBean}印章";
} else if (goods?.onePrice != null && goods?.onePrice != "0") {
return S.of(context).jifen_(goods?.onePrice);
} else if ((goods?.onePrice == null || goods?.onePrice == "0") &&
((goods?.price != null && goods?.price != "0") ||

47
lib/home/welfare_page.dart

@ -1,3 +1,5 @@
import 'dart:convert';
import 'package:dio/dio.dart';
import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
@ -143,15 +145,20 @@ class _WelfarePage extends State<WelfarePage> {
Widget build(BuildContext context) {
return Stack(
children: [
Container(
decoration: BoxDecoration(
image: DecorationImage(
fit: BoxFit.fill,
image: AssetImage("assets/image/welfare_zx.webp"),
Column(
children: [
Container(
decoration: BoxDecoration(
image: DecorationImage(
fit: BoxFit.fill,
image: AssetImage("assets/image/welfare_zx.webp"),
),
),
width: double.infinity,
height: 236.h,
),
),
width: double.infinity,
height: 236.h,
Expanded(child: Container(color: Colors.white,))
],
),
Scaffold(
backgroundColor: Colors.transparent,
@ -181,7 +188,21 @@ class _WelfarePage extends State<WelfarePage> {
physics: BouncingScrollPhysics(),
scrollController: ScrollController(),
child: Container(
// margin: EdgeInsets.only(top:30.h,left: 14,right: 14),
decoration: BoxDecoration(
borderRadius: BorderRadius.only(
topLeft: Radius.circular(6),
topRight: Radius.circular(6),),
color: Colors.white,
boxShadow: [
BoxShadow(
color: Color(0x08213303).withAlpha(12),
offset: Offset(0, 2),
blurRadius: 3,
spreadRadius: 0,
),
],
),
margin: EdgeInsets.only(top: 95.h),
child: SingleChildScrollView(
physics: BouncingScrollPhysics(),
child: Column(
@ -218,7 +239,6 @@ class _WelfarePage extends State<WelfarePage> {
Widget weekCoupons() {
return Container(
width: double.infinity,
margin: EdgeInsets.only(top: 95.h),
decoration: BoxDecoration(
borderRadius: BorderRadius.only(
topLeft: Radius.circular(6),
@ -233,7 +253,6 @@ class _WelfarePage extends State<WelfarePage> {
),
],
),
// margin: EdgeInsets.only(top: 139.h),
child: Column(
mainAxisAlignment: MainAxisAlignment.start,
crossAxisAlignment: CrossAxisAlignment.start,
@ -627,7 +646,7 @@ class _WelfarePage extends State<WelfarePage> {
'/router/write_off_page',
arguments: {
"couponId": cop.id,
"coupon": cop.toJson()
"coupon": jsonEncode(cop.toJson()),
});
} else {
showStoreSelector(cop.storeList);
@ -896,7 +915,9 @@ class _WelfarePage extends State<WelfarePage> {
String pointPrice(Goods goodsPrice){
if(goodsPrice == null)
return "";
if(goodsPrice?.onePrice!=null && goodsPrice?.onePrice!="0"){
if(goodsPrice?.oneBean!=null && goodsPrice?.oneBean!="0"){
return "${goodsPrice?.oneBean}印章";
} else if(goodsPrice?.onePrice!=null && goodsPrice?.onePrice!="0"){
return S.of(context).jifen_(goodsPrice?.onePrice);
}else if((goodsPrice?.onePrice == null || goodsPrice?.onePrice == "0") && ((goodsPrice?.price != null && goodsPrice?.price != "0") || (goodsPrice?.money != null && goodsPrice?.money != "0.00"))){
return (goodsPrice?.price== "0"|| goodsPrice?.price == null ? "" : S.of(context).jifen_(goodsPrice?.price)) + (goodsPrice?.money== "0"|| goodsPrice?.money == null ? "" : " + ${AppUtils.calculateDouble(double.tryParse(goodsPrice?.money) ?? 0)}");

213
lib/integral/integral_detailed_page.dart

@ -10,14 +10,18 @@ import 'package:huixiang/retrofit/data/user_info.dart';
import 'package:huixiang/retrofit/retrofit_api.dart';
import 'package:huixiang/utils/font_weight.dart';
import 'package:huixiang/view_widget/classic_header.dart';
import 'package:huixiang/view_widget/my_appbar.dart';
import 'package:huixiang/view_widget/my_footer.dart';
import 'package:huixiang/view_widget/my_tab.dart';
import 'package:pull_to_refresh/pull_to_refresh.dart';
import 'package:shared_preferences/shared_preferences.dart';
import 'package:flutter_screenutil/flutter_screenutil.dart';
import '../view_widget/no_data_view.dart';
class IntegralDetailedPage extends StatefulWidget {
final arguments;
IntegralDetailedPage({this.arguments});
@override
State<StatefulWidget> createState() {
return _IntegralDetailedPage();
@ -34,19 +38,19 @@ class _IntegralDetailedPage extends State<IntegralDetailedPage>
super.didChangeDependencies();
_tabs = [
MyTab(
text: S.of(context).huode,
text: widget.arguments["titleType"] == 1 ? "印章获得" : S.of(context).huode,
),
MyTab(
text: S.of(context).xiaofei,
text: widget.arguments["titleType"] == 1 ? "印章使用" : S.of(context).xiaofei,
),
];
tabController = TabController(length: 2, vsync: this)
..addListener(() {
current = 1;
if (tabController.index == 0) {
queryDetail("bill_cate_point_get");
queryDetail(widget.arguments["titleType"] == 1 ? "" : "bill_cate_point_get",widget.arguments["titleType"] == 1 ?"BILL_TYPE_BEAN_ADD" :"");
} else {
queryDetail("bill_cate_point_sub");
queryDetail(widget.arguments["titleType"] == 1 ? "" : "bill_cate_point_sub",widget.arguments["titleType"] == 1 ?"BILL_TYPE_BEAN_SUB" :"");
}
});
}
@ -67,17 +71,17 @@ class _IntegralDetailedPage extends State<IntegralDetailedPage>
apiService = ApiService(Dio(),
context: context, token: value.getString("token")),
userInfo = UserInfo.fromJson(jsonDecode(value.getString('user'))),
queryDetail("bill_cate_point_get"),
queryDetail(widget.arguments["titleType"] == 1 ? "" : "bill_cate_point_get",widget.arguments["titleType"] == 1 ?"BILL_TYPE_BEAN_ADD" :""),
});
}
int current = 1;
List<UserBill> userBill = [];
queryDetail(category) async {
queryDetail(category,type) async {
BaseData<PageInfo<UserBill>> baseData = await apiService.queryBillInfo({
"current": current,
"model": {"category": category, "title": "bill_title_point", "type": ""},
"model": {"category": category, "title": widget.arguments["titleType"] == 1 ? "":"bill_title_point", "type": type},
"order": "descending",
"size": 10,
"sort": "id"
@ -107,17 +111,17 @@ class _IntegralDetailedPage extends State<IntegralDetailedPage>
_onRefresh() {
current = 1;
if (tabController.index == 0) {
queryDetail("bill_cate_point_get");
queryDetail(widget.arguments["titleType"] == 1 ? "" : "bill_cate_point_get",widget.arguments["titleType"] == 1 ?"BILL_TYPE_BEAN_ADD" :"");
} else {
queryDetail("bill_cate_point_sub");
queryDetail(widget.arguments["titleType"] == 1 ? "" : "bill_cate_point_sub",widget.arguments["titleType"] == 1 ?"BILL_TYPE_BEAN_SUB" :"");
}
}
_loadMore() {
if (tabController.index == 0) {
queryDetail("bill_cate_point_get");
queryDetail(widget.arguments["titleType"] == 1 ? "" : "bill_cate_point_get",widget.arguments["titleType"] == 1 ?"BILL_TYPE_BEAN_SUB" :"");
} else {
queryDetail("bill_cate_point_sub");
queryDetail(widget.arguments["titleType"] == 1 ? "" : "bill_cate_point_sub",widget.arguments["titleType"] == 1 ?"BILL_TYPE_BEAN_SUB" :"");
}
}
@ -155,29 +159,39 @@ class _IntegralDetailedPage extends State<IntegralDetailedPage>
titleSpacing: 2,
leadingWidth: 56,
flexibleSpace: FlexibleSpaceBar(
background: Container(
alignment: Alignment.center,
margin: EdgeInsets.only(top: 56.h),
child: Column(
mainAxisAlignment: MainAxisAlignment.center,
crossAxisAlignment: CrossAxisAlignment.center,
children: [
Text(
userInfo != null ? userInfo.points : "0",
style: TextStyle(
color: Colors.white,
fontWeight: MyFontWeight.medium,
fontSize: 48.sp),
),
Text(
S.of(context).wodejifenzhi,
style: TextStyle(
color: Color(0xFFF2F2F2),
fontSize: 12.sp,
fontWeight: MyFontWeight.regular),
background: Stack(
children: [
Image.asset(
"assets/image/ming_xi.webp",
width:double.infinity,
fit: BoxFit.fill,
height:259.h,
),
Container(
alignment: Alignment.center,
margin: EdgeInsets.only(top: 56.h),
child: Column(
mainAxisAlignment: MainAxisAlignment.center,
crossAxisAlignment: CrossAxisAlignment.center,
children: [
Text(
userInfo != null ? (widget.arguments["titleType"] == 1 ? (userInfo?.happyBean ?? 0) : userInfo.points) : "0",
style: TextStyle(
color: Colors.white,
fontWeight: MyFontWeight.medium,
fontSize: 48.sp),
),
Text(
widget.arguments["titleType"] == 1 ? "我的印章" : S.of(context).wodejifenzhi,
style: TextStyle(
color: Color(0xFFF2F2F2),
fontSize: 12.sp,
fontWeight: MyFontWeight.regular),
),
],
),
],
),
)
],
),
),
expandedHeight: 228,
@ -220,74 +234,125 @@ class _IntegralDetailedPage extends State<IntegralDetailedPage>
),
onRefresh: _onRefresh,
onLoading: _loadMore,
child: ListView.builder(
child: (userBill == null || userBill.length == 0)
? NoDataView(
src: "assets/image/xiao_fei.webp",
isShowBtn: false,
text: "当前暂无记录哦~",
fontSize: 16.sp,
margin: EdgeInsets.all(60.h),
):ListView.builder(
itemCount: userBill != null ? userBill.length : 0,
padding: EdgeInsets.only(top: 8, bottom: 8),
itemBuilder: (context, position) {
return Container(
margin: EdgeInsets.fromLTRB(16, 8, 16, 8),
padding: EdgeInsets.fromLTRB(14, 7, 16, 7),
padding: EdgeInsets.all(12),
decoration: BoxDecoration(
color: Colors.white,
borderRadius: BorderRadius.all(Radius.circular(2)),
borderRadius: BorderRadius.all(Radius.circular(6)),
boxShadow: [
BoxShadow(
color: Colors.black.withAlpha(25),
offset: Offset(0, 1),
blurRadius: 12,
offset: Offset(0, 2),
blurRadius: 3,
spreadRadius: 0,
)
]),
child: Row(
mainAxisAlignment: MainAxisAlignment.start,
crossAxisAlignment: CrossAxisAlignment.start,
crossAxisAlignment: CrossAxisAlignment.center,
children: [
Image.asset(
"assets/image/icon_intergral_sign.webp",
width: 36.w,
height: 34.h,
),
SizedBox(
width: 15,
),
Expanded(
child: Container(
// height: 34.h,
alignment: Alignment.centerLeft,
child: Column(
mainAxisAlignment: MainAxisAlignment.spaceAround,
crossAxisAlignment: CrossAxisAlignment.start,
children: [
Text(
userBill[position].name ?? "",
// S.of(context).qiandao,
style: TextStyle(
color: Colors.black,
fontSize: 12.sp,
fontWeight: FontWeight.w400),
// height: 34.h,
alignment: Alignment.centerLeft,
child: Column(
mainAxisAlignment: MainAxisAlignment.spaceAround,
crossAxisAlignment: CrossAxisAlignment.start,
children: [
Padding(padding: EdgeInsets.only(bottom: 8.h),
child: Text(
userBill[position].type ?? "",
// S.of(context).qiandao,
style: TextStyle(
color: Colors.black,
fontSize: 14.sp,
fontWeight: FontWeight.bold),
),),
Text(
userBill[position].createTime ?? "",
style: TextStyle(
color: Color(0xFF4D4D4D),
fontSize: 12.sp,
fontWeight: MyFontWeight.regular),
)
],
),
Text(
userBill[position].createTime ?? "",
style: TextStyle(
color: Color(0xFF727272),
fontSize: 10.sp,
fontWeight: MyFontWeight.regular),
)
],
),
)),
)),
Container(
margin: EdgeInsets.only(top: 2.h),
child: Text(
"${tabController.index == 0 ? "+" : "-"}${double.tryParse(userBill[position].number ?? "0").toInt().toString()}",
style: TextStyle(
color: Color(0xFF727272),
fontSize: 12.sp,
color: Color(0xFF4D4D4D),
fontSize: 14.sp,
fontFamily: 'JDZhengHT',
fontWeight: MyFontWeight.regular),
),
)
],
),
)
// Row(
// mainAxisAlignment: MainAxisAlignment.start,
// crossAxisAlignment: CrossAxisAlignment.center,
// children: [
// Image.asset(
// "assets/image/icon_intergral_sign.webp",
// width: 36.w,
// height: 34.h,
// ),
// SizedBox(
// width: 15,
// ),
// Expanded(
// child: Container(
// // height: 34.h,
// alignment: Alignment.centerLeft,
// child: Column(
// mainAxisAlignment: MainAxisAlignment.spaceAround,
// crossAxisAlignment: CrossAxisAlignment.start,
// children: [
// Text(
// userBill[position].type ?? "",
// // S.of(context).qiandao,
// style: TextStyle(
// color: Colors.black,
// fontSize: 12.sp,
// fontWeight: FontWeight.w400),
// ),
// Text(
// userBill[position].createTime ?? "",
// style: TextStyle(
// color: Color(0xFF727272),
// fontSize: 10.sp,
// fontWeight: MyFontWeight.regular),
// )
// ],
// ),
// )),
// Container(
// margin: EdgeInsets.only(top: 2.h),
// child: Text(
// "${tabController.index == 0 ? "+" : "-"}${double.tryParse(userBill[position].number ?? "0").toInt().toString()}",
// style: TextStyle(
// color: Color(0xFF727272),
// fontSize: 12.sp,
// fontWeight: MyFontWeight.regular),
// ),
// )
// ],
// ),
);
}),
),

2
lib/integral/integral_page.dart

@ -124,7 +124,7 @@ class _IntegralPage extends State<IntegralPage> {
margin: EdgeInsets.only(right: 16.w),
child: GestureDetector(
onTap: () {
Navigator.of(context).pushNamed('/router/integral_detailed_page');
Navigator.of(context).pushNamed('/router/integral_detailed_page',arguments:{"titleType":2});
},
child: Text(
S.of(context).mingxi,

23
lib/integral_store/integral_store_details_page.dart

@ -34,6 +34,7 @@ class IntegralStoreDetailsPage extends StatefulWidget {
class _IntegralStoreDetailsPage extends State<IntegralStoreDetailsPage> {
ApiService apiService;
String points;
String happyBean;
int payType = 0;
final ScrollController scrollController = ScrollController();
final RefreshController refreshController = RefreshController();
@ -48,6 +49,7 @@ class _IntegralStoreDetailsPage extends State<IntegralStoreDetailsPage> {
queryGoodsById();
if (value.getString('user') != null) {
points = UserInfo.fromJson(jsonDecode(value.getString('user'))).points;
happyBean = UserInfo.fromJson(jsonDecode(value.getString('user'))).happyBean;
}
});
}
@ -62,15 +64,18 @@ class _IntegralStoreDetailsPage extends State<IntegralStoreDetailsPage> {
if (baseData != null && baseData.isSuccess) {
setState(() {
goods = baseData.data;
if(goods != null && points != null && double.tryParse(goods.onePrice)
!= 0 && double.tryParse(goods.onePrice) <= double.tryParse(points)){
if(goods != null && happyBean != null && double.tryParse(goods?.oneBean ?? "0")
!= 0 && double.tryParse(goods?.oneBean ?? "0") <= double.tryParse(happyBean)){
payType = 1;
} else if(goods != null && points != null && double.tryParse(goods.onePrice)
!= 0 && double.tryParse(goods.onePrice) <= double.tryParse(points)){
payType = 2;
} else if (goods != null && points != null && double.tryParse(goods.price) != 0 && double.tryParse(goods.price)
<= double.tryParse(points) && double.tryParse(goods.money) != 0.00){
payType = 2;
payType = 3;
} else if (goods != null && points != null
&& double.tryParse(goods.oneMoney) != 0.00){
payType = 3;
payType = 4;
}
refreshController.refreshCompleted();
});
@ -82,13 +87,16 @@ class _IntegralStoreDetailsPage extends State<IntegralStoreDetailsPage> {
String pointPrice(){
if(goods == null)
return "";
if(goods?.onePrice!=null && goods?.onePrice!="0"){
if(goods?.oneBean!=null && goods?.oneBean!="0"){
return "${goods?.oneBean}印章";
}else if(goods?.onePrice!=null && goods?.onePrice!="0"){
return S.of(context).jifen_(goods?.onePrice);
}else if((goods?.onePrice == null || goods?.onePrice == "0") && ((goods?.price != null && goods?.price != "0") || (goods?.money != null && goods?.money != "0.00"))){
return (goods?.price== "0"|| goods?.price == null ? "" : S.of(context).jifen_(goods?.price)) + (goods?.money== "0"|| goods?.money == null ? "" : " + ${AppUtils.calculateDouble(double.tryParse(goods?.money) ?? 0)}");
}else if(goods.oneMoney != null && goods.oneMoney != "0.00"){
return "${AppUtils.calculateDouble(double.tryParse(goods?.oneMoney) ?? 0)}";
}
return "";
}
@override
@ -168,7 +176,7 @@ class _IntegralStoreDetailsPage extends State<IntegralStoreDetailsPage> {
if(payType > 0){
toExchangeOrder();
}else{
SmartDialog.showToast("您的积分不足!", alignment: Alignment.center);
SmartDialog.showToast(pointPrice().contains("印章")?"您的印章数量不足!" : "您的积分不足!", alignment: Alignment.center);
return;
}
},
@ -187,7 +195,7 @@ class _IntegralStoreDetailsPage extends State<IntegralStoreDetailsPage> {
child: Text(
(payType > 0)
? "立即兑换"
: S.of(context).jifenbuzu,
: pointPrice().contains("印章")?"您的印章数量不足" :S.of(context).jifenbuzu,
// "兑换功能暂未开放",
style: TextStyle(
fontSize: 16.sp,
@ -211,6 +219,7 @@ class _IntegralStoreDetailsPage extends State<IntegralStoreDetailsPage> {
"money": goods.money,
"onePrice":goods.onePrice,
"oneMoney":goods.oneMoney,
"oneBean":goods.oneBean,
"price": goods.price,
"image": goods.mainImgPath,
"payType":payType,

23
lib/l10n/intl_en.arb

@ -192,7 +192,7 @@
"lingqufangshi": "领取方式",
"ziti": "自提",
"qingxuanzhemendian": "请选择门店",
"duihuanhouwugegongzuori": "兑换后五个工作日可前往门店",
"duihuanhouwugegongzuori": "兑换后五个工作日可前往门店",
"duihuanshangpinxiangqing": "兑换商品详情",
"querenduihuan": "确认兑换",
"yiwanchengdingdan": "已完成订单",
@ -723,6 +723,27 @@
"xuanzeshangpinlingqufangshi":"请选择商品的领取方式",
"mendianyue":"门店余额",
"lvbizhifu":"绿币支付",
"xuanzetuijianmendian":"选择推荐门店",
"yingwen":"英文",
"lijiyuyue":"立即预约",
"qingxuanzeyuyeushijian":"请选择预约时间",
"qingxuanzeyuyuemendian":"请选择预约门店",
"tangshi":"堂食",
"dianneiyongcan":"店内用餐",
"waidai":"外带",
"dabaodaodianqu":"打包到店取",
"qingxianxuanguige":"请先选规格",
"xuanhaola":"选好啦",
"qudaolaiyuan":"渠道来源",
"shuliang":"数量",
"shifujihuanka": "实付集换卡 {jihuanka}集换卡",
"jihuanka":"集换卡",
"xiaofeijihuanka":"消费集换卡",
"pingtaizhifumima":"平台支付密码",
"xiugai":"修改",
"bangdingshouji":"绑定手机",
"genggaibangdingshoujihao":"更改绑定手机号",

22
lib/l10n/intl_en_US.arb

@ -414,7 +414,7 @@
"xiangce": "album",
"xianxiashiyong": "offline use",
"xianshangshiyong": "online use",
"duihuanquan": "exchange coupon",
"duihuanquan": "redeem coupon",
"quhexiao": "De write off",
"biaojiweiyidu": "Mark as Read",
"xitongtongzhi": "System Notification",
@ -724,6 +724,26 @@
"xuanzeshangpinlingqufangshi":"Please select the picking method of goods",
"mendianyue":"store balance",
"lvbizhifu":"green payment",
"xuanzetuijianmendian":"select recommended store",
"yingwen":"United States",
"lijiyuyue":"directly reservation",
"qingxuanzeyuyeushijian":"please select subscribe time",
"qingxuanzeyuyuemendian":"please select subscribe shop",
"tangshi":"tang shi",
"dianneiyongcan":"store dining",
"waidai":"take away",
"dabaodaodianqu":"pack to shop take away",
"qingxianxuanguige":"please select specs",
"xuanhaola":"select success",
"qudaolaiyuan":"channel source",
"shuliang":"number",
"shifujihuanka": "paid-in trading card {jihuanka}trading card",
"jihuanka":"trading card",
"xiaofeijihuanka":"consume trading card",
"pingtaizhifumima":"Platform payment password",
"xiugai":"modify",
"bangdingshouji":"bind phone",
"genggaibangdingshoujihao":"modify bind phone",

23
lib/l10n/intl_zh_CN.arb

@ -192,7 +192,7 @@
"lingqufangshi": "领取方式",
"ziti": "自提",
"qingxuanzhemendian": "请选择门店",
"duihuanhouwugegongzuori": "兑换后五个工作日可前往门店",
"duihuanhouwugegongzuori": "兑换后五个工作日可前往门店",
"duihuanshangpinxiangqing": "兑换商品详情",
"querenduihuan": "确认兑换",
"yiwanchengdingdan": "已完成订单",
@ -724,7 +724,26 @@
"xuanzeshangpinlingqufangshi":"请选择商品的领取方式",
"mendianyue":"门店余额",
"lvbizhifu":"绿币支付",
"xuanzetuijianmendian":"选择推荐门店",
"yingwen":"英文",
"lijiyuyue":"立即预约",
"qingxuanzeyuyeushijian":"请选择预约时间",
"qingxuanzeyuyuemendian":"请选择预约门店",
"tangshi":"堂食",
"dianneiyongcan":"店内用餐",
"waidai":"外带",
"dabaodaodianqu":"打包到店取",
"qingxianxuanguige":"请先选规格",
"xuanhaola":"选好啦",
"qudaolaiyuan":"渠道来源",
"shuliang":"数量",
"shifujihuanka": "实付集换卡 {jihuanka}集换卡",
"jihuanka":"集换卡",
"xiaofeijihuanka":"消费集换卡",
"pingtaizhifumima":"平台支付密码",
"xiugai":"修改",
"bangdingshouji":"绑定手机",
"genggaibangdingshoujihao":"更改绑定手机号",

22
lib/l10n/intl_zh_Hans_CN.arb

@ -192,7 +192,7 @@
"lingqufangshi": "领取方式",
"ziti": "自提",
"qingxuanzhemendian": "请选择门店",
"duihuanhouwugegongzuori": "兑换后五个工作日可前往门店",
"duihuanhouwugegongzuori": "兑换后五个工作日可前往门店",
"duihuanshangpinxiangqing": "兑换商品详情",
"querenduihuan": "确认兑换",
"yiwanchengdingdan": "已完成订单",
@ -724,6 +724,26 @@
"xuanzeshangpinlingqufangshi":"请选择商品的领取方式",
"mendianyue":"门店余额",
"lvbizhifu":"绿币支付",
"xuanzetuijianmendian":"选择推荐门店",
"yingwen":"英文",
"lijiyuyue":"立即预约",
"qingxuanzeyuyeushijian":"请选择预约时间",
"qingxuanzeyuyuemendian":"请选择预约门店",
"tangshi":"堂食",
"dianneiyongcan":"店内用餐",
"waidai":"外带",
"dabaodaodianqu":"打包到店取",
"qingxianxuanguige":"请先选规格",
"xuanhaola":"选好啦",
"qudaolaiyuan":"渠道来源",
"shuliang":"数量",
"shifujihuanka": "实付集换卡 {jihuanka}集换卡",
"jihuanka":"集换卡",
"xiaofeijihuanka":"消费集换卡",
"pingtaizhifumima":"平台支付密码",
"xiugai":"修改",
"bangdingshouji":"绑定手机",
"genggaibangdingshoujihao":"更改绑定手机号",

22
lib/l10n/intl_zh_Hant_CN.arb

@ -194,7 +194,7 @@
"lingqufangshi": "领取方式",
"ziti": "自提",
"qingxuanzhemendian": "请选择门店",
"duihuanhouwugegongzuori": "兑换后五个工作日可前往门店",
"duihuanhouwugegongzuori": "兑换后五个工作日可前往门店",
"duihuanshangpinxiangqing": "兑换商品详情",
"querenduihuan": "确认兑换",
"yiwanchengdingdan": "已完成订单",
@ -715,6 +715,26 @@
"xuanzeshangpinlingqufangshi":"請選擇商品的領取方式",
"mendianyue":"門店餘額",
"lvbizhifu":"綠幣支付",
"xuanzetuijianmendian":"選擇推薦門店",
"yingwen":"英文",
"lijiyuyue":"立即預約",
"qingxuanzeyuyeushijian":"請選擇預約時間",
"qingxuanzeyuyuemendian":"請選擇預約門店",
"tangshi":"堂食",
"dianneiyongcan":"店内用餐",
"waidai":"外帶",
"dabaodaodianqu":"打包到店取",
"qingxianxuanguige":"請先選規格",
"xuanhaola":"選好啦",
"qudaolaiyuan":"渠道來源",
"shuliang":"數量",
"shifujihuanka": "實付集換卡 {jihuanka}集換卡",
"jihuanka":"集換卡",
"xiaofeijihuanka":"消費集換卡",
"pingtaizhifumima":"平臺支付密碼",
"xiugai":"修改",
"bangdingshouji":"綁定手機",
"genggaibangdingshoujihao":"更改綁定手機號",

22
lib/l10n/intl_zh_TW.arb

@ -194,7 +194,7 @@
"lingqufangshi": "领取方式",
"ziti": "自提",
"qingxuanzhemendian": "请选择门店",
"duihuanhouwugegongzuori": "兑换后五个工作日可前往门店",
"duihuanhouwugegongzuori": "兑换后五个工作日可前往门店",
"duihuanshangpinxiangqing": "兑换商品详情",
"querenduihuan": "确认兑换",
"yiwanchengdingdan": "已完成订单",
@ -717,6 +717,26 @@
"xuanzeshangpinlingqufangshi":"請選擇商品的領取方式",
"mendianyue":"門店餘額",
"lvbizhifu":"綠幣支付",
"xuanzetuijianmendian":"選擇推薦門店",
"yingwen":"英文",
"lijiyuyue":"立即預約",
"qingxuanzeyuyeushijian":"請選擇預約時間",
"qingxuanzeyuyuemendian":"請選擇預約門店",
"tangshi":"堂食",
"dianneiyongcan":"店内用餐",
"waidai":"外帶",
"dabaodaodianqu":"打包到店取",
"qingxianxuanguige":"請先選規格",
"xuanhaola":"選好啦",
"qudaolaiyuan":"渠道來源",
"shuliang":"數量",
"shifujihuanka": "實付集換卡 {jihuanka}集換卡",
"jihuanka":"集換卡",
"xiaofeijihuanka":"消費集換卡",
"pingtaizhifumima":"平臺支付密碼",
"xiugai":"修改",
"bangdingshouji":"綁定手機",
"genggaibangdingshoujihao":"更改綁定手機號",

154
lib/login/login_store_select.dart

@ -0,0 +1,154 @@
import 'package:flutter/material.dart';
import 'package:flutter_easyloading/flutter_easyloading.dart';
import 'package:huixiang/utils/font_weight.dart';
import 'package:flutter_screenutil/flutter_screenutil.dart';
import 'package:huixiang/view_widget/my_appbar.dart';
import '../generated/l10n.dart';
import '../retrofit/data/channels_list.dart';
import '../retrofit/retrofit_api.dart';
class LoginStoreSelect extends StatefulWidget {
final Map<String, dynamic> arguments;
LoginStoreSelect({this.arguments});
@override
State<StatefulWidget> createState() {
return _LoginStoreSelect();
}
}
class _LoginStoreSelect extends State<LoginStoreSelect> {
ChannelsList channelsList;
int channelIndex = 0;
@override
void initState() {
super.initState();
channelsList = widget.arguments["channelsList"];
}
@override
Widget build(BuildContext context) {
return Scaffold(
backgroundColor: Colors.white,
appBar: MyAppBar(
title: S.of(context).qudaolaiyuan,
titleColor: Colors.black,
titleSize: 18.sp,
background: Color(0xFFFFFFFF),
leadingColor: Colors.black,
),
body: Container(
color: Color(0xFFFFFFFF),
height: double.infinity,
child: Column(
children: [
Padding(padding:EdgeInsets.only(top:18.h,bottom:20.h,left:18.w),
child: Row(
children: [
Image.asset(
"assets/image/login_channel.webp",
fit: BoxFit.fill,
width:24,
height:24,
),
SizedBox(width:12.w),
Text(
"Hi,您是通过什么途径了解到这款APP的?",
style: TextStyle(
fontWeight: MyFontWeight.bold,
fontSize: 15.sp,
color: Color(0xFF181818),
),
),
],
)),
Expanded(child: ListView.builder(
physics: BouncingScrollPhysics(),
shrinkWrap: true,
itemBuilder: (context, position) {
return GestureDetector(
onTap: () {
setState(() {
channelIndex = position;
});
},
child: channelItem(position),
);
},
itemCount:(channelsList != null && (channelsList?.channels?.length ?? 0) > 0) ? channelsList.channels.length : 0,
)),
if(channelsList != null && (channelsList.channels.length) > 0)
GestureDetector(
onTap: () {
Navigator.pop(context,channelsList.channels[channelIndex]);
},
child: Container(
width: double.infinity,
alignment: Alignment.center,
decoration: BoxDecoration(
color: Color(0xFF32A060),
borderRadius: BorderRadius.circular(27),
),
margin: EdgeInsets.only(
left: 16, right: 16, bottom: 21),
padding: EdgeInsets.symmetric(vertical:18.h),
child: Text(
S.of(context).queren,
style: TextStyle(
fontSize: 16.sp,
fontWeight: MyFontWeight.medium,
color: Colors.white,
),
),
),
)
],
),
),
);
}
Widget channelItem(index){
return Container(
height:52 ,
margin: EdgeInsets.only(bottom: 12,left: 14,right: 14),
child: Stack(
alignment: Alignment.bottomRight,
children: [
Container(
height: 52.h,
width: double.infinity,
decoration: BoxDecoration(
borderRadius: new BorderRadius.circular(6),
border: Border.all(
color: channelIndex == index ? Color(0xFF32A060) : Color(0xFFF7F7F7),
width: channelIndex == index ? 1 : 0,
),
color:channelIndex == index ? Color(0xFFF0FAF4) : Color(0xFFF7F7F7),
),
alignment: Alignment.centerLeft,
padding: EdgeInsets.only(left: 12,),
child: Text(
channelsList.channels[index],
style: TextStyle(
fontWeight: MyFontWeight.bold,
fontSize: 14.sp,
color: channelIndex == index ? Color(0xFF32A060) : Colors.black,
),
),
),
if (index == channelIndex)
Image.asset(
"assets/image/recharge.webp",
width: 20,
height: 20,
fit: BoxFit.fill,
),
],
),
);
}
}

Some files were not shown because too many files have changed in this diff Show More

Loading…
Cancel
Save