Browse Source

Merge remote-tracking branch 'origin/dev' into remove_uniapp

# Conflicts:
#	lib/order/exchange_order_page.dart
ff_new
fmk 3 years ago
parent
commit
adfdb61203
  1. BIN
      assets/image/2x/attainment_bj.png
  2. BIN
      assets/image/2x/badge_img.png
  3. BIN
      assets/image/2x/bj_badge.png
  4. BIN
      assets/image/2x/by_badge.png
  5. BIN
      assets/image/2x/fuka_j.png
  6. BIN
      assets/image/2x/fuka_zj.png
  7. BIN
      assets/image/2x/hj_badge.png
  8. BIN
      assets/image/2x/jian_j.png
  9. BIN
      assets/image/2x/qt_badge.png
  10. BIN
      assets/image/2x/vip_contrastive_table.png
  11. BIN
      assets/image/2x/vip_gc.png
  12. BIN
      assets/image/2x/vip_jk.png
  13. BIN
      assets/image/2x/vip_qy.png
  14. BIN
      assets/image/2x/vip_yk.png
  15. BIN
      assets/image/3x/attainment_bj.png
  16. BIN
      assets/image/3x/badge_img.png
  17. BIN
      assets/image/3x/bj_badge.png
  18. BIN
      assets/image/3x/by_badge.png
  19. BIN
      assets/image/3x/fuka_j.png
  20. BIN
      assets/image/3x/fuka_zj.png
  21. BIN
      assets/image/3x/hj_badge.png
  22. BIN
      assets/image/3x/jian_j.png
  23. BIN
      assets/image/3x/qt_badge.png
  24. BIN
      assets/image/3x/vip_contrastive_table.png
  25. BIN
      assets/image/3x/vip_gc.png
  26. BIN
      assets/image/3x/vip_jk.png
  27. BIN
      assets/image/3x/vip_qy.png
  28. BIN
      assets/image/3x/vip_yk.png
  29. BIN
      assets/image/attainment_bj.png
  30. BIN
      assets/image/badge_img.png
  31. BIN
      assets/image/bj_badge.png
  32. BIN
      assets/image/by_badge.png
  33. BIN
      assets/image/fuka_j.png
  34. BIN
      assets/image/fuka_zj.png
  35. BIN
      assets/image/hj_badge.png
  36. BIN
      assets/image/jian_j.png
  37. BIN
      assets/image/qt_badge.png
  38. BIN
      assets/image/vip_contrastive_table.png
  39. BIN
      assets/image/vip_gc.png
  40. BIN
      assets/image/vip_jk.png
  41. BIN
      assets/image/vip_qy.png
  42. BIN
      assets/image/vip_yk.png
  43. 16
      assets/svg/lianmeng.svg
  44. 11
      lib/community/community_view/class_details_video.dart
  45. 32
      lib/generated/intl/messages_en.dart
  46. 30
      lib/generated/intl/messages_zh_CN.dart
  47. 30
      lib/generated/intl/messages_zh_Hans_CN.dart
  48. 30
      lib/generated/intl/messages_zh_Hant_CN.dart
  49. 30
      lib/generated/intl/messages_zh_TW.dart
  50. 320
      lib/generated/l10n.dart
  51. 2
      lib/home/home_page.dart
  52. 2
      lib/home/points_mall_view/points_goods_view.dart
  53. 98
      lib/integral_store/integral_store_details_page.dart
  54. 34
      lib/l10n/intl_en.arb
  55. 30
      lib/l10n/intl_zh_CN.arb
  56. 30
      lib/l10n/intl_zh_Hans_CN.arb
  57. 31
      lib/l10n/intl_zh_Hant_CN.arb
  58. 30
      lib/l10n/intl_zh_TW.arb
  59. 16
      lib/main.dart
  60. 54
      lib/mine/mine_page.dart
  61. 199
      lib/mine/mine_vip/binding_assistant_card.dart
  62. 570
      lib/mine/mine_vip/legal_right_details.dart
  63. 438
      lib/mine/mine_vip/mine_attainment_page.dart
  64. 558
      lib/mine/mine_vip/mine_vip_core.dart
  65. 2
      lib/mine/mine_vip_level_page.dart
  66. 13
      lib/order/exchange_history_page.dart
  67. 198
      lib/order/exchange_order_page.dart
  68. 45
      lib/order/exchange_order_success_page.dart
  69. 3
      lib/retrofit/data/exchange_order_goods.dart
  70. 241
      lib/retrofit/data/goods.dart
  71. 5
      lib/retrofit/data/rank.dart
  72. 8
      lib/retrofit/retrofit_api.dart
  73. 2
      lib/retrofit/retrofit_api.g.dart
  74. 2
      lib/store/store_view/product_sku.dart
  75. 112
      lib/view_widget/mine_vip_view.dart
  76. 4
      lib/view_widget/receive_success.dart
  77. 206
      lib/view_widget/vip_dialog.dart

BIN
assets/image/2x/attainment_bj.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 196 KiB

BIN
assets/image/2x/badge_img.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.8 KiB

BIN
assets/image/2x/bj_badge.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 21 KiB

BIN
assets/image/2x/by_badge.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

BIN
assets/image/2x/fuka_j.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

BIN
assets/image/2x/fuka_zj.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.1 KiB

BIN
assets/image/2x/hj_badge.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 21 KiB

BIN
assets/image/2x/jian_j.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

BIN
assets/image/2x/qt_badge.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

BIN
assets/image/2x/vip_contrastive_table.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 55 KiB

BIN
assets/image/2x/vip_gc.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.5 KiB

BIN
assets/image/2x/vip_jk.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

BIN
assets/image/2x/vip_qy.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.2 KiB

BIN
assets/image/2x/vip_yk.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.8 KiB

BIN
assets/image/3x/attainment_bj.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 853 KiB

BIN
assets/image/3x/badge_img.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.3 KiB

BIN
assets/image/3x/bj_badge.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 42 KiB

BIN
assets/image/3x/by_badge.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 35 KiB

BIN
assets/image/3x/fuka_j.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 KiB

BIN
assets/image/3x/fuka_zj.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

BIN
assets/image/3x/hj_badge.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 42 KiB

BIN
assets/image/3x/jian_j.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

BIN
assets/image/3x/qt_badge.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 36 KiB

BIN
assets/image/3x/vip_contrastive_table.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 106 KiB

BIN
assets/image/3x/vip_gc.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

BIN
assets/image/3x/vip_jk.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

BIN
assets/image/3x/vip_qy.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.5 KiB

BIN
assets/image/3x/vip_yk.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

BIN
assets/image/attainment_bj.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 32 KiB

BIN
assets/image/badge_img.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

BIN
assets/image/bj_badge.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.5 KiB

BIN
assets/image/by_badge.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.3 KiB

BIN
assets/image/fuka_j.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 791 B

BIN
assets/image/fuka_zj.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

BIN
assets/image/hj_badge.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.5 KiB

BIN
assets/image/jian_j.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

BIN
assets/image/qt_badge.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.4 KiB

BIN
assets/image/vip_contrastive_table.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

BIN
assets/image/vip_gc.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.6 KiB

BIN
assets/image/vip_jk.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.0 KiB

BIN
assets/image/vip_qy.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

BIN
assets/image/vip_yk.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 KiB

16
assets/svg/lianmeng.svg

@ -1,19 +1,13 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg width="30px" height="30px" viewBox="0 0 30 30" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<title>编组 7</title>
<title>编组 5</title>
<g id="页面-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
<g id="联盟门店" transform="translate(-126.000000, -733.000000)">
<g id="编组-7" transform="translate(126.000000, 733.000000)">
<g id="编组-13备份">
<g id="净币首页" transform="translate(-126.000000, -733.000000)">
<g id="编组-30" transform="translate(126.000000, 733.000000)">
<rect id="矩形" x="0" y="0" width="30" height="30"></rect>
<rect id="矩形" x="2.04545455" y="2.04545455" width="25.9090909" height="25.9090909"></rect>
</g>
<g id="Icon-header-19" transform="translate(6.532840, 4.770117)" fill="#32A060" fill-rule="nonzero" stroke="#32A060" stroke-width="2">
<g id="编组">
<polygon id="路径" points="4.56034383 11.0976885 6.22803379 12.0903374 3.39843685 16.9921843 0 15.0005808 0 4.99941921 8.66070391 0 10.3914508 0.998954582"></polygon>
<polygon id="路径" points="14.018552 2.97363225 11.1889551 7.87547915 12.7587409 8.90231153 6.92763387 19.0010454 8.65838076 20 17.3190847 15.0005808 17.3190847 4.99941921"></polygon>
</g>
</g>
<path d="M16,3.57735027 L24.3923048,8.42264973 C25.011107,8.77991532 25.3923048,9.44016936 25.3923048,10.1547005 L25.3923048,19.8452995 C25.3923048,20.5598306 25.011107,21.2200847 24.3923048,21.5773503 L16,26.4226497 C15.3811978,26.7799153 14.6188022,26.7799153 14,26.4226497 L5.60769515,21.5773503 C4.988893,21.2200847 4.60769515,20.5598306 4.60769515,19.8452995 L4.60769515,10.1547005 C4.60769515,9.44016936 4.988893,8.77991532 5.60769515,8.42264973 L14,3.57735027 C14.6188022,3.22008468 15.3811978,3.22008468 16,3.57735027 Z" id="多边形" stroke="#E6E6E6" stroke-width="2"></path>
<path d="M13.908056,11.5007309 C14.2275574,11.0606835 14.5358769,10.6356362 14.7667416,10.2112707 C14.9974698,10.6356362 15.3057894,11.0608199 15.6254271,11.5008672 C16.4399307,12.6228721 17.3632529,13.8944686 17.3632529,15.6007943 C17.3632529,15.9449776 17.2968435,16.2785245 17.1655248,16.5928441 C17.0354518,16.9074318 16.8439959,17.1929468 16.6023405,17.4327114 C16.3650118,17.670759 16.0832792,17.8599243 15.7731096,17.9894865 C15.4641082,18.0898506 15.0711065,18.3061243 14.7667416,18.7667627 C14.4622402,18.3061243 14.0692385,18.0898506 13.7603735,17.9894865 C13.4500255,17.8596841 13.1680523,17.6704513 12.9303244,17.4324386 C12.44314,16.9474696 12.1695128,16.2882121 12.1700929,15.6007943 C12.1700929,13.8944686 13.0932797,12.6228721 13.908056,11.5008672 L13.908056,11.5007309 Z M12.4563224,17.9052134 C12.759475,18.2086593 13.1197259,18.4490583 13.5162815,18.6125347 C13.5251452,18.6160802 13.5340089,18.6193529 13.5432817,18.6222166 C13.7974646,18.7026715 14.1457388,18.9073542 14.3618762,19.4275837 C14.4078309,19.5380388 14.4311492,19.6554484 14.4314219,19.7762671 L14.4314219,19.7794034 C14.4314219,19.7807671 14.431831,19.781858 14.431831,19.7830853 C14.4321428,20.2032531 14.599822,20.6059874 14.8977876,20.9022265 C14.9632424,20.9674086 15.0488792,21 15.1346523,21 C15.2699196,21.0001293 15.3919398,20.9187458 15.443794,20.7938122 C15.4956481,20.6688785 15.46712,20.5250094 15.3715169,20.4293154 C15.1988178,20.2576852 15.1017314,20.0242458 15.1017885,19.7807671 L15.1019248,19.7794034 L15.1019248,19.7762671 C15.1019533,19.656597 15.1255863,19.5381077 15.1714706,19.4275837 C15.3876079,18.9073542 15.7360185,18.7025351 15.9900651,18.6222166 C15.9992015,18.6193529 16.0082015,18.6160802 16.0169288,18.6125347 C16.4133431,18.4492941 16.7733978,18.2089641 17.0762062,17.9054862 C17.3799942,17.6038627 17.6207162,17.2447961 17.7843457,16.8492088 C17.9495838,16.453831 18.0342381,16.0294472 18.0333537,15.6009306 C18.0333537,13.6777858 16.999024,12.2533251 16.1678841,11.1088201 C15.6674273,10.4193625 15.2350163,9.82372354 15.0916975,9.25208468 C15.0903339,9.24676647 15.0878793,9.24226645 15.086243,9.23708461 C15.0765625,9.20537491 15.0623225,9.17524134 15.04397,9.14762967 C15.0320893,9.12967026 15.0183797,9.11299022 15.0030608,9.09785673 C14.9642156,9.05864541 14.916088,9.0298908 14.8631511,9.01426545 C14.8578329,9.01276545 14.8533328,9.01017453 14.8478783,9.00881088 C14.8433783,9.00771997 14.8387419,9.00785634 14.8342419,9.00690179 C14.8225751,9.0045468 14.810783,9.00286222 14.7989235,9.00185631 C14.7779957,8.99947603 14.7568708,8.99938458 14.7359232,9.00158358 C14.7232414,9.00267449 14.7106959,9.00444723 14.6982867,9.00703815 C14.6939231,9.00785634 14.6896958,9.00785634 14.6854685,9.00894725 C14.680423,9.01017453 14.6761957,9.01262908 14.6712866,9.01399273 C14.6287093,9.02657715 14.5890714,9.04753189 14.5546952,9.07562936 C14.5383341,9.08929505 14.5231865,9.10435131 14.5094223,9.12062956 C14.5021949,9.12935687 14.4956495,9.13835691 14.4893767,9.1479024 C14.4707266,9.17524649 14.4564636,9.20533682 14.4471038,9.23708461 C14.4456038,9.24226645 14.4430129,9.24676647 14.4416492,9.25208468 C14.2984668,9.82372354 13.8660558,10.4193625 13.3653263,11.1088201 C12.5343227,12.2531887 11.5,13.6776495 11.5,15.6007943 C11.5,16.0330689 11.5834549,16.4529344 11.7481829,16.848527 C11.9122547,17.2439577 12.1529193,17.6030314 12.4563224,17.9050771 L12.4563224,17.9052134 Z" id="形状" stroke="#E6E6E6" stroke-width="2" fill-rule="nonzero"></path>
</g>
</g>
</g>

Before

Width:  |  Height:  |  Size: 1.4 KiB

After

Width:  |  Height:  |  Size: 4.7 KiB

11
lib/community/community_view/class_details_video.dart

@ -58,6 +58,10 @@ class ClassDetailsVideoState extends State<ClassDetailsVideo> {
}
initVideo(videoUrl) async {
if (videoPlayerController != null) {
videoPlayerController.pause();
videoPlayerController.dispose();
}
videoPlayerController = VideoPlayerController.network(
videoUrl,
)..initialize().then((value) {
@ -110,6 +114,7 @@ class ClassDetailsVideoState extends State<ClassDetailsVideo> {
videoPlayerController.pause();
videoPlayerController.dispose();
}
}
Widget videoWidget(double width, double height, src) {
@ -148,7 +153,11 @@ class ClassDetailsVideoState extends State<ClassDetailsVideo> {
color: Colors.black,
child: Stack(
children: [
Center(
Positioned(
left: 0.0,
top: 0.0,
right: 0.0,
bottom: 0.0,
child: MImage(
src,
fit: BoxFit.cover,

32
lib/generated/intl/messages_en.dart

@ -102,8 +102,10 @@ class MessageLookup extends MessageLookupByLibrary {
final messages = _notInlinedMessages(_notInlinedMessages);
static _notInlinedMessages(_) => <String, Function> {
"bainianchuanjiao" : MessageLookupByLibrary.simpleMessage("百年川椒"),
"baiyin" : MessageLookupByLibrary.simpleMessage("白银"),
"baiyinhuiyuan" : MessageLookupByLibrary.simpleMessage("白银会员"),
"banben" : m0,
"bangdingfuka" : MessageLookupByLibrary.simpleMessage("绑定副卡"),
"bangong" : MessageLookupByLibrary.simpleMessage("办公"),
"bangzhuyufankui" : MessageLookupByLibrary.simpleMessage("帮助与反馈"),
"baocun" : MessageLookupByLibrary.simpleMessage("保存"),
@ -114,10 +116,12 @@ class MessageLookup extends MessageLookupByLibrary {
"bianjidizhi" : MessageLookupByLibrary.simpleMessage("编辑地址"),
"biaojiweiyidu" : MessageLookupByLibrary.simpleMessage("标为已读"),
"bodadianhua" : MessageLookupByLibrary.simpleMessage("拨打电话"),
"bojin" : MessageLookupByLibrary.simpleMessage("铂金"),
"brand_yixinhuixiang" : MessageLookupByLibrary.simpleMessage("一心回乡"),
"buzhichikaipiao" : MessageLookupByLibrary.simpleMessage("不支持开票"),
"chakan" : MessageLookupByLibrary.simpleMessage("查看"),
"chakangengduo" : MessageLookupByLibrary.simpleMessage("查看更多"),
"chakanquanyi" : MessageLookupByLibrary.simpleMessage("查看权益"),
"chakanshixiaoquan" : MessageLookupByLibrary.simpleMessage("查看失效券"),
"chakanwodekabao" : MessageLookupByLibrary.simpleMessage("查看我的卡包"),
"chakanwodekaquan" : MessageLookupByLibrary.simpleMessage("查看我的卡券"),
@ -128,6 +132,8 @@ class MessageLookup extends MessageLookupByLibrary {
"chaojiyouhuiquan" : MessageLookupByLibrary.simpleMessage("超值优惠券"),
"chaungshirengushi" : MessageLookupByLibrary.simpleMessage("创始人故事"),
"chenggongdengluzhuce" : MessageLookupByLibrary.simpleMessage("成功登录注册,并绑定相关信息即可成为会员。"),
"chengjiu" : MessageLookupByLibrary.simpleMessage("成就"),
"chengjiuhuizhang" : MessageLookupByLibrary.simpleMessage("成就徽章"),
"chengshixuanze" : MessageLookupByLibrary.simpleMessage("城市选择"),
"chengweidianpuzhuanshuhuiyuan" : MessageLookupByLibrary.simpleMessage("成为店铺专属会员,享专属权益"),
"chongzhi" : MessageLookupByLibrary.simpleMessage("充值"),
@ -136,6 +142,7 @@ class MessageLookup extends MessageLookupByLibrary {
"chuangjianshijian" : m2,
"chuangshirendegushi" : MessageLookupByLibrary.simpleMessage("创始人的故事-"),
"chuangshirendegushi1" : MessageLookupByLibrary.simpleMessage("创始人的故事"),
"chuzhiyouhui" : MessageLookupByLibrary.simpleMessage("储值优惠"),
"code_error" : MessageLookupByLibrary.simpleMessage("验证码输入错误"),
"cunchu" : MessageLookupByLibrary.simpleMessage("存储"),
"cunchutishixinxi" : MessageLookupByLibrary.simpleMessage("为了获得照片使用、缓存等功能,推荐您在使用期间打开存储权限"),
@ -204,6 +211,7 @@ class MessageLookup extends MessageLookupByLibrary {
"fenxiangdao" : MessageLookupByLibrary.simpleMessage("分享到"),
"fenxiangyaoqing" : MessageLookupByLibrary.simpleMessage("也可以直接点击右上方的分享给到你想要邀请的人。"),
"fenxiangzhiweixin" : MessageLookupByLibrary.simpleMessage("分享至微信"),
"fukashoujihao" : MessageLookupByLibrary.simpleMessage("副卡手机号"),
"ge" : m5,
"geiwopingfen" : MessageLookupByLibrary.simpleMessage("给我评分"),
"gengduo" : MessageLookupByLibrary.simpleMessage("更多"),
@ -211,9 +219,11 @@ class MessageLookup extends MessageLookupByLibrary {
"genghuantouxiang" : MessageLookupByLibrary.simpleMessage("更换头像"),
"gerenxinxi" : MessageLookupByLibrary.simpleMessage("个人信息"),
"gong" : MessageLookupByLibrary.simpleMessage(""),
"gongchuanghuiyuan" : MessageLookupByLibrary.simpleMessage("共创会员"),
"gongjijian" : m6,
"gongjijianshangpin" : m7,
"gongli" : m8,
"gongxinchengwei" : MessageLookupByLibrary.simpleMessage("恭喜您成为"),
"gongxinichengweibendianhuiyuan" : MessageLookupByLibrary.simpleMessage("恭喜您,成为本店的会员,快去享受超多会员权益吧。"),
"gouxuanxieyi" : MessageLookupByLibrary.simpleMessage("请勾选同意隐私服务和一心回乡服务协议"),
"guanlidizhi" : MessageLookupByLibrary.simpleMessage("管理地址"),
@ -228,6 +238,7 @@ class MessageLookup extends MessageLookupByLibrary {
"heji" : MessageLookupByLibrary.simpleMessage("合计:"),
"hexiaochenggong" : MessageLookupByLibrary.simpleMessage("核销成功"),
"hexiaomaxiangqing" : MessageLookupByLibrary.simpleMessage("核销码详情"),
"huangjin" : MessageLookupByLibrary.simpleMessage("黄金"),
"huangjinhuiyuan" : MessageLookupByLibrary.simpleMessage("黄金会员"),
"huifu" : MessageLookupByLibrary.simpleMessage("回复"),
"huifu_" : m9,
@ -235,12 +246,18 @@ class MessageLookup extends MessageLookupByLibrary {
"huixiangtoutiao" : MessageLookupByLibrary.simpleMessage("回乡头条"),
"huiyuandengji" : MessageLookupByLibrary.simpleMessage("会员等级"),
"huiyuandengjishuoming" : MessageLookupByLibrary.simpleMessage("会员等级说明"),
"huiyuanguize" : MessageLookupByLibrary.simpleMessage("会员规则说明"),
"huiyuanhuodejifen" : MessageLookupByLibrary.simpleMessage("会员如何获得积分"),
"huiyuanjia" : MessageLookupByLibrary.simpleMessage("会员价"),
"huiyuanjibieduizhao" : MessageLookupByLibrary.simpleMessage("会员级别对照表"),
"huiyuanjifen" : MessageLookupByLibrary.simpleMessage("会员积分"),
"huiyuanka" : MessageLookupByLibrary.simpleMessage("会员卡"),
"huiyuankaxiangqing" : MessageLookupByLibrary.simpleMessage("会员卡详情"),
"huiyuanquanyi" : MessageLookupByLibrary.simpleMessage("会员权益"),
"huiyuanyue" : MessageLookupByLibrary.simpleMessage("会员余额"),
"huiyuanzhongxin" : MessageLookupByLibrary.simpleMessage("会员中心"),
"huode" : MessageLookupByLibrary.simpleMessage("获得"),
"huodequanyi" : MessageLookupByLibrary.simpleMessage("获得权益"),
"huodong" : MessageLookupByLibrary.simpleMessage("活动"),
"huodongjianmianpeisongfei" : m10,
"huodongjinxingzhong" : MessageLookupByLibrary.simpleMessage("活动进行中"),
@ -253,6 +270,7 @@ class MessageLookup extends MessageLookupByLibrary {
"input_phone_hide" : MessageLookupByLibrary.simpleMessage("请输入你的手机号"),
"jiajifen" : m11,
"jian" : MessageLookupByLibrary.simpleMessage(""),
"jiangli" : MessageLookupByLibrary.simpleMessage("奖励"),
"jianjie" : m12,
"jiazaishibai" : MessageLookupByLibrary.simpleMessage("加载失败"),
"jiesuan" : MessageLookupByLibrary.simpleMessage("结算"),
@ -267,8 +285,10 @@ class MessageLookup extends MessageLookupByLibrary {
"jifenshangcheng" : MessageLookupByLibrary.simpleMessage("积分商城"),
"jifenxiangqing" : MessageLookupByLibrary.simpleMessage("积分详情"),
"jingbilianmenghuiyuandian" : MessageLookupByLibrary.simpleMessage("净弼联盟会员店"),
"jinkahuiyuan" : MessageLookupByLibrary.simpleMessage("金卡会员"),
"jinrihuiyuanrenwu" : MessageLookupByLibrary.simpleMessage("今日会员任务"),
"jinrushangdian" : MessageLookupByLibrary.simpleMessage("进入商店"),
"jinxingbangdingfuka" : MessageLookupByLibrary.simpleMessage("进行绑定副卡"),
"jinxingzhongdedingdan" : MessageLookupByLibrary.simpleMessage("进行中的订单"),
"jituanchuangbanren" : MessageLookupByLibrary.simpleMessage("集团创办人"),
"jituanchuangshiren" : MessageLookupByLibrary.simpleMessage("集团创始人"),
@ -293,6 +313,7 @@ class MessageLookup extends MessageLookupByLibrary {
"lianxuqiandaolingqushuangbeijifen" : MessageLookupByLibrary.simpleMessage("连续签到领取双倍积分"),
"lijicanjia" : MessageLookupByLibrary.simpleMessage("立即参加"),
"lijichongzhi" : MessageLookupByLibrary.simpleMessage("立即充值"),
"lijikaitong" : MessageLookupByLibrary.simpleMessage("立即开通"),
"lijiqiandao" : MessageLookupByLibrary.simpleMessage("立即签到"),
"lijitiyan" : MessageLookupByLibrary.simpleMessage("立即体验"),
"lingqu" : MessageLookupByLibrary.simpleMessage("领取"),
@ -365,6 +386,7 @@ class MessageLookup extends MessageLookupByLibrary {
"qingshuruzhifumima" : MessageLookupByLibrary.simpleMessage("请输入支付密码"),
"qingtianxieshoujihao" : MessageLookupByLibrary.simpleMessage("请填写收件人手机号"),
"qingtianxiexingming" : MessageLookupByLibrary.simpleMessage("请填写收件人姓名"),
"qingtong" : MessageLookupByLibrary.simpleMessage("青铜"),
"qingtonghuiyuan" : MessageLookupByLibrary.simpleMessage("青铜会员"),
"qingxuanzeshiyongmendian" : MessageLookupByLibrary.simpleMessage("请选择使用门店"),
"qingxuanzeshouhuodizhi" : MessageLookupByLibrary.simpleMessage("请选择收货地址"),
@ -384,11 +406,15 @@ class MessageLookup extends MessageLookupByLibrary {
"quantian" : MessageLookupByLibrary.simpleMessage("全天"),
"quanxian" : MessageLookupByLibrary.simpleMessage("权限"),
"quanxianshezhi" : MessageLookupByLibrary.simpleMessage("权限设置"),
"quanyijishao" : MessageLookupByLibrary.simpleMessage("权益介绍"),
"quanyishuoming" : MessageLookupByLibrary.simpleMessage("权益说明"),
"quanyixiangqing" : MessageLookupByLibrary.simpleMessage("权益详情"),
"qucanhao" : MessageLookupByLibrary.simpleMessage("取餐号"),
"qudanhao" : m23,
"qudenglu" : MessageLookupByLibrary.simpleMessage("去登录"),
"queding" : MessageLookupByLibrary.simpleMessage("确定"),
"queren" : MessageLookupByLibrary.simpleMessage("确认"),
"querenbangding" : MessageLookupByLibrary.simpleMessage("确认绑定"),
"querenchongzhi" : MessageLookupByLibrary.simpleMessage("确认充值"),
"querenduihuan" : MessageLookupByLibrary.simpleMessage("确认兑换"),
"querenshouhuo" : MessageLookupByLibrary.simpleMessage("确认收货"),
@ -459,6 +485,7 @@ class MessageLookup extends MessageLookupByLibrary {
"shuruzhifumima" : MessageLookupByLibrary.simpleMessage("输入支付密码"),
"sui" : m28,
"tebieshengming" : MessageLookupByLibrary.simpleMessage("特别声明"),
"tianjifuka" : MessageLookupByLibrary.simpleMessage("添加新副卡"),
"tijiao" : MessageLookupByLibrary.simpleMessage("提交"),
"tingchewei" : MessageLookupByLibrary.simpleMessage("停车位"),
"tixian" : MessageLookupByLibrary.simpleMessage("提现"),
@ -493,6 +520,7 @@ class MessageLookup extends MessageLookupByLibrary {
"wenzhang" : MessageLookupByLibrary.simpleMessage("文章"),
"wenzhangxiangqing" : MessageLookupByLibrary.simpleMessage("文章详情"),
"weulingqu" : MessageLookupByLibrary.simpleMessage("未领取"),
"wodechengjiu" : MessageLookupByLibrary.simpleMessage("我的成就"),
"wodedongtai" : MessageLookupByLibrary.simpleMessage("我的动态"),
"wodegongju" : MessageLookupByLibrary.simpleMessage("我的工具"),
"wodehuiyuandengji" : MessageLookupByLibrary.simpleMessage("我的会员等级"),
@ -532,9 +560,11 @@ class MessageLookup extends MessageLookupByLibrary {
"xuanguige" : MessageLookupByLibrary.simpleMessage("选规格"),
"xuni" : MessageLookupByLibrary.simpleMessage("虚拟"),
"yaoqingrenshoujihao_" : m32,
"yibangfuka" : MessageLookupByLibrary.simpleMessage("已绑副卡"),
"yiduihuan" : MessageLookupByLibrary.simpleMessage("已兑换"),
"yiduihuanjian" : m33,
"yifahuo" : MessageLookupByLibrary.simpleMessage("已发货"),
"yihuide" : MessageLookupByLibrary.simpleMessage("已获得"),
"yihujiaoqishou" : MessageLookupByLibrary.simpleMessage("已呼叫骑手"),
"yikexiao" : MessageLookupByLibrary.simpleMessage("已核销"),
"yilingqu" : MessageLookupByLibrary.simpleMessage("已领取"),
@ -547,6 +577,7 @@ class MessageLookup extends MessageLookupByLibrary {
"yindaoye3" : MessageLookupByLibrary.simpleMessage("会员活动专区"),
"yindaoye4" : MessageLookupByLibrary.simpleMessage("过健康有机生活"),
"yingyeshijian" : m34,
"yinkahuiyuan" : MessageLookupByLibrary.simpleMessage("银卡会员"),
"yinshi" : MessageLookupByLibrary.simpleMessage("饮食"),
"yinsishengming" : MessageLookupByLibrary.simpleMessage("隐私声明"),
"yinsixieyi" : MessageLookupByLibrary.simpleMessage("《隐私协议》"),
@ -590,6 +621,7 @@ class MessageLookup extends MessageLookupByLibrary {
"zaituzhong" : MessageLookupByLibrary.simpleMessage("运输中"),
"zaixiankefu" : MessageLookupByLibrary.simpleMessage("在线客服"),
"zanbuzhichixianshangdiancan" : MessageLookupByLibrary.simpleMessage("暂不支持线上点餐"),
"zanweikaitong" : MessageLookupByLibrary.simpleMessage("暂未开通"),
"zanwupinglun" : MessageLookupByLibrary.simpleMessage("暂无评论,快来评论吧"),
"zanwuxianshangjindian" : MessageLookupByLibrary.simpleMessage("暂无线上门店"),
"zanwuyouhuiquankelingqu" : MessageLookupByLibrary.simpleMessage("暂无优惠券可领取"),

30
lib/generated/intl/messages_zh_CN.dart

@ -102,8 +102,10 @@ class MessageLookup extends MessageLookupByLibrary {
final messages = _notInlinedMessages(_notInlinedMessages);
static _notInlinedMessages(_) => <String, Function> {
"bainianchuanjiao" : MessageLookupByLibrary.simpleMessage("百年川椒"),
"baiyin" : MessageLookupByLibrary.simpleMessage("白银"),
"baiyinhuiyuan" : MessageLookupByLibrary.simpleMessage("白银会员"),
"banben" : m0,
"bangdingfuka" : MessageLookupByLibrary.simpleMessage("绑定副卡"),
"bangong" : MessageLookupByLibrary.simpleMessage("办公"),
"bangzhuyufankui" : MessageLookupByLibrary.simpleMessage("帮助与反馈"),
"baocun" : MessageLookupByLibrary.simpleMessage("保存"),
@ -114,10 +116,12 @@ class MessageLookup extends MessageLookupByLibrary {
"bianjidizhi" : MessageLookupByLibrary.simpleMessage("编辑地址"),
"biaojiweiyidu" : MessageLookupByLibrary.simpleMessage("标为已读"),
"bodadianhua" : MessageLookupByLibrary.simpleMessage("拨打电话"),
"bojin" : MessageLookupByLibrary.simpleMessage("铂金"),
"brand_yixinhuixiang" : MessageLookupByLibrary.simpleMessage("一心回乡"),
"buzhichikaipiao" : MessageLookupByLibrary.simpleMessage("不支持开票"),
"chakan" : MessageLookupByLibrary.simpleMessage("查看"),
"chakangengduo" : MessageLookupByLibrary.simpleMessage("查看更多"),
"chakanquanyi" : MessageLookupByLibrary.simpleMessage("查看权益"),
"chakanshixiaoquan" : MessageLookupByLibrary.simpleMessage("查看失效券"),
"chakanwodekabao" : MessageLookupByLibrary.simpleMessage("查看我的卡包"),
"chakanwodekaquan" : MessageLookupByLibrary.simpleMessage("查看我的卡券"),
@ -128,6 +132,8 @@ class MessageLookup extends MessageLookupByLibrary {
"chaojiyouhuiquan" : MessageLookupByLibrary.simpleMessage("超值优惠券"),
"chaungshirengushi" : MessageLookupByLibrary.simpleMessage("创始人故事"),
"chenggongdengluzhuce" : MessageLookupByLibrary.simpleMessage("成功登录注册,并绑定相关信息即可成为会员。"),
"chengjiu" : MessageLookupByLibrary.simpleMessage("成就"),
"chengjiuhuizhang" : MessageLookupByLibrary.simpleMessage("成就徽章"),
"chengshixuanze" : MessageLookupByLibrary.simpleMessage("城市选择"),
"chengweidianpuzhuanshuhuiyuan" : MessageLookupByLibrary.simpleMessage("成为店铺专属会员,享专属权益"),
"chongzhi" : MessageLookupByLibrary.simpleMessage("充值"),
@ -136,6 +142,7 @@ class MessageLookup extends MessageLookupByLibrary {
"chuangjianshijian" : m2,
"chuangshirendegushi" : MessageLookupByLibrary.simpleMessage("创始人的故事-"),
"chuangshirendegushi1" : MessageLookupByLibrary.simpleMessage("创始人的故事"),
"chuzhiyouhui" : MessageLookupByLibrary.simpleMessage("储值优惠"),
"code_error" : MessageLookupByLibrary.simpleMessage("验证码输入错误"),
"cunchu" : MessageLookupByLibrary.simpleMessage("存储"),
"cunchutishixinxi" : MessageLookupByLibrary.simpleMessage("为了获得照片使用、缓存等功能,推荐您在使用期间打开存储权限"),
@ -204,6 +211,7 @@ class MessageLookup extends MessageLookupByLibrary {
"fenxiangdao" : MessageLookupByLibrary.simpleMessage("分享到"),
"fenxiangyaoqing" : MessageLookupByLibrary.simpleMessage("也可以直接点击右上方的分享给到你想要邀请的人。"),
"fenxiangzhiweixin" : MessageLookupByLibrary.simpleMessage("分享至微信"),
"fukashoujihao" : MessageLookupByLibrary.simpleMessage("副卡手机号"),
"ge" : m5,
"geiwopingfen" : MessageLookupByLibrary.simpleMessage("给我评分"),
"gengduo" : MessageLookupByLibrary.simpleMessage("更多"),
@ -211,9 +219,11 @@ class MessageLookup extends MessageLookupByLibrary {
"genghuantouxiang" : MessageLookupByLibrary.simpleMessage("更换头像"),
"gerenxinxi" : MessageLookupByLibrary.simpleMessage("个人信息"),
"gong" : MessageLookupByLibrary.simpleMessage(""),
"gongchuanghuiyuan" : MessageLookupByLibrary.simpleMessage("共创会员"),
"gongjijian" : m6,
"gongjijianshangpin" : m7,
"gongli" : m8,
"gongxinchengwei" : MessageLookupByLibrary.simpleMessage("恭喜您成为"),
"gongxinichengweibendianhuiyuan" : MessageLookupByLibrary.simpleMessage("恭喜您,成为本店的会员,快去享受超多会员权益吧。"),
"gouxuanxieyi" : MessageLookupByLibrary.simpleMessage("请勾选同意隐私服务和一心回乡服务协议"),
"guanlidizhi" : MessageLookupByLibrary.simpleMessage("管理地址"),
@ -227,6 +237,7 @@ class MessageLookup extends MessageLookupByLibrary {
"heji" : MessageLookupByLibrary.simpleMessage("合计:"),
"hexiaochenggong" : MessageLookupByLibrary.simpleMessage("核销成功"),
"hexiaomaxiangqing" : MessageLookupByLibrary.simpleMessage("核销码详情"),
"huangjin" : MessageLookupByLibrary.simpleMessage("黄金"),
"huangjinhuiyuan" : MessageLookupByLibrary.simpleMessage("黄金会员"),
"huifu" : MessageLookupByLibrary.simpleMessage("回复"),
"huifu_" : m9,
@ -234,12 +245,17 @@ class MessageLookup extends MessageLookupByLibrary {
"huixiangtoutiao" : MessageLookupByLibrary.simpleMessage("回乡头条"),
"huiyuandengji" : MessageLookupByLibrary.simpleMessage("会员等级"),
"huiyuandengjishuoming" : MessageLookupByLibrary.simpleMessage("会员等级说明"),
"huiyuanguize" : MessageLookupByLibrary.simpleMessage("会员规则说明"),
"huiyuanhuodejifen" : MessageLookupByLibrary.simpleMessage("会员如何获得积分"),
"huiyuanjia" : MessageLookupByLibrary.simpleMessage("会员价"),
"huiyuanjibieduizhao" : MessageLookupByLibrary.simpleMessage("会员级别对照表"),
"huiyuanjifen" : MessageLookupByLibrary.simpleMessage("会员积分"),
"huiyuanka" : MessageLookupByLibrary.simpleMessage("会员卡"),
"huiyuankaxiangqing" : MessageLookupByLibrary.simpleMessage("会员卡详情"),
"huiyuanyue" : MessageLookupByLibrary.simpleMessage("会员余额"),
"huiyuanzhongxin" : MessageLookupByLibrary.simpleMessage("会员中心"),
"huode" : MessageLookupByLibrary.simpleMessage("获得"),
"huodequanyi" : MessageLookupByLibrary.simpleMessage("获得权益"),
"huodong" : MessageLookupByLibrary.simpleMessage("活动"),
"huodongjianmianpeisongfei" : m10,
"huodongjinxingzhong" : MessageLookupByLibrary.simpleMessage("活动进行中"),
@ -252,6 +268,7 @@ class MessageLookup extends MessageLookupByLibrary {
"input_phone_hide" : MessageLookupByLibrary.simpleMessage("请输入你的手机号"),
"jiajifen" : m11,
"jian" : MessageLookupByLibrary.simpleMessage(""),
"jiangli" : MessageLookupByLibrary.simpleMessage("奖励"),
"jianjie" : m12,
"jiazaishibai" : MessageLookupByLibrary.simpleMessage("加载失败"),
"jiesuan" : MessageLookupByLibrary.simpleMessage("结算"),
@ -266,8 +283,10 @@ class MessageLookup extends MessageLookupByLibrary {
"jifenshangcheng" : MessageLookupByLibrary.simpleMessage("积分商城"),
"jifenxiangqing" : MessageLookupByLibrary.simpleMessage("积分详情"),
"jingbilianmenghuiyuandian" : MessageLookupByLibrary.simpleMessage("净弼联盟会员店"),
"jinkahuiyuan" : MessageLookupByLibrary.simpleMessage("金卡会员"),
"jinrihuiyuanrenwu" : MessageLookupByLibrary.simpleMessage("今日会员任务"),
"jinrushangdian" : MessageLookupByLibrary.simpleMessage("进入商店"),
"jinxingbangdingfuka" : MessageLookupByLibrary.simpleMessage("进行绑定副卡"),
"jinxingzhongdedingdan" : MessageLookupByLibrary.simpleMessage("进行中的订单"),
"jituanchuangbanren" : MessageLookupByLibrary.simpleMessage(" 集团创办人"),
"jituanchuangshiren" : MessageLookupByLibrary.simpleMessage("集团创始人"),
@ -292,6 +311,7 @@ class MessageLookup extends MessageLookupByLibrary {
"lianxuqiandaolingqushuangbeijifen" : MessageLookupByLibrary.simpleMessage("连续签到领取双倍积分"),
"lijicanjia" : MessageLookupByLibrary.simpleMessage("立即参加"),
"lijichongzhi" : MessageLookupByLibrary.simpleMessage("立即充值"),
"lijikaitong" : MessageLookupByLibrary.simpleMessage("立即开通"),
"lijiqiandao" : MessageLookupByLibrary.simpleMessage("立即签到"),
"lijitiyan" : MessageLookupByLibrary.simpleMessage("立即体验"),
"lingqu" : MessageLookupByLibrary.simpleMessage("领取"),
@ -364,6 +384,7 @@ class MessageLookup extends MessageLookupByLibrary {
"qingshuruzhifumima" : MessageLookupByLibrary.simpleMessage("请输入支付密码"),
"qingtianxieshoujihao" : MessageLookupByLibrary.simpleMessage("请填写收件人手机号"),
"qingtianxiexingming" : MessageLookupByLibrary.simpleMessage("请填写收件人姓名"),
"qingtong" : MessageLookupByLibrary.simpleMessage("青铜"),
"qingtonghuiyuan" : MessageLookupByLibrary.simpleMessage("青铜会员"),
"qingxuanzeshiyongmendian" : MessageLookupByLibrary.simpleMessage("请选择使用门店"),
"qingxuanzeshouhuodizhi" : MessageLookupByLibrary.simpleMessage("请选择收货地址"),
@ -383,11 +404,15 @@ class MessageLookup extends MessageLookupByLibrary {
"quantian" : MessageLookupByLibrary.simpleMessage("全天"),
"quanxian" : MessageLookupByLibrary.simpleMessage("权限"),
"quanxianshezhi" : MessageLookupByLibrary.simpleMessage("权限设置"),
"quanyijishao" : MessageLookupByLibrary.simpleMessage("权益介绍"),
"quanyishuoming" : MessageLookupByLibrary.simpleMessage("权益说明"),
"quanyixiangqing" : MessageLookupByLibrary.simpleMessage("权益详情"),
"qucanhao" : MessageLookupByLibrary.simpleMessage("取餐号"),
"qudanhao" : m23,
"qudenglu" : MessageLookupByLibrary.simpleMessage("去登录"),
"queding" : MessageLookupByLibrary.simpleMessage("确定"),
"queren" : MessageLookupByLibrary.simpleMessage("确认"),
"querenbangding" : MessageLookupByLibrary.simpleMessage("确认绑定"),
"querenchongzhi" : MessageLookupByLibrary.simpleMessage("确认充值"),
"querenduihuan" : MessageLookupByLibrary.simpleMessage("确认兑换"),
"querenshouhuo" : MessageLookupByLibrary.simpleMessage("确认收货"),
@ -458,6 +483,7 @@ class MessageLookup extends MessageLookupByLibrary {
"shuruzhifumima" : MessageLookupByLibrary.simpleMessage("输入支付密码"),
"sui" : m28,
"tebieshengming" : MessageLookupByLibrary.simpleMessage("特别声明"),
"tianjifuka" : MessageLookupByLibrary.simpleMessage("添加新副卡"),
"tijiao" : MessageLookupByLibrary.simpleMessage("提交"),
"tingchewei" : MessageLookupByLibrary.simpleMessage("停车位"),
"tixian" : MessageLookupByLibrary.simpleMessage("提现"),
@ -492,6 +518,7 @@ class MessageLookup extends MessageLookupByLibrary {
"wenzhang" : MessageLookupByLibrary.simpleMessage("文章"),
"wenzhangxiangqing" : MessageLookupByLibrary.simpleMessage("文章详情"),
"weulingqu" : MessageLookupByLibrary.simpleMessage("未领取"),
"wodechengjiu" : MessageLookupByLibrary.simpleMessage("我的成就"),
"wodedongtai" : MessageLookupByLibrary.simpleMessage("我的动态"),
"wodegongju" : MessageLookupByLibrary.simpleMessage("我的工具"),
"wodehuiyuandengji" : MessageLookupByLibrary.simpleMessage("我的会员等级"),
@ -531,9 +558,11 @@ class MessageLookup extends MessageLookupByLibrary {
"xuanguige" : MessageLookupByLibrary.simpleMessage("选规格"),
"xuni" : MessageLookupByLibrary.simpleMessage("虚拟"),
"yaoqingrenshoujihao_" : m32,
"yibangfuka" : MessageLookupByLibrary.simpleMessage("已绑副卡"),
"yiduihuan" : MessageLookupByLibrary.simpleMessage("已兑换"),
"yiduihuanjian" : m33,
"yifahuo" : MessageLookupByLibrary.simpleMessage("已发货"),
"yihuide" : MessageLookupByLibrary.simpleMessage("已获得"),
"yihujiaoqishou" : MessageLookupByLibrary.simpleMessage("已呼叫骑手"),
"yikexiao" : MessageLookupByLibrary.simpleMessage("已核销"),
"yilingqu" : MessageLookupByLibrary.simpleMessage("已领取"),
@ -546,6 +575,7 @@ class MessageLookup extends MessageLookupByLibrary {
"yindaoye3" : MessageLookupByLibrary.simpleMessage("会员活动专区"),
"yindaoye4" : MessageLookupByLibrary.simpleMessage("过健康有机生活"),
"yingyeshijian" : m34,
"yinkahuiyuan" : MessageLookupByLibrary.simpleMessage("银卡会员"),
"yinshi" : MessageLookupByLibrary.simpleMessage("饮食"),
"yinsishengming" : MessageLookupByLibrary.simpleMessage("隐私声明"),
"yinsixieyi" : MessageLookupByLibrary.simpleMessage("《隐私协议》"),

30
lib/generated/intl/messages_zh_Hans_CN.dart

@ -102,8 +102,10 @@ class MessageLookup extends MessageLookupByLibrary {
final messages = _notInlinedMessages(_notInlinedMessages);
static _notInlinedMessages(_) => <String, Function> {
"bainianchuanjiao" : MessageLookupByLibrary.simpleMessage("百年川椒"),
"baiyin" : MessageLookupByLibrary.simpleMessage("白银"),
"baiyinhuiyuan" : MessageLookupByLibrary.simpleMessage("白银会员"),
"banben" : m0,
"bangdingfuka" : MessageLookupByLibrary.simpleMessage("绑定副卡"),
"bangong" : MessageLookupByLibrary.simpleMessage("办公"),
"bangzhuyufankui" : MessageLookupByLibrary.simpleMessage("帮助与反馈"),
"baocun" : MessageLookupByLibrary.simpleMessage("保存"),
@ -114,10 +116,12 @@ class MessageLookup extends MessageLookupByLibrary {
"bianjidizhi" : MessageLookupByLibrary.simpleMessage("编辑地址"),
"biaojiweiyidu" : MessageLookupByLibrary.simpleMessage("标为已读"),
"bodadianhua" : MessageLookupByLibrary.simpleMessage("拨打电话"),
"bojin" : MessageLookupByLibrary.simpleMessage("铂金"),
"brand_yixinhuixiang" : MessageLookupByLibrary.simpleMessage("一心回乡"),
"buzhichikaipiao" : MessageLookupByLibrary.simpleMessage("不支持开票"),
"chakan" : MessageLookupByLibrary.simpleMessage("查看"),
"chakangengduo" : MessageLookupByLibrary.simpleMessage("查看更多"),
"chakanquanyi" : MessageLookupByLibrary.simpleMessage("查看权益"),
"chakanshixiaoquan" : MessageLookupByLibrary.simpleMessage("查看失效券"),
"chakanwodekabao" : MessageLookupByLibrary.simpleMessage("查看我的卡包"),
"chakanwodekaquan" : MessageLookupByLibrary.simpleMessage("查看我的卡券"),
@ -128,6 +132,8 @@ class MessageLookup extends MessageLookupByLibrary {
"chaojiyouhuiquan" : MessageLookupByLibrary.simpleMessage("超值优惠券"),
"chaungshirengushi" : MessageLookupByLibrary.simpleMessage("创始人故事"),
"chenggongdengluzhuce" : MessageLookupByLibrary.simpleMessage("成功登录注册,并绑定相关信息即可成为会员。"),
"chengjiu" : MessageLookupByLibrary.simpleMessage("成就"),
"chengjiuhuizhang" : MessageLookupByLibrary.simpleMessage("成就徽章"),
"chengshixuanze" : MessageLookupByLibrary.simpleMessage("城市选择"),
"chengweidianpuzhuanshuhuiyuan" : MessageLookupByLibrary.simpleMessage("成为店铺专属会员,享专属权益"),
"chongzhi" : MessageLookupByLibrary.simpleMessage("充值"),
@ -136,6 +142,7 @@ class MessageLookup extends MessageLookupByLibrary {
"chuangjianshijian" : m2,
"chuangshirendegushi" : MessageLookupByLibrary.simpleMessage("创始人的故事-"),
"chuangshirendegushi1" : MessageLookupByLibrary.simpleMessage("创始人的故事"),
"chuzhiyouhui" : MessageLookupByLibrary.simpleMessage("储值优惠"),
"code_error" : MessageLookupByLibrary.simpleMessage("验证码输入错误"),
"cunchu" : MessageLookupByLibrary.simpleMessage("存储"),
"cunchutishixinxi" : MessageLookupByLibrary.simpleMessage("为了获得照片使用、缓存等功能,推荐您在使用期间打开存储权限"),
@ -204,6 +211,7 @@ class MessageLookup extends MessageLookupByLibrary {
"fenxiangdao" : MessageLookupByLibrary.simpleMessage("分享到"),
"fenxiangyaoqing" : MessageLookupByLibrary.simpleMessage("也可以直接点击右上方的分享给到你想要邀请的人。"),
"fenxiangzhiweixin" : MessageLookupByLibrary.simpleMessage("分享至微信"),
"fukashoujihao" : MessageLookupByLibrary.simpleMessage("副卡手机号"),
"ge" : m5,
"geiwopingfen" : MessageLookupByLibrary.simpleMessage("给我评分"),
"gengduo" : MessageLookupByLibrary.simpleMessage("更多"),
@ -211,9 +219,11 @@ class MessageLookup extends MessageLookupByLibrary {
"genghuantouxiang" : MessageLookupByLibrary.simpleMessage("更换头像"),
"gerenxinxi" : MessageLookupByLibrary.simpleMessage("个人信息"),
"gong" : MessageLookupByLibrary.simpleMessage(""),
"gongchuanghuiyuan" : MessageLookupByLibrary.simpleMessage("共创会员"),
"gongjijian" : m6,
"gongjijianshangpin" : m7,
"gongli" : m8,
"gongxinchengwei" : MessageLookupByLibrary.simpleMessage("恭喜您成为"),
"gongxinichengweibendianhuiyuan" : MessageLookupByLibrary.simpleMessage("恭喜您,成为本店的会员,快去享受超多会员权益吧。"),
"gouxuanxieyi" : MessageLookupByLibrary.simpleMessage("请勾选同意隐私服务和一心回乡服务协议"),
"guanlidizhi" : MessageLookupByLibrary.simpleMessage("管理地址"),
@ -227,6 +237,7 @@ class MessageLookup extends MessageLookupByLibrary {
"heji" : MessageLookupByLibrary.simpleMessage("合计:"),
"hexiaochenggong" : MessageLookupByLibrary.simpleMessage("核销成功"),
"hexiaomaxiangqing" : MessageLookupByLibrary.simpleMessage("核销码详情"),
"huangjin" : MessageLookupByLibrary.simpleMessage("黄金"),
"huangjinhuiyuan" : MessageLookupByLibrary.simpleMessage("黄金会员"),
"huifu" : MessageLookupByLibrary.simpleMessage("回复"),
"huifu_" : m9,
@ -234,12 +245,17 @@ class MessageLookup extends MessageLookupByLibrary {
"huixiangtoutiao" : MessageLookupByLibrary.simpleMessage("回乡头条"),
"huiyuandengji" : MessageLookupByLibrary.simpleMessage("会员等级"),
"huiyuandengjishuoming" : MessageLookupByLibrary.simpleMessage("会员等级说明"),
"huiyuanguize" : MessageLookupByLibrary.simpleMessage("会员规则说明"),
"huiyuanhuodejifen" : MessageLookupByLibrary.simpleMessage("会员如何获得积分"),
"huiyuanjia" : MessageLookupByLibrary.simpleMessage("会员价"),
"huiyuanjibieduizhao" : MessageLookupByLibrary.simpleMessage("会员级别对照表"),
"huiyuanjifen" : MessageLookupByLibrary.simpleMessage("会员积分"),
"huiyuanka" : MessageLookupByLibrary.simpleMessage("会员卡"),
"huiyuankaxiangqing" : MessageLookupByLibrary.simpleMessage("会员卡详情"),
"huiyuanyue" : MessageLookupByLibrary.simpleMessage("会员余额"),
"huiyuanzhongxin" : MessageLookupByLibrary.simpleMessage("会员中心"),
"huode" : MessageLookupByLibrary.simpleMessage("获得"),
"huodequanyi" : MessageLookupByLibrary.simpleMessage("获得权益"),
"huodong" : MessageLookupByLibrary.simpleMessage("活动"),
"huodongjianmianpeisongfei" : m10,
"huodongjinxingzhong" : MessageLookupByLibrary.simpleMessage("活动进行中"),
@ -252,6 +268,7 @@ class MessageLookup extends MessageLookupByLibrary {
"input_phone_hide" : MessageLookupByLibrary.simpleMessage("请输入你的手机号"),
"jiajifen" : m11,
"jian" : MessageLookupByLibrary.simpleMessage(""),
"jiangli" : MessageLookupByLibrary.simpleMessage("奖励"),
"jianjie" : m12,
"jiazaishibai" : MessageLookupByLibrary.simpleMessage("加载失败"),
"jiesuan" : MessageLookupByLibrary.simpleMessage("结算"),
@ -266,8 +283,10 @@ class MessageLookup extends MessageLookupByLibrary {
"jifenshangcheng" : MessageLookupByLibrary.simpleMessage("积分商城"),
"jifenxiangqing" : MessageLookupByLibrary.simpleMessage("积分详情"),
"jingbilianmenghuiyuandian" : MessageLookupByLibrary.simpleMessage("净弼联盟会员店"),
"jinkahuiyuan" : MessageLookupByLibrary.simpleMessage("金卡会员"),
"jinrihuiyuanrenwu" : MessageLookupByLibrary.simpleMessage("今日会员任务"),
"jinrushangdian" : MessageLookupByLibrary.simpleMessage("进入商店"),
"jinxingbangdingfuka" : MessageLookupByLibrary.simpleMessage("进行绑定副卡"),
"jinxingzhongdedingdan" : MessageLookupByLibrary.simpleMessage("进行中的订单"),
"jituanchuangbanren" : MessageLookupByLibrary.simpleMessage(" 集团创办人"),
"jituanchuangshiren" : MessageLookupByLibrary.simpleMessage("集团创始人"),
@ -292,6 +311,7 @@ class MessageLookup extends MessageLookupByLibrary {
"lianxuqiandaolingqushuangbeijifen" : MessageLookupByLibrary.simpleMessage("连续签到领取双倍积分"),
"lijicanjia" : MessageLookupByLibrary.simpleMessage("立即参加"),
"lijichongzhi" : MessageLookupByLibrary.simpleMessage("立即充值"),
"lijikaitong" : MessageLookupByLibrary.simpleMessage("立即开通"),
"lijiqiandao" : MessageLookupByLibrary.simpleMessage("立即签到"),
"lijitiyan" : MessageLookupByLibrary.simpleMessage("立即体验"),
"lingqu" : MessageLookupByLibrary.simpleMessage("领取"),
@ -364,6 +384,7 @@ class MessageLookup extends MessageLookupByLibrary {
"qingshuruzhifumima" : MessageLookupByLibrary.simpleMessage("请输入支付密码"),
"qingtianxieshoujihao" : MessageLookupByLibrary.simpleMessage("请填写收件人手机号"),
"qingtianxiexingming" : MessageLookupByLibrary.simpleMessage("请填写收件人姓名"),
"qingtong" : MessageLookupByLibrary.simpleMessage("青铜"),
"qingtonghuiyuan" : MessageLookupByLibrary.simpleMessage("青铜会员"),
"qingxuanzeshiyongmendian" : MessageLookupByLibrary.simpleMessage("请选择使用门店"),
"qingxuanzeshouhuodizhi" : MessageLookupByLibrary.simpleMessage("请选择收货地址"),
@ -383,11 +404,15 @@ class MessageLookup extends MessageLookupByLibrary {
"quantian" : MessageLookupByLibrary.simpleMessage("全天"),
"quanxian" : MessageLookupByLibrary.simpleMessage("权限"),
"quanxianshezhi" : MessageLookupByLibrary.simpleMessage("权限设置"),
"quanyijishao" : MessageLookupByLibrary.simpleMessage("权益介绍"),
"quanyishuoming" : MessageLookupByLibrary.simpleMessage("权益说明"),
"quanyixiangqing" : MessageLookupByLibrary.simpleMessage("权益详情"),
"qucanhao" : MessageLookupByLibrary.simpleMessage("取餐号"),
"qudanhao" : m23,
"qudenglu" : MessageLookupByLibrary.simpleMessage("去登录"),
"queding" : MessageLookupByLibrary.simpleMessage("确定"),
"queren" : MessageLookupByLibrary.simpleMessage("确认"),
"querenbangding" : MessageLookupByLibrary.simpleMessage("确认绑定"),
"querenchongzhi" : MessageLookupByLibrary.simpleMessage("确认充值"),
"querenduihuan" : MessageLookupByLibrary.simpleMessage("确认兑换"),
"querenshouhuo" : MessageLookupByLibrary.simpleMessage("确认收货"),
@ -458,6 +483,7 @@ class MessageLookup extends MessageLookupByLibrary {
"shuruzhifumima" : MessageLookupByLibrary.simpleMessage("输入支付密码"),
"sui" : m28,
"tebieshengming" : MessageLookupByLibrary.simpleMessage("特别声明"),
"tianjifuka" : MessageLookupByLibrary.simpleMessage("添加新副卡"),
"tijiao" : MessageLookupByLibrary.simpleMessage("提交"),
"tingchewei" : MessageLookupByLibrary.simpleMessage("停车位"),
"tixian" : MessageLookupByLibrary.simpleMessage("提现"),
@ -492,6 +518,7 @@ class MessageLookup extends MessageLookupByLibrary {
"wenzhang" : MessageLookupByLibrary.simpleMessage("文章"),
"wenzhangxiangqing" : MessageLookupByLibrary.simpleMessage("文章详情"),
"weulingqu" : MessageLookupByLibrary.simpleMessage("未领取"),
"wodechengjiu" : MessageLookupByLibrary.simpleMessage("我的成就"),
"wodedongtai" : MessageLookupByLibrary.simpleMessage("我的动态"),
"wodegongju" : MessageLookupByLibrary.simpleMessage("我的工具"),
"wodehuiyuandengji" : MessageLookupByLibrary.simpleMessage("我的会员等级"),
@ -531,9 +558,11 @@ class MessageLookup extends MessageLookupByLibrary {
"xuanguige" : MessageLookupByLibrary.simpleMessage("选规格"),
"xuni" : MessageLookupByLibrary.simpleMessage("虚拟"),
"yaoqingrenshoujihao_" : m32,
"yibangfuka" : MessageLookupByLibrary.simpleMessage("已绑副卡"),
"yiduihuan" : MessageLookupByLibrary.simpleMessage("已兑换"),
"yiduihuanjian" : m33,
"yifahuo" : MessageLookupByLibrary.simpleMessage("已发货"),
"yihuide" : MessageLookupByLibrary.simpleMessage("已获得"),
"yihujiaoqishou" : MessageLookupByLibrary.simpleMessage("已呼叫骑手"),
"yikexiao" : MessageLookupByLibrary.simpleMessage("已核销"),
"yilingqu" : MessageLookupByLibrary.simpleMessage("已领取"),
@ -546,6 +575,7 @@ class MessageLookup extends MessageLookupByLibrary {
"yindaoye3" : MessageLookupByLibrary.simpleMessage("会员活动专区"),
"yindaoye4" : MessageLookupByLibrary.simpleMessage("过健康有机生活"),
"yingyeshijian" : m34,
"yinkahuiyuan" : MessageLookupByLibrary.simpleMessage("银卡会员"),
"yinshi" : MessageLookupByLibrary.simpleMessage("饮食"),
"yinsishengming" : MessageLookupByLibrary.simpleMessage("隐私声明"),
"yinsixieyi" : MessageLookupByLibrary.simpleMessage("《隐私协议》"),

30
lib/generated/intl/messages_zh_Hant_CN.dart

@ -102,8 +102,10 @@ class MessageLookup extends MessageLookupByLibrary {
final messages = _notInlinedMessages(_notInlinedMessages);
static _notInlinedMessages(_) => <String, Function> {
"bainianchuanjiao" : MessageLookupByLibrary.simpleMessage("百年川椒"),
"baiyin" : MessageLookupByLibrary.simpleMessage("白银"),
"baiyinhuiyuan" : MessageLookupByLibrary.simpleMessage("白銀會員"),
"banben" : m0,
"bangdingfuka" : MessageLookupByLibrary.simpleMessage("綁定副卡"),
"bangong" : MessageLookupByLibrary.simpleMessage("辦公"),
"bangzhuyufankui" : MessageLookupByLibrary.simpleMessage("幫助與反饋"),
"baocun" : MessageLookupByLibrary.simpleMessage("保存"),
@ -114,10 +116,12 @@ class MessageLookup extends MessageLookupByLibrary {
"bianjidizhi" : MessageLookupByLibrary.simpleMessage("編輯地址"),
"biaojiweiyidu" : MessageLookupByLibrary.simpleMessage("標為已讀"),
"bodadianhua" : MessageLookupByLibrary.simpleMessage("撥打電話"),
"bojin" : MessageLookupByLibrary.simpleMessage("铂金"),
"brand_yixinhuixiang" : MessageLookupByLibrary.simpleMessage("一心回鄉"),
"buzhichikaipiao" : MessageLookupByLibrary.simpleMessage("不支持開票"),
"chakan" : MessageLookupByLibrary.simpleMessage("查看"),
"chakangengduo" : MessageLookupByLibrary.simpleMessage("查看更多"),
"chakanquanyi" : MessageLookupByLibrary.simpleMessage("查看權益"),
"chakanshixiaoquan" : MessageLookupByLibrary.simpleMessage("查看失效券"),
"chakanwodekabao" : MessageLookupByLibrary.simpleMessage("查看我的卡包"),
"chakanwodekaquan" : MessageLookupByLibrary.simpleMessage("查看我的卡券"),
@ -128,6 +132,8 @@ class MessageLookup extends MessageLookupByLibrary {
"chaojiyouhuiquan" : MessageLookupByLibrary.simpleMessage("超值优惠券"),
"chaungshirengushi" : MessageLookupByLibrary.simpleMessage("創始人故事"),
"chenggongdengluzhuce" : MessageLookupByLibrary.simpleMessage("成功登录注册,并绑定相关信息即可成为会员。"),
"chengjiu" : MessageLookupByLibrary.simpleMessage("成就"),
"chengjiuhuizhang" : MessageLookupByLibrary.simpleMessage("成就徽章"),
"chengshixuanze" : MessageLookupByLibrary.simpleMessage("城市選擇"),
"chengweidianpuzhuanshuhuiyuan" : MessageLookupByLibrary.simpleMessage("成為專屬會員,享專屬權益"),
"chongzhi" : MessageLookupByLibrary.simpleMessage("充值"),
@ -136,6 +142,7 @@ class MessageLookup extends MessageLookupByLibrary {
"chuangjianshijian" : m2,
"chuangshirendegushi" : MessageLookupByLibrary.simpleMessage("創始人的故事-"),
"chuangshirendegushi1" : MessageLookupByLibrary.simpleMessage("創始人的故事"),
"chuzhiyouhui" : MessageLookupByLibrary.simpleMessage("儲值優惠"),
"code_error" : MessageLookupByLibrary.simpleMessage("驗證碼輸入錯誤"),
"cunchu" : MessageLookupByLibrary.simpleMessage("存儲"),
"cunchutishixinxi" : MessageLookupByLibrary.simpleMessage("為了獲得照片使用、緩存等功能,推薦您使用期間打開存儲權限"),
@ -204,6 +211,7 @@ class MessageLookup extends MessageLookupByLibrary {
"fenxiangdao" : MessageLookupByLibrary.simpleMessage("分享到"),
"fenxiangyaoqing" : MessageLookupByLibrary.simpleMessage("也可以直接點擊右上方的分享給到你想要邀請的人。"),
"fenxiangzhiweixin" : MessageLookupByLibrary.simpleMessage("分享至微信"),
"fukashoujihao" : MessageLookupByLibrary.simpleMessage("副卡手機號"),
"ge" : m5,
"geiwopingfen" : MessageLookupByLibrary.simpleMessage("給我評分"),
"gengduo" : MessageLookupByLibrary.simpleMessage("更多"),
@ -211,9 +219,11 @@ class MessageLookup extends MessageLookupByLibrary {
"genghuantouxiang" : MessageLookupByLibrary.simpleMessage("更换头像"),
"gerenxinxi" : MessageLookupByLibrary.simpleMessage("個人信息"),
"gong" : MessageLookupByLibrary.simpleMessage(""),
"gongchuanghuiyuan" : MessageLookupByLibrary.simpleMessage("共创会员"),
"gongjijian" : m6,
"gongjijianshangpin" : m7,
"gongli" : m8,
"gongxinchengwei" : MessageLookupByLibrary.simpleMessage("恭喜您成爲"),
"gongxinichengweibendianhuiyuan" : MessageLookupByLibrary.simpleMessage("恭喜您,成為本店會員,快去享受超多的會員權益吧。"),
"gouxuanxieyi" : MessageLookupByLibrary.simpleMessage("請勾選同意隱私服務和一心回鄉服務協定"),
"guanlidizhi" : MessageLookupByLibrary.simpleMessage("管理地址"),
@ -227,6 +237,7 @@ class MessageLookup extends MessageLookupByLibrary {
"heji" : MessageLookupByLibrary.simpleMessage("合計:"),
"hexiaochenggong" : MessageLookupByLibrary.simpleMessage("核銷成功"),
"hexiaomaxiangqing" : MessageLookupByLibrary.simpleMessage("核銷碼詳情"),
"huangjin" : MessageLookupByLibrary.simpleMessage("黄金"),
"huangjinhuiyuan" : MessageLookupByLibrary.simpleMessage("黃金會員"),
"huifu" : MessageLookupByLibrary.simpleMessage("回復"),
"huifu_" : m9,
@ -234,12 +245,17 @@ class MessageLookup extends MessageLookupByLibrary {
"huixiangtoutiao" : MessageLookupByLibrary.simpleMessage("回鄉頭條"),
"huiyuandengji" : MessageLookupByLibrary.simpleMessage("會員等級"),
"huiyuandengjishuoming" : MessageLookupByLibrary.simpleMessage("會員等級説明"),
"huiyuanguize" : MessageLookupByLibrary.simpleMessage("會員規則説明"),
"huiyuanhuodejifen" : MessageLookupByLibrary.simpleMessage("會員如何獲得積分"),
"huiyuanjia" : MessageLookupByLibrary.simpleMessage("會員價"),
"huiyuanjibieduizhao" : MessageLookupByLibrary.simpleMessage("會員級別對照表"),
"huiyuanjifen" : MessageLookupByLibrary.simpleMessage("會員積分"),
"huiyuanka" : MessageLookupByLibrary.simpleMessage("會員卡"),
"huiyuankaxiangqing" : MessageLookupByLibrary.simpleMessage("會員卡詳情"),
"huiyuanyue" : MessageLookupByLibrary.simpleMessage("會員餘額"),
"huiyuanzhongxin" : MessageLookupByLibrary.simpleMessage("會員中心"),
"huode" : MessageLookupByLibrary.simpleMessage("獲得"),
"huodequanyi" : MessageLookupByLibrary.simpleMessage("獲得權益"),
"huodong" : MessageLookupByLibrary.simpleMessage("活動"),
"huodongjianmianpeisongfei" : m10,
"huodongjinxingzhong" : MessageLookupByLibrary.simpleMessage("活動進行中"),
@ -252,6 +268,7 @@ class MessageLookup extends MessageLookupByLibrary {
"input_phone_hide" : MessageLookupByLibrary.simpleMessage("請輸入你的手機號"),
"jiajifen" : m11,
"jian" : MessageLookupByLibrary.simpleMessage(""),
"jiangli" : MessageLookupByLibrary.simpleMessage("獎勵"),
"jianjie" : m12,
"jiazaishibai" : MessageLookupByLibrary.simpleMessage("加載失敗"),
"jiesuan" : MessageLookupByLibrary.simpleMessage("結算"),
@ -266,8 +283,10 @@ class MessageLookup extends MessageLookupByLibrary {
"jifenshangcheng" : MessageLookupByLibrary.simpleMessage("積分商城"),
"jifenxiangqing" : MessageLookupByLibrary.simpleMessage("積分詳情"),
"jingbilianmenghuiyuandian" : MessageLookupByLibrary.simpleMessage("淨弼聯盟會員店"),
"jinkahuiyuan" : MessageLookupByLibrary.simpleMessage("金卡会员"),
"jinrihuiyuanrenwu" : MessageLookupByLibrary.simpleMessage("今日會員任務"),
"jinrushangdian" : MessageLookupByLibrary.simpleMessage("進入商店"),
"jinxingbangdingfuka" : MessageLookupByLibrary.simpleMessage("進行綁定副卡"),
"jinxingzhongdedingdan" : MessageLookupByLibrary.simpleMessage("進行中的訂單"),
"jituanchuangbanren" : MessageLookupByLibrary.simpleMessage("集团创办人"),
"jituanchuangshiren" : MessageLookupByLibrary.simpleMessage("集團創始人"),
@ -292,6 +311,7 @@ class MessageLookup extends MessageLookupByLibrary {
"lianxuqiandaolingqushuangbeijifen" : MessageLookupByLibrary.simpleMessage("連續簽到領取雙倍積分"),
"lijicanjia" : MessageLookupByLibrary.simpleMessage("立即參加"),
"lijichongzhi" : MessageLookupByLibrary.simpleMessage("立即充值"),
"lijikaitong" : MessageLookupByLibrary.simpleMessage("立即開通"),
"lijiqiandao" : MessageLookupByLibrary.simpleMessage("立即簽到"),
"lijitiyan" : MessageLookupByLibrary.simpleMessage("立即體驗"),
"lingqu" : MessageLookupByLibrary.simpleMessage("領取"),
@ -364,6 +384,7 @@ class MessageLookup extends MessageLookupByLibrary {
"qingshuruzhifumima" : MessageLookupByLibrary.simpleMessage("請輸入支付密碼"),
"qingtianxieshoujihao" : MessageLookupByLibrary.simpleMessage("請填寫收件人手機號"),
"qingtianxiexingming" : MessageLookupByLibrary.simpleMessage("請填寫收件人姓名"),
"qingtong" : MessageLookupByLibrary.simpleMessage("青铜"),
"qingtonghuiyuan" : MessageLookupByLibrary.simpleMessage("青銅會員"),
"qingxuanzeshiyongmendian" : MessageLookupByLibrary.simpleMessage("請選擇使用門店"),
"qingxuanzeshouhuodizhi" : MessageLookupByLibrary.simpleMessage("請選擇收貨地址"),
@ -383,11 +404,15 @@ class MessageLookup extends MessageLookupByLibrary {
"quantian" : MessageLookupByLibrary.simpleMessage("全天"),
"quanxian" : MessageLookupByLibrary.simpleMessage("權限"),
"quanxianshezhi" : MessageLookupByLibrary.simpleMessage("權限設置"),
"quanyijishao" : MessageLookupByLibrary.simpleMessage("權益介紹"),
"quanyishuoming" : MessageLookupByLibrary.simpleMessage("權益説明"),
"quanyixiangqing" : MessageLookupByLibrary.simpleMessage("權益詳情"),
"qucanhao" : MessageLookupByLibrary.simpleMessage("取餐號"),
"qudanhao" : m23,
"qudenglu" : MessageLookupByLibrary.simpleMessage("去登錄"),
"queding" : MessageLookupByLibrary.simpleMessage("確定"),
"queren" : MessageLookupByLibrary.simpleMessage("确认"),
"querenbangding" : MessageLookupByLibrary.simpleMessage("確認綁定"),
"querenchongzhi" : MessageLookupByLibrary.simpleMessage("確認充值"),
"querenduihuan" : MessageLookupByLibrary.simpleMessage("确认兑换"),
"querenshouhuo" : MessageLookupByLibrary.simpleMessage("確認收貨"),
@ -458,6 +483,7 @@ class MessageLookup extends MessageLookupByLibrary {
"shuruzhifumima" : MessageLookupByLibrary.simpleMessage("輸入支付密碼"),
"sui" : m28,
"tebieshengming" : MessageLookupByLibrary.simpleMessage("特別聲明"),
"tianjifuka" : MessageLookupByLibrary.simpleMessage("添加新副卡"),
"tijiao" : MessageLookupByLibrary.simpleMessage("提交"),
"tingchewei" : MessageLookupByLibrary.simpleMessage("停車位"),
"tixian" : MessageLookupByLibrary.simpleMessage("提現"),
@ -492,6 +518,7 @@ class MessageLookup extends MessageLookupByLibrary {
"wenzhang" : MessageLookupByLibrary.simpleMessage("文章"),
"wenzhangxiangqing" : MessageLookupByLibrary.simpleMessage("文章詳情"),
"weulingqu" : MessageLookupByLibrary.simpleMessage("未領取"),
"wodechengjiu" : MessageLookupByLibrary.simpleMessage("我的成就"),
"wodedongtai" : MessageLookupByLibrary.simpleMessage("我的動態"),
"wodegongju" : MessageLookupByLibrary.simpleMessage("我的工具"),
"wodehuiyuandengji" : MessageLookupByLibrary.simpleMessage("我的會員等級"),
@ -531,9 +558,11 @@ class MessageLookup extends MessageLookupByLibrary {
"xuanguige" : MessageLookupByLibrary.simpleMessage("選規格"),
"xuni" : MessageLookupByLibrary.simpleMessage("虛擬"),
"yaoqingrenshoujihao_" : m32,
"yibangfuka" : MessageLookupByLibrary.simpleMessage("已綁副卡"),
"yiduihuan" : MessageLookupByLibrary.simpleMessage("已兌換"),
"yiduihuanjian" : m33,
"yifahuo" : MessageLookupByLibrary.simpleMessage("已發貨"),
"yihuide" : MessageLookupByLibrary.simpleMessage("已獲得"),
"yihujiaoqishou" : MessageLookupByLibrary.simpleMessage("已呼叫騎手"),
"yikexiao" : MessageLookupByLibrary.simpleMessage("已核銷"),
"yilingqu" : MessageLookupByLibrary.simpleMessage("已領取"),
@ -546,6 +575,7 @@ class MessageLookup extends MessageLookupByLibrary {
"yindaoye3" : MessageLookupByLibrary.simpleMessage("會員活動專區"),
"yindaoye4" : MessageLookupByLibrary.simpleMessage("過健康有機生活"),
"yingyeshijian" : m34,
"yinkahuiyuan" : MessageLookupByLibrary.simpleMessage("银卡会员"),
"yinshi" : MessageLookupByLibrary.simpleMessage("飲食"),
"yinsishengming" : MessageLookupByLibrary.simpleMessage("隱私聲明"),
"yinsixieyi" : MessageLookupByLibrary.simpleMessage("《隱私協議》"),

30
lib/generated/intl/messages_zh_TW.dart

@ -102,8 +102,10 @@ class MessageLookup extends MessageLookupByLibrary {
final messages = _notInlinedMessages(_notInlinedMessages);
static _notInlinedMessages(_) => <String, Function> {
"bainianchuanjiao" : MessageLookupByLibrary.simpleMessage("百年川椒"),
"baiyin" : MessageLookupByLibrary.simpleMessage("白银"),
"baiyinhuiyuan" : MessageLookupByLibrary.simpleMessage("白銀會員"),
"banben" : m0,
"bangdingfuka" : MessageLookupByLibrary.simpleMessage("綁定副卡"),
"bangong" : MessageLookupByLibrary.simpleMessage("辦公"),
"bangzhuyufankui" : MessageLookupByLibrary.simpleMessage("幫助與反饋"),
"baocun" : MessageLookupByLibrary.simpleMessage("保存"),
@ -114,10 +116,12 @@ class MessageLookup extends MessageLookupByLibrary {
"bianjidizhi" : MessageLookupByLibrary.simpleMessage("編輯地址"),
"biaojiweiyidu" : MessageLookupByLibrary.simpleMessage("標為已讀"),
"bodadianhua" : MessageLookupByLibrary.simpleMessage("撥打電話"),
"bojin" : MessageLookupByLibrary.simpleMessage("铂金"),
"brand_yixinhuixiang" : MessageLookupByLibrary.simpleMessage("一心回鄉"),
"buzhichikaipiao" : MessageLookupByLibrary.simpleMessage("不支持開票"),
"chakan" : MessageLookupByLibrary.simpleMessage("查看"),
"chakangengduo" : MessageLookupByLibrary.simpleMessage("查看更多"),
"chakanquanyi" : MessageLookupByLibrary.simpleMessage("查看權益"),
"chakanshixiaoquan" : MessageLookupByLibrary.simpleMessage("查看失效券"),
"chakanwodekabao" : MessageLookupByLibrary.simpleMessage("查看我的卡包"),
"chakanwodekaquan" : MessageLookupByLibrary.simpleMessage("查看我的卡券"),
@ -128,6 +132,8 @@ class MessageLookup extends MessageLookupByLibrary {
"chaojiyouhuiquan" : MessageLookupByLibrary.simpleMessage("超值优惠券"),
"chaungshirengushi" : MessageLookupByLibrary.simpleMessage("創始人故事"),
"chenggongdengluzhuce" : MessageLookupByLibrary.simpleMessage("成功登录注册,并绑定相关信息即可成为会员。"),
"chengjiu" : MessageLookupByLibrary.simpleMessage("成就"),
"chengjiuhuizhang" : MessageLookupByLibrary.simpleMessage("成就徽章"),
"chengshixuanze" : MessageLookupByLibrary.simpleMessage("城市選擇"),
"chengweidianpuzhuanshuhuiyuan" : MessageLookupByLibrary.simpleMessage("成為專屬會員,享專屬權益"),
"chongzhi" : MessageLookupByLibrary.simpleMessage("充值"),
@ -136,6 +142,7 @@ class MessageLookup extends MessageLookupByLibrary {
"chuangjianshijian" : m2,
"chuangshirendegushi" : MessageLookupByLibrary.simpleMessage("創始人的故事-"),
"chuangshirendegushi1" : MessageLookupByLibrary.simpleMessage("創始人的故事"),
"chuzhiyouhui" : MessageLookupByLibrary.simpleMessage("儲值優惠"),
"code_error" : MessageLookupByLibrary.simpleMessage("驗證碼輸入錯誤"),
"cunchu" : MessageLookupByLibrary.simpleMessage("存儲"),
"cunchutishixinxi" : MessageLookupByLibrary.simpleMessage("為了獲得照片使用、緩存等功能,推薦您使用期間打開存儲權限"),
@ -204,6 +211,7 @@ class MessageLookup extends MessageLookupByLibrary {
"fenxiangdao" : MessageLookupByLibrary.simpleMessage("分享到"),
"fenxiangyaoqing" : MessageLookupByLibrary.simpleMessage("也可以直接點擊右上方的分享給到你想要邀請的人。"),
"fenxiangzhiweixin" : MessageLookupByLibrary.simpleMessage("分享至微信"),
"fukashoujihao" : MessageLookupByLibrary.simpleMessage("副卡手機號"),
"ge" : m5,
"geiwopingfen" : MessageLookupByLibrary.simpleMessage("給我評分"),
"gengduo" : MessageLookupByLibrary.simpleMessage("更多"),
@ -211,9 +219,11 @@ class MessageLookup extends MessageLookupByLibrary {
"genghuantouxiang" : MessageLookupByLibrary.simpleMessage("更換頭像"),
"gerenxinxi" : MessageLookupByLibrary.simpleMessage("個人信息"),
"gong" : MessageLookupByLibrary.simpleMessage(""),
"gongchuanghuiyuan" : MessageLookupByLibrary.simpleMessage("共创会员"),
"gongjijian" : m6,
"gongjijianshangpin" : m7,
"gongli" : m8,
"gongxinchengwei" : MessageLookupByLibrary.simpleMessage("恭喜您成爲"),
"gongxinichengweibendianhuiyuan" : MessageLookupByLibrary.simpleMessage("恭喜您,成為本店會員,快去享受超多的會員權益吧。"),
"gouxuanxieyi" : MessageLookupByLibrary.simpleMessage("請勾選同意隱私服務和一心回鄉服務協定"),
"guanlidizhi" : MessageLookupByLibrary.simpleMessage("管理地址"),
@ -227,6 +237,7 @@ class MessageLookup extends MessageLookupByLibrary {
"heji" : MessageLookupByLibrary.simpleMessage("合計:"),
"hexiaochenggong" : MessageLookupByLibrary.simpleMessage("核銷成功"),
"hexiaomaxiangqing" : MessageLookupByLibrary.simpleMessage("核銷碼詳情"),
"huangjin" : MessageLookupByLibrary.simpleMessage("黄金"),
"huangjinhuiyuan" : MessageLookupByLibrary.simpleMessage("黃金會員"),
"huifu" : MessageLookupByLibrary.simpleMessage("回復"),
"huifu_" : m9,
@ -234,12 +245,17 @@ class MessageLookup extends MessageLookupByLibrary {
"huixiangtoutiao" : MessageLookupByLibrary.simpleMessage("回鄉頭條"),
"huiyuandengji" : MessageLookupByLibrary.simpleMessage("會員等級"),
"huiyuandengjishuoming" : MessageLookupByLibrary.simpleMessage("會員等級説明"),
"huiyuanguize" : MessageLookupByLibrary.simpleMessage("會員規則説明"),
"huiyuanhuodejifen" : MessageLookupByLibrary.simpleMessage("會員如何獲得積分"),
"huiyuanjia" : MessageLookupByLibrary.simpleMessage("會員價"),
"huiyuanjibieduizhao" : MessageLookupByLibrary.simpleMessage("會員級別對照表"),
"huiyuanjifen" : MessageLookupByLibrary.simpleMessage("會員積分"),
"huiyuanka" : MessageLookupByLibrary.simpleMessage("會員卡"),
"huiyuankaxiangqing" : MessageLookupByLibrary.simpleMessage("會員卡詳情"),
"huiyuanyue" : MessageLookupByLibrary.simpleMessage("會員餘額"),
"huiyuanzhongxin" : MessageLookupByLibrary.simpleMessage("會員中心"),
"huode" : MessageLookupByLibrary.simpleMessage("獲得"),
"huodequanyi" : MessageLookupByLibrary.simpleMessage("獲得權益"),
"huodong" : MessageLookupByLibrary.simpleMessage("活動"),
"huodongjianmianpeisongfei" : m10,
"huodongjinxingzhong" : MessageLookupByLibrary.simpleMessage("活動進行中"),
@ -252,6 +268,7 @@ class MessageLookup extends MessageLookupByLibrary {
"input_phone_hide" : MessageLookupByLibrary.simpleMessage("請輸入你的手機號"),
"jiajifen" : m11,
"jian" : MessageLookupByLibrary.simpleMessage(""),
"jiangli" : MessageLookupByLibrary.simpleMessage("獎勵"),
"jianjie" : m12,
"jiazaishibai" : MessageLookupByLibrary.simpleMessage("加載失敗"),
"jiesuan" : MessageLookupByLibrary.simpleMessage("結算"),
@ -266,8 +283,10 @@ class MessageLookup extends MessageLookupByLibrary {
"jifenshangcheng" : MessageLookupByLibrary.simpleMessage("積分商城"),
"jifenxiangqing" : MessageLookupByLibrary.simpleMessage("積分詳情"),
"jingbilianmenghuiyuandian" : MessageLookupByLibrary.simpleMessage("淨弼聯盟會員店"),
"jinkahuiyuan" : MessageLookupByLibrary.simpleMessage("金卡会员"),
"jinrihuiyuanrenwu" : MessageLookupByLibrary.simpleMessage("今日會員任務"),
"jinrushangdian" : MessageLookupByLibrary.simpleMessage("進入商店"),
"jinxingbangdingfuka" : MessageLookupByLibrary.simpleMessage("進行綁定副卡"),
"jinxingzhongdedingdan" : MessageLookupByLibrary.simpleMessage("進行中的訂單"),
"jituanchuangbanren" : MessageLookupByLibrary.simpleMessage("集团创办人"),
"jituanchuangshiren" : MessageLookupByLibrary.simpleMessage("集團創始人"),
@ -292,6 +311,7 @@ class MessageLookup extends MessageLookupByLibrary {
"lianxuqiandaolingqushuangbeijifen" : MessageLookupByLibrary.simpleMessage("連續簽到領取雙倍積分"),
"lijicanjia" : MessageLookupByLibrary.simpleMessage("立即參加"),
"lijichongzhi" : MessageLookupByLibrary.simpleMessage("立即充值"),
"lijikaitong" : MessageLookupByLibrary.simpleMessage("立即開通"),
"lijiqiandao" : MessageLookupByLibrary.simpleMessage("立即簽到"),
"lijitiyan" : MessageLookupByLibrary.simpleMessage("立即體驗"),
"lingqu" : MessageLookupByLibrary.simpleMessage("領取"),
@ -364,6 +384,7 @@ class MessageLookup extends MessageLookupByLibrary {
"qingshuruzhifumima" : MessageLookupByLibrary.simpleMessage("請輸入支付密碼"),
"qingtianxieshoujihao" : MessageLookupByLibrary.simpleMessage("請填寫收件人手機號"),
"qingtianxiexingming" : MessageLookupByLibrary.simpleMessage("請填寫收件人姓名"),
"qingtong" : MessageLookupByLibrary.simpleMessage("青铜"),
"qingtonghuiyuan" : MessageLookupByLibrary.simpleMessage("青銅會員"),
"qingxuanzeshiyongmendian" : MessageLookupByLibrary.simpleMessage("請選擇使用門店"),
"qingxuanzeshouhuodizhi" : MessageLookupByLibrary.simpleMessage("請選擇收貨地址"),
@ -383,11 +404,15 @@ class MessageLookup extends MessageLookupByLibrary {
"quantian" : MessageLookupByLibrary.simpleMessage("全天"),
"quanxian" : MessageLookupByLibrary.simpleMessage("權限"),
"quanxianshezhi" : MessageLookupByLibrary.simpleMessage("權限設置"),
"quanyijishao" : MessageLookupByLibrary.simpleMessage("權益介紹"),
"quanyishuoming" : MessageLookupByLibrary.simpleMessage("權益説明"),
"quanyixiangqing" : MessageLookupByLibrary.simpleMessage("權益詳情"),
"qucanhao" : MessageLookupByLibrary.simpleMessage("取餐號"),
"qudanhao" : m23,
"qudenglu" : MessageLookupByLibrary.simpleMessage("去登錄"),
"queding" : MessageLookupByLibrary.simpleMessage("確定"),
"queren" : MessageLookupByLibrary.simpleMessage("确认"),
"querenbangding" : MessageLookupByLibrary.simpleMessage("確認綁定"),
"querenchongzhi" : MessageLookupByLibrary.simpleMessage("確認充值"),
"querenduihuan" : MessageLookupByLibrary.simpleMessage("确认兑换"),
"querenshouhuo" : MessageLookupByLibrary.simpleMessage("確認收貨"),
@ -458,6 +483,7 @@ class MessageLookup extends MessageLookupByLibrary {
"shuruzhifumima" : MessageLookupByLibrary.simpleMessage("輸入支付密碼"),
"sui" : m28,
"tebieshengming" : MessageLookupByLibrary.simpleMessage("特別聲明"),
"tianjifuka" : MessageLookupByLibrary.simpleMessage("添加新副卡"),
"tijiao" : MessageLookupByLibrary.simpleMessage("提交"),
"tingchewei" : MessageLookupByLibrary.simpleMessage("停車位"),
"tixian" : MessageLookupByLibrary.simpleMessage("提現"),
@ -492,6 +518,7 @@ class MessageLookup extends MessageLookupByLibrary {
"wenzhang" : MessageLookupByLibrary.simpleMessage("文章"),
"wenzhangxiangqing" : MessageLookupByLibrary.simpleMessage("文章詳情"),
"weulingqu" : MessageLookupByLibrary.simpleMessage("未領取"),
"wodechengjiu" : MessageLookupByLibrary.simpleMessage("我的成就"),
"wodedongtai" : MessageLookupByLibrary.simpleMessage("我的動態"),
"wodegongju" : MessageLookupByLibrary.simpleMessage("我的工具"),
"wodehuiyuandengji" : MessageLookupByLibrary.simpleMessage("我的會員等級"),
@ -531,9 +558,11 @@ class MessageLookup extends MessageLookupByLibrary {
"xuanguige" : MessageLookupByLibrary.simpleMessage("選規格"),
"xuni" : MessageLookupByLibrary.simpleMessage("虛擬"),
"yaoqingrenshoujihao_" : m32,
"yibangfuka" : MessageLookupByLibrary.simpleMessage("已綁副卡"),
"yiduihuan" : MessageLookupByLibrary.simpleMessage("已兌換"),
"yiduihuanjian" : m33,
"yifahuo" : MessageLookupByLibrary.simpleMessage("已發貨"),
"yihuide" : MessageLookupByLibrary.simpleMessage("已獲得"),
"yihujiaoqishou" : MessageLookupByLibrary.simpleMessage("已呼叫騎手"),
"yikexiao" : MessageLookupByLibrary.simpleMessage("已核銷"),
"yilingqu" : MessageLookupByLibrary.simpleMessage("已領取"),
@ -546,6 +575,7 @@ class MessageLookup extends MessageLookupByLibrary {
"yindaoye3" : MessageLookupByLibrary.simpleMessage("會員活動專區"),
"yindaoye4" : MessageLookupByLibrary.simpleMessage("過健康有機生活"),
"yingyeshijian" : m34,
"yinkahuiyuan" : MessageLookupByLibrary.simpleMessage("银卡会员"),
"yinshi" : MessageLookupByLibrary.simpleMessage("飲食"),
"yinsishengming" : MessageLookupByLibrary.simpleMessage("隱私聲明"),
"yinsixieyi" : MessageLookupByLibrary.simpleMessage("《隱私協議》"),

320
lib/generated/l10n.dart

@ -5175,6 +5175,326 @@ class S {
);
}
/// ``
String get yinkahuiyuan {
return Intl.message(
'银卡会员',
name: 'yinkahuiyuan',
desc: '',
args: [],
);
}
/// ``
String get jinkahuiyuan {
return Intl.message(
'金卡会员',
name: 'jinkahuiyuan',
desc: '',
args: [],
);
}
/// ``
String get gongchuanghuiyuan {
return Intl.message(
'共创会员',
name: 'gongchuanghuiyuan',
desc: '',
args: [],
);
}
/// ``
String get qingtong {
return Intl.message(
'青铜',
name: 'qingtong',
desc: '',
args: [],
);
}
/// ``
String get huangjin {
return Intl.message(
'黄金',
name: 'huangjin',
desc: '',
args: [],
);
}
/// ``
String get baiyin {
return Intl.message(
'白银',
name: 'baiyin',
desc: '',
args: [],
);
}
/// ``
String get bojin {
return Intl.message(
'铂金',
name: 'bojin',
desc: '',
args: [],
);
}
/// ``
String get wodechengjiu {
return Intl.message(
'我的成就',
name: 'wodechengjiu',
desc: '',
args: [],
);
}
/// ``
String get chengjiuhuizhang {
return Intl.message(
'成就徽章',
name: 'chengjiuhuizhang',
desc: '',
args: [],
);
}
/// ``
String get chengjiu {
return Intl.message(
'成就',
name: 'chengjiu',
desc: '',
args: [],
);
}
/// ``
String get jiangli {
return Intl.message(
'奖励',
name: 'jiangli',
desc: '',
args: [],
);
}
/// ``
String get yihuide {
return Intl.message(
'已获得',
name: 'yihuide',
desc: '',
args: [],
);
}
/// ``
String get huiyuanzhongxin {
return Intl.message(
'会员中心',
name: 'huiyuanzhongxin',
desc: '',
args: [],
);
}
/// ``
String get huiyuanguize {
return Intl.message(
'会员规则说明',
name: 'huiyuanguize',
desc: '',
args: [],
);
}
/// ``
String get huiyuanjibieduizhao {
return Intl.message(
'会员级别对照表',
name: 'huiyuanjibieduizhao',
desc: '',
args: [],
);
}
/// ``
String get huiyuanhuodejifen {
return Intl.message(
'会员如何获得积分',
name: 'huiyuanhuodejifen',
desc: '',
args: [],
);
}
/// ``
String get lijikaitong {
return Intl.message(
'立即开通',
name: 'lijikaitong',
desc: '',
args: [],
);
}
/// ``
String get gongxinchengwei {
return Intl.message(
'恭喜您成为',
name: 'gongxinchengwei',
desc: '',
args: [],
);
}
/// ``
String get huodequanyi {
return Intl.message(
'获得权益',
name: 'huodequanyi',
desc: '',
args: [],
);
}
/// ``
String get chakanquanyi {
return Intl.message(
'查看权益',
name: 'chakanquanyi',
desc: '',
args: [],
);
}
/// ``
String get chuzhiyouhui {
return Intl.message(
'储值优惠',
name: 'chuzhiyouhui',
desc: '',
args: [],
);
}
/// ``
String get quanyixiangqing {
return Intl.message(
'权益详情',
name: 'quanyixiangqing',
desc: '',
args: [],
);
}
/// ``
String get quanyijishao {
return Intl.message(
'权益介绍',
name: 'quanyijishao',
desc: '',
args: [],
);
}
/// ``
String get quanyishuoming {
return Intl.message(
'权益说明',
name: 'quanyishuoming',
desc: '',
args: [],
);
}
/// ``
String get yibangfuka {
return Intl.message(
'已绑副卡',
name: 'yibangfuka',
desc: '',
args: [],
);
}
/// ``
String get tianjifuka {
return Intl.message(
'添加新副卡',
name: 'tianjifuka',
desc: '',
args: [],
);
}
/// ``
String get bangdingfuka {
return Intl.message(
'绑定副卡',
name: 'bangdingfuka',
desc: '',
args: [],
);
}
/// ``
String get jinxingbangdingfuka {
return Intl.message(
'进行绑定副卡',
name: 'jinxingbangdingfuka',
desc: '',
args: [],
);
}
/// ``
String get fukashoujihao {
return Intl.message(
'副卡手机号',
name: 'fukashoujihao',
desc: '',
args: [],
);
}
/// ``
String get querenbangding {
return Intl.message(
'确认绑定',
name: 'querenbangding',
desc: '',
args: [],
);
}
/// ``
String get zanweikaitong {
return Intl.message(
'暂未开通',
name: 'zanweikaitong',
desc: '',
args: [],
);
}
/// ``
String get huiyuanquanyi {
return Intl.message(
'会员权益',
name: 'huiyuanquanyi',
desc: '',
args: [],
);
}
/// `使`
String get privacy_policy4 {
return Intl.message(

2
lib/home/home_page.dart

@ -5,7 +5,6 @@ import 'package:flutter_easyloading/flutter_easyloading.dart';
import 'package:flutter_svg/flutter_svg.dart';
import 'package:flutter_swiper/flutter_swiper.dart';
import 'package:huixiang/generated/l10n.dart';
import 'package:huixiang/home/home_view/coupon.dart';
import 'package:huixiang/home/home_view/featured_acticvity.dart';
import 'package:huixiang/home/home_view/home_banner.dart';
import 'package:huixiang/home/home_view/home_integral_store.dart';
@ -329,6 +328,7 @@ class _HomePage extends State<HomePage> with AutomaticKeepAliveClientMixin {
);
}
///
toScan() async {
if (await Permission.camera.isPermanentlyDenied) {
showCupertinoDialog(

2
lib/home/points_mall_view/points_goods_view.dart

@ -111,7 +111,7 @@ class _PointGoods extends State<PointGoods> {
height: 5.h,
),
Text(
S.of(context).jifen_(goods.price),
(goods?.price == null || goods.price == "0"?"":S.of(context).jifen_(goods.price)) + (goods?.money == null|| goods.money == "0.00" ?"":" + ${goods.money}"),
style: TextStyle(
color: Color(0xFF32A060),
fontSize: 14.sp,

98
lib/integral_store/integral_store_details_page.dart

@ -4,6 +4,7 @@ import 'package:dio/dio.dart';
import 'package:flutter/material.dart';
import 'package:flutter_html/flutter_html.dart';
import 'package:flutter_html/image_render.dart';
import 'package:flutter_smart_dialog/flutter_smart_dialog.dart';
import 'package:flutter_swiper/flutter_swiper.dart';
import 'package:huixiang/generated/l10n.dart';
import 'package:huixiang/retrofit/data/base_data.dart';
@ -22,17 +23,14 @@ class IntegralStoreDetailsPage extends StatefulWidget {
@override
State<StatefulWidget> createState() {
return _IntegralStoreDetailsPage(this.arguments);
return _IntegralStoreDetailsPage();
}
}
class _IntegralStoreDetailsPage extends State {
class _IntegralStoreDetailsPage extends State<IntegralStoreDetailsPage> {
ApiService apiService;
String points;
final Map<String, dynamic> arguments;
_IntegralStoreDetailsPage(this.arguments);
int payType = 0;
@override
void initState() {
@ -50,12 +48,24 @@ class _IntegralStoreDetailsPage extends State {
Goods goods;
///
queryGoodsById() async {
BaseData<Goods> baseData =
await apiService.creditGoodsById(arguments["goodsId"]).catchError((onError) {});
BaseData<Goods> baseData = await apiService
.creditGoodsById(widget.arguments["goodsId"])
.catchError((onError) {});
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)){
payType = 1;
} else if (goods != null && points != null && double.tryParse(goods.price)
<= double.tryParse(points)){
payType = 2;
} else if (goods != null && points != null
&& double.tryParse(goods.oneMoney) != 0){
payType = 3;
}
});
}
}
@ -63,13 +73,6 @@ class _IntegralStoreDetailsPage extends State {
@override
Widget build(BuildContext context) {
return Scaffold(
// appBar: MyAppBar(
// background: Color(0xFFFFFFFF),
// leadingColor: Colors.black,
// title: S.of(context).shangpinxiangqing,
// titleColor: Colors.black,
// titleSize: 16.sp,
// ),
body: Container(
child: Column(
children: [
@ -92,13 +95,12 @@ class _IntegralStoreDetailsPage extends State {
),
),
),
if (goods != null &&
goods.detail != null &&
if (goods?.detail != null &&
goods.detail != "")
Container(
color: Colors.white,
child: Html(
data: goods != null ? goods.detail : "",
data: goods?.detail??"",
customImageRenders: {
networkSourceMatcher(): networkImageRender(
loadingWidget: () {
@ -115,34 +117,29 @@ class _IntegralStoreDetailsPage extends State {
),
GestureDetector(
onTap: () {
// if (goods != null &&
// points != null &&
// int.tryParse(goods.price) < int.tryParse(points)) {
// toExchangeOrder();
// }
if(payType > 0){
toExchangeOrder();
}else{
SmartDialog.showToast("您的积分不足!", alignment: Alignment.center);
return;
}
},
child: Container(
padding: EdgeInsets.only(top: 16.h, bottom: 16.h),
decoration: BoxDecoration(
color:
// (goods != null &&
// points != null &&
// int.tryParse(goods.price) < int.tryParse(points))
// ? Color(0xFF32A060)
// :
Color(0xFFD8D8D8),
color: (payType > 0)
? Color(0xFF32A060)
: Color(0xFFD8D8D8),
borderRadius: BorderRadius.vertical(
top: Radius.circular(4),
),
),
alignment: Alignment.center,
child: Text(
// (goods != null &&
// points != null &&
// int.tryParse(goods.price) < int.tryParse(points))
// ? S.of(context).duihuan
// : S.of(context).jifenbuzu,
"兑换功能暂未开放",
(payType > 0)
? S.of(context).duihuan
: S.of(context).jifenbuzu,
// "兑换功能暂未开放",
style: TextStyle(
fontSize: 16.sp,
color: Color(0xFFFFFFFF),
@ -163,8 +160,12 @@ class _IntegralStoreDetailsPage extends State {
.pushNamed('/router/exchange_order_page', arguments: {
"goodsId": goods.id,
"name": goods.name,
"money": goods.money,
"onePrice":goods.onePrice,
"oneMoney":goods.oneMoney,
"price": goods.price,
"image": goods.mainImgPath,
"payType":payType,
"useTyped": goods.canPick
? 1
: goods.canDelivery
@ -205,7 +206,12 @@ class _IntegralStoreDetailsPage extends State {
crossAxisAlignment: CrossAxisAlignment.center,
children: [
Text(
goods == null ? "" : S.of(context).jifen_(goods.price),
(goods?.price == null || goods.price == "0"
? ""
: S.of(context).jifen_(goods.price)) +
(goods?.money == null || goods.money == "0.00"
? ""
: " + ${goods.money}"),
style: TextStyle(
fontWeight: MyFontWeight.semi_bold,
fontSize: 18.sp,
@ -215,8 +221,9 @@ class _IntegralStoreDetailsPage extends State {
SizedBox(
width: 10.w,
),
Expanded(child: Text(
S.of(context).yuan_(goods?.worth??goods?.worth??""),
Expanded(
child: Text(
S.of(context).yuan_(goods?.worth ?? goods?.worth ?? ""),
style: TextStyle(
color: Color(0xFF585858),
decoration: TextDecoration.lineThrough,
@ -224,9 +231,10 @@ class _IntegralStoreDetailsPage extends State {
fontWeight: MyFontWeight.regular,
fontSize: 14.sp,
),
),),
),
),
Text(
"库存:${goods?.stock ?? goods?.stock ??""}",
"库存:${goods?.stock ?? goods?.stock ?? ""}",
style: TextStyle(
color: Color(0xFF585858),
decorationColor: Color(0xFF353535),
@ -297,13 +305,13 @@ class _IntegralStoreDetailsPage extends State {
: goods.viceImgPaths.length,
),
GestureDetector(
onTap: (){
onTap: () {
Navigator.of(context).pop();
},
child: Container(
margin: EdgeInsets.only(left: 16,top: 52),
padding:EdgeInsets.all(5),
child:Image.asset(
margin: EdgeInsets.only(left: 16, top: 52),
padding: EdgeInsets.all(5),
child: Image.asset(
"assets/image/integral_return.png",
// alignment: Alignment.center,
width: 24,

34
lib/l10n/intl_en.arb

@ -537,6 +537,40 @@
"fensi": "粉丝",
"guanzhu": "关注",
"wodedongtai": "我的动态",
"yinkahuiyuan": "银卡会员",
"jinkahuiyuan": "金卡会员",
"gongchuanghuiyuan": "共创会员",
"qingtong": "青铜",
"huangjin": "黄金",
"baiyin": "白银",
"bojin": "铂金",
"wodechengjiu": "我的成就",
"chengjiuhuizhang": "成就徽章",
"chengjiu": "成就",
"jiangli": "奖励",
"yihuide": "已获得",
"huiyuanzhongxin": "会员中心",
"huiyuanguize": "会员规则说明",
"huiyuanjibieduizhao": "会员级别对照表",
"huiyuanhuodejifen": "会员如何获得积分",
"lijikaitong": "立即开通",
"gongxinchengwei": "恭喜您成为",
"huodequanyi": "获得权益",
"chakanquanyi": "查看权益",
"chuzhiyouhui": "储值优惠",
"quanyixiangqing": "权益详情",
"quanyijishao": "权益介绍",
"quanyishuoming": "权益说明",
"yibangfuka": "已绑副卡",
"tianjifuka": "添加新副卡",
"bangdingfuka": "绑定副卡",
"jinxingbangdingfuka": "进行绑定副卡",
"fukashoujihao": "副卡手机号",
"querenbangding": "确认绑定",
"zanweikaitong": "暂未开通",
"huiyuanquanyi": "会员权益",

30
lib/l10n/intl_zh_CN.arb

@ -537,6 +537,36 @@
"fensi": "粉丝",
"guanzhu": "关注",
"wodedongtai": "我的动态",
"yinkahuiyuan": "银卡会员",
"jinkahuiyuan": "金卡会员",
"gongchuanghuiyuan": "共创会员",
"qingtong": "青铜",
"huangjin": "黄金",
"baiyin": "白银",
"bojin": "铂金",
"wodechengjiu": "我的成就",
"chengjiuhuizhang": "成就徽章",
"chengjiu": "成就",
"jiangli": "奖励",
"yihuide": "已获得",
"huiyuanzhongxin": "会员中心",
"huiyuanguize": "会员规则说明",
"huiyuanjibieduizhao": "会员级别对照表",
"huiyuanhuodejifen": "会员如何获得积分",
"lijikaitong": "立即开通",
"gongxinchengwei": "恭喜您成为",
"huodequanyi": "获得权益",
"chakanquanyi": "查看权益",
"chuzhiyouhui": "储值优惠",
"quanyixiangqing": "权益详情",
"quanyijishao": "权益介绍",
"quanyishuoming": "权益说明",
"yibangfuka": "已绑副卡",
"tianjifuka": "添加新副卡",
"bangdingfuka": "绑定副卡",
"jinxingbangdingfuka": "进行绑定副卡",
"fukashoujihao": "副卡手机号",
"querenbangding": "确认绑定",

30
lib/l10n/intl_zh_Hans_CN.arb

@ -537,6 +537,36 @@
"fensi": "粉丝",
"guanzhu": "关注",
"wodedongtai": "我的动态",
"yinkahuiyuan": "银卡会员",
"jinkahuiyuan": "金卡会员",
"gongchuanghuiyuan": "共创会员",
"qingtong": "青铜",
"huangjin": "黄金",
"baiyin": "白银",
"bojin": "铂金",
"wodechengjiu": "我的成就",
"chengjiuhuizhang": "成就徽章",
"chengjiu": "成就",
"jiangli": "奖励",
"yihuide": "已获得",
"huiyuanzhongxin": "会员中心",
"huiyuanguize": "会员规则说明",
"huiyuanjibieduizhao": "会员级别对照表",
"huiyuanhuodejifen": "会员如何获得积分",
"lijikaitong": "立即开通",
"gongxinchengwei": "恭喜您成为",
"huodequanyi": "获得权益",
"chakanquanyi": "查看权益",
"chuzhiyouhui": "储值优惠",
"quanyixiangqing": "权益详情",
"quanyijishao": "权益介绍",
"quanyishuoming": "权益说明",
"yibangfuka": "已绑副卡",
"tianjifuka": "添加新副卡",
"bangdingfuka": "绑定副卡",
"jinxingbangdingfuka": "进行绑定副卡",
"fukashoujihao": "副卡手机号",
"querenbangding": "确认绑定",

31
lib/l10n/intl_zh_Hant_CN.arb

@ -532,6 +532,37 @@
"fensi": "粉絲",
"guanzhu": "關注",
"wodedongtai": "我的動態",
"yinkahuiyuan": "银卡会员",
"jinkahuiyuan": "金卡会员",
"gongchuanghuiyuan": "共创会员",
"qingtong": "青铜",
"huangjin": "黄金",
"baiyin": "白银",
"bojin": "铂金",
"wodechengjiu": "我的成就",
"chengjiuhuizhang": "成就徽章",
"chengjiu": "成就",
"jiangli": "獎勵",
"yihuide": "已獲得",
"huiyuanzhongxin": "會員中心",
"huiyuanguize": "會員規則説明",
"huiyuanjibieduizhao": "會員級別對照表",
"huiyuanhuodejifen": "會員如何獲得積分",
"lijikaitong": "立即開通",
"gongxinchengwei": "恭喜您成爲",
"huodequanyi": "獲得權益",
"chakanquanyi": "查看權益",
"chuzhiyouhui": "儲值優惠",
"quanyixiangqing": "權益詳情",
"quanyijishao": "權益介紹",
"quanyishuoming": "權益説明",
"yibangfuka": "已綁副卡",
"tianjifuka": "添加新副卡",
"bangdingfuka": "綁定副卡",
"jinxingbangdingfuka": "進行綁定副卡",
"fukashoujihao": "副卡手機號",
"querenbangding": "確認綁定",

30
lib/l10n/intl_zh_TW.arb

@ -531,6 +531,36 @@
"fensi": "粉絲",
"guanzhu": "關注",
"wodedongtai": "我的動態",
"yinkahuiyuan": "银卡会员",
"jinkahuiyuan": "金卡会员",
"gongchuanghuiyuan": "共创会员",
"qingtong": "青铜",
"huangjin": "黄金",
"baiyin": "白银",
"bojin": "铂金",
"wodechengjiu": "我的成就",
"chengjiuhuizhang": "成就徽章",
"chengjiu": "成就",
"jiangli": "獎勵",
"yihuide": "已獲得",
"huiyuanzhongxin": "會員中心",
"huiyuanguize": "會員規則説明",
"huiyuanjibieduizhao": "會員級別對照表",
"huiyuanhuodejifen": "會員如何獲得積分",
"lijikaitong": "立即開通",
"gongxinchengwei": "恭喜您成爲",
"huodequanyi": "獲得權益",
"chakanquanyi": "查看權益",
"chuzhiyouhui": "儲值優惠",
"quanyixiangqing": "權益詳情",
"quanyijishao": "權益介紹",
"quanyishuoming": "權益説明",
"yibangfuka": "已綁副卡",
"tianjifuka": "添加新副卡",
"bangdingfuka": "綁定副卡",
"jinxingbangdingfuka": "進行綁定副卡",
"fukashoujihao": "副卡手機號",
"querenbangding": "確認綁定",

16
lib/main.dart

@ -78,6 +78,11 @@ import 'mine/fans_page.dart';
import 'mine/follow_page.dart';
import 'mine/manage_address_page.dart';
import 'mine/mine_view/community_follow.dart';
import 'mine/mine_vip/binding_assistant_card.dart';
import 'mine/mine_vip/legal_right_details.dart';
import 'mine/mine_vip/mine_attainment_page.dart';
import 'mine/mine_vip/mine_vip_core.dart';
import 'view_widget/vip_dialog.dart';
import 'mine/release_page.dart';
import 'mine/roll_center_page.dart';
@ -238,8 +243,14 @@ Map<String, WidgetBuilder> routers = <String, WidgetBuilder>{
ManageAddressPage(arguments: arguments),
'/router/exchange_order_page': (context, {arguments}) =>
ExchangeOrderPage(arguments: arguments),
'/router/mine_vip_level_page': (context, {arguments}) =>
MineVipLevelPage(arguments: arguments),
// '/router/mine_vip_level_page': (context, {arguments}) =>
// MineVipLevelPage(arguments: arguments),
'/router/mine_vip_core': (context, {arguments}) =>
MineVipCore(arguments: arguments),
'/router/legal_right_details': (context, {arguments}) =>
LegalRightDetails(),
'/router/binding_assistant_card': (context, {arguments}) =>
BindingAssistantCard(),
'/router/order_history_page': (context, {arguments}) =>
OrderHistoryPage(arguments: arguments),
'/router/union_detail_page': (context, {arguments}) =>
@ -309,4 +320,5 @@ Map<String, WidgetBuilder> routers = <String, WidgetBuilder>{
'/router/releasePage': (context, {arguments}) => ReleasePage(),
'/router/activity_list': (context, {arguments}) => ActivityList(),
'/router/class_details': (context, {arguments}) => ClassDetails(arguments: arguments),
'/router/mine_attainment_page': (context, {arguments}) => MineAttainmentPage(arguments: arguments),
};

54
lib/mine/mine_page.dart

@ -320,6 +320,14 @@ class _MinePage extends State<MinePage> with AutomaticKeepAliveClientMixin {
mainAxisAlignment: MainAxisAlignment.spaceAround,
crossAxisAlignment: CrossAxisAlignment.start,
children: [
GestureDetector(
onTap:(){
Navigator.of(context).pushNamed(
'/router/communityFollow',
arguments: {},
);
},
child:
Row(
children: [
Text(
@ -330,8 +338,9 @@ class _MinePage extends State<MinePage> with AutomaticKeepAliveClientMixin {
fontWeight: MyFontWeight.regular,
),
),
SizedBox(width: 5,),
Text(
"(" + (infoNumber != null ?infoNumber.follow.toString() :"0") +")",
infoNumber != null ?infoNumber.follow.toString() :"0",
style: TextStyle(
color: Color(0xFF000000),
fontSize: 15.sp,
@ -340,6 +349,15 @@ class _MinePage extends State<MinePage> with AutomaticKeepAliveClientMixin {
),
],
),
),
GestureDetector(
onTap:(){
Navigator.of(context).pushNamed(
'/router/communityFollow',
arguments: {},
);
},
child:
Row(
children: [
Text(
@ -350,8 +368,9 @@ class _MinePage extends State<MinePage> with AutomaticKeepAliveClientMixin {
fontWeight: MyFontWeight.regular,
),
),
SizedBox(width: 5,),
Text(
"(" + (infoNumber != null ?infoNumber.fans.toString() :"0") +")",
infoNumber != null ?infoNumber.fans.toString() :"0",
style: TextStyle(
color: Color(0xFF000000),
fontSize: 15.sp,
@ -360,6 +379,37 @@ class _MinePage extends State<MinePage> with AutomaticKeepAliveClientMixin {
),
],
),
),
GestureDetector(
onTap:(){
Navigator.of(context).pushNamed(
'/router/mine_attainment_page',
arguments: {"userInfo":userInfo},
);
},
child:
Row(
children: [
Text(
"成就",
style: TextStyle(
color: Color(0xFF000000),
fontSize: 14.sp,
fontWeight: MyFontWeight.regular,
),
),
SizedBox(width: 5,),
Text(
"1",
style: TextStyle(
color: Color(0xFF000000),
fontSize: 15.sp,
fontWeight: MyFontWeight.medium,
),
),
],
),
),
],
),
),

199
lib/mine/mine_vip/binding_assistant_card.dart

@ -0,0 +1,199 @@
import 'package:dio/dio.dart';
import 'package:flutter/material.dart';
import 'package:flutter_smart_dialog/flutter_smart_dialog.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/retrofit_api.dart';
import 'package:huixiang/utils/font_weight.dart';
import 'package:huixiang/view_widget/my_appbar.dart';
import 'package:shared_preferences/shared_preferences.dart';
import 'package:flutter_screenutil/flutter_screenutil.dart';
class BindingAssistantCard extends StatefulWidget {
@override
State<StatefulWidget> createState() {
return _BindingAssistantCard();
}
}
class _BindingAssistantCard extends State<BindingAssistantCard> {
TextEditingController nameController = TextEditingController();
TextEditingController mobileController = TextEditingController();
TextEditingController addressController = TextEditingController();
TextEditingController houseNumberController = TextEditingController();
ApiService apiService;
@override
void initState() {
super.initState();
SharedPreferences.getInstance().then((value) => {
apiService = ApiService(Dio(),
context: context, token: value.getString('token')),
});
}
@override
Widget build(BuildContext context) {
return Scaffold(
appBar: MyAppBar(
title: S.of(context).bangdingfuka,
titleColor: Colors.black,
leadingColor: Colors.black,
background: Colors.transparent,
),
body: Stack(
children: [
Expanded(
child: Column(
children: [
Container(
margin: EdgeInsets.only(bottom: 26.h),
padding: EdgeInsets.only(top: 16.h, bottom: 16.h),
child: Column(
crossAxisAlignment: CrossAxisAlignment.start,
mainAxisAlignment: MainAxisAlignment.start,
children: [
Padding(
padding: EdgeInsets.only(left: 16, right: 16),
child: Text(
"进行副卡绑定",
style: TextStyle(
color: Colors.black,
fontWeight: MyFontWeight.medium,
fontSize: 21.sp,
),
),
),
Padding(
padding: EdgeInsets.only(
left: 16, right: 16, top: 8, bottom: 32),
child: Text(
"主卡最多只能绑定5位副卡,只能解绑3次",
style: TextStyle(
color: Color(0xFFFF7A1A),
fontWeight: MyFontWeight.regular,
fontSize: 12.sp,
),
),
),
editItem(
S.of(context).fukashoujihao,
"",
S.of(context).qingshurushoujihao,
mobileController,
false),
Container(
margin:
EdgeInsets.symmetric(horizontal: 16, vertical: 5),
width: double.infinity,
height: 1,
color: Color(0xFFF4F4F4),
),
Row(
crossAxisAlignment: CrossAxisAlignment.center,
mainAxisAlignment: MainAxisAlignment.start,
children: [
Expanded(
child: InkWell(
onTap: () {},
child: editItem(
"验证码",
"",
S.of(context).qingshuruyanzhengma,
addressController,
false),
)),
Padding(
padding: EdgeInsets.only(right: 16, top: 10),
child: GestureDetector(
onTap: () {},
child: Text(
"发送验证",
style: TextStyle(
fontSize: 14.sp,
fontWeight: FontWeight.bold,
color: Color(0xFF32A060),
),
),
)),
],
),
Container(
margin:
EdgeInsets.symmetric(horizontal: 16, vertical: 5),
width: double.infinity,
height: 1,
color: Color(0xFFF4F4F4),
),
],
),
),
],
),
),
Align(
alignment: Alignment.bottomCenter,
child: InkWell(
onTap: () {
},
child: Container(
color: Color(0xFF32A060),
width: MediaQuery.of(context).size.width,
padding: EdgeInsets.all(16),
height: 54,
alignment: Alignment.center,
child: Text(
S.of(context).querenbangding,
style: TextStyle(
fontWeight: FontWeight.bold,
fontSize: 16.sp,
color: Colors.white,
),
),
),
)),
],
),
);
}
Widget editItem(start, text, hide, controller, isClick) {
return Container(
margin: EdgeInsets.symmetric(horizontal: 16, vertical: 5),
child: Column(
crossAxisAlignment: CrossAxisAlignment.start,
mainAxisAlignment: MainAxisAlignment.start,
children: [
Text(
start,
style: TextStyle(
fontSize: 16.sp,
fontWeight: FontWeight.bold,
color: Color(0xFF353535),
),
),
TextField(
controller: controller,
enabled: start != "地址",
keyboardType:
start == "电话" ? TextInputType.phone : TextInputType.text,
decoration: InputDecoration(
border: InputBorder.none,
hintText: hide,
hintStyle: TextStyle(
color: Color(0xFFA29E9E),
fontSize: 14.sp,
),
contentPadding: EdgeInsets.all(0),
),
),
],
),
);
}
}

570
lib/mine/mine_vip/legal_right_details.dart

@ -0,0 +1,570 @@
import 'package:dio/dio.dart';
import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
import 'package:flutter_smart_dialog/flutter_smart_dialog.dart';
import 'package:flutter_swiper/flutter_swiper.dart';
import 'package:huixiang/generated/l10n.dart';
import 'package:huixiang/retrofit/data/base_data.dart';
import 'package:huixiang/retrofit/data/rank.dart';
import 'package:huixiang/retrofit/retrofit_api.dart';
import 'package:huixiang/utils/flutter_utils.dart';
import 'package:huixiang/utils/font_weight.dart';
import 'package:huixiang/view_widget/border_text.dart';
import 'package:huixiang/view_widget/mine_vip_view.dart';
import 'package:flutter_screenutil/flutter_screenutil.dart';
import 'package:huixiang/view_widget/my_appbar.dart';
import 'package:huixiang/view_widget/round_button.dart';
import 'package:shared_preferences/shared_preferences.dart';
class LegalRightDetails extends StatefulWidget {
@override
State<StatefulWidget> createState() {
return _LegalRightDetails();
}
}
class _LegalRightDetails extends State<LegalRightDetails> {
ApiService apiService;
final SwiperController controller = SwiperController();
@override
void initState() {
super.initState();
SharedPreferences.getInstance().then((value) {
apiService =
ApiService(Dio(), context: context, token: value.getString("token"));
});
}
@override
Widget build(BuildContext context) {
return Scaffold(
backgroundColor: Color(0xFF131416),
appBar: MyAppBar(
title: S.of(context).quanyixiangqing,
titleColor: Colors.white,
titleSize: 18.sp,
background: Colors.transparent,
leadingColor: Colors.white,
),
body: SingleChildScrollView(
physics: BouncingScrollPhysics(),
child: Column(
children: [
Container(
height: 130,
margin: EdgeInsets.only(top: 24),
child: ListView.builder(
scrollDirection: Axis.horizontal,
physics: BouncingScrollPhysics(),
padding: EdgeInsets.symmetric(horizontal: 10),
itemCount: 15,
itemBuilder: (context, position) {
return GestureDetector(
onTap: () {
setState(() {});
},
child: legalRightItem(),
);
},
),
),
Container(
alignment: Alignment.center,
width: 33,
height: 16,
decoration: BoxDecoration(
border: Border(
bottom: BorderSide(
width: 0,
color: Color(0xFFFFF6E9),
),
),
),
child: Image.asset(
"assets/image/jian_j.png",
width: 33,
height: 16,
color: Color(0xFFFFF6E9),
fit: BoxFit.fill,
),
),
Container(
padding: EdgeInsets.only(left: 16, right: 49),
decoration: BoxDecoration(
border: Border.all(
width: 0,
color: Color(0xFFFFF6E9),
),
color: Color(0xFFFFF6E9),
borderRadius: new BorderRadius.only(
topLeft: Radius.circular(8.0),
topRight: Radius.circular(8.0),
),
),
child: SingleChildScrollView(
physics: BouncingScrollPhysics(),
child: Column(
mainAxisAlignment: MainAxisAlignment.start,
crossAxisAlignment: CrossAxisAlignment.start,
children: [
SizedBox(
height: 20,
),
Row(
mainAxisAlignment: MainAxisAlignment.center,
crossAxisAlignment: CrossAxisAlignment.center,
children: [
Column(
mainAxisAlignment: MainAxisAlignment.start,
crossAxisAlignment: CrossAxisAlignment.end,
children: [
Container(
width: 13.w,
height: 2.h,
color: Color(0xFF674119),
),
SizedBox(height: 5.h),
Container(
width: 9.w,
height: 2.h,
color: Color(0xFF674119),
),
SizedBox(height: 5.h),
Container(
width: 6.5.w,
height: 2.h,
color: Color(0xFF674119),
),
],
),
SizedBox(width: 6.w),
Text(
"可绑定5位副卡",
style: TextStyle(
fontSize: 17.sp,
fontWeight: FontWeight.bold,
color: Color(0xFF674119),
),
),
SizedBox(width: 6.w),
Column(
mainAxisAlignment: MainAxisAlignment.start,
crossAxisAlignment: CrossAxisAlignment.start,
children: [
Container(
width: 13.w,
height: 2.h,
color: Color(0xFF674119),
),
SizedBox(height: 5.h),
Container(
width: 9.w,
height: 2.h,
color: Color(0xFF674119),
),
SizedBox(height: 5.h),
Container(
width: 6.5.w,
height: 2.h,
color: Color(0xFF674119),
),
],
),
],
),
Text(
S.of(context).quanyijishao,
style: TextStyle(
fontWeight: MyFontWeight.semi_bold,
fontSize: 14.sp,
color: Color(0xFF674119),
),
),
SizedBox(
height: 8.h,
),
Text(
"用户在成为金卡会员/共创会员之后,即可进行副卡绑定。点击添加新副卡,输入需要绑定用户的手机号,输入验证码,"
"验证通过后,即可绑定成功。点击头像右下方的解除,出现提示弹窗,点击确认即可解除绑定。",
style: TextStyle(
fontWeight: MyFontWeight.regular,
fontSize: 12.sp,
height: 1.5,
color: Color(0xFF674119),
),
),
SizedBox(
height: 20,
),
Text(
S.of(context).quanyishuoming,
style: TextStyle(
fontWeight: MyFontWeight.semi_bold,
fontSize: 14.sp,
color: Color(0xFF674119),
),
),
SizedBox(
height: 8,
),
Row(
mainAxisAlignment: MainAxisAlignment.start,
crossAxisAlignment: CrossAxisAlignment.center,
children: [
Container(
width: 6.w,
height: 6.h,
margin: EdgeInsets.fromLTRB(4.w, 7.h, 4.w, 7.h),
decoration: BoxDecoration(
borderRadius: BorderRadius.circular(3),
color: Color(0xFF79572D),
),
),
Text(
"副卡用户必须为平台注册用户",
style: TextStyle(
textBaseline: TextBaseline.alphabetic,
fontSize: 12.sp,
fontWeight: MyFontWeight.regular,
color: Color(0xFF674119),
),
),
],
),
SizedBox(
height: 6,
),
Row(
mainAxisAlignment: MainAxisAlignment.start,
crossAxisAlignment: CrossAxisAlignment.center,
children: [
Container(
width: 6.w,
height: 6.h,
margin: EdgeInsets.fromLTRB(4.w, 7.h, 4.w, 7.h),
decoration: BoxDecoration(
borderRadius: BorderRadius.circular(3),
color: Color(0xFF79572D),
),
),
Text(
"每位主卡用户只可绑定5位副卡用户,同时,只能解绑3次",
style: TextStyle(
textBaseline: TextBaseline.alphabetic,
fontSize: 12.sp,
fontWeight: MyFontWeight.regular,
color: Color(0xFF674119),
),
),
],
),
SizedBox(
height: 6,
),
Row(
mainAxisAlignment: MainAxisAlignment.start,
crossAxisAlignment: CrossAxisAlignment.center,
children: [
Container(
width: 6.w,
height: 6.h,
margin: EdgeInsets.fromLTRB(4.w, 7.h, 4.w, 7.h),
decoration: BoxDecoration(
borderRadius: BorderRadius.circular(3),
color: Color(0xFF79572D),
),
),
Text(
"副卡享受主卡的部分权益,主卡会员失效后,副卡也失效",
style: TextStyle(
textBaseline: TextBaseline.alphabetic,
fontSize: 12.sp,
fontWeight: MyFontWeight.regular,
color: Color(0xFF674119),
),
),
],
),
SizedBox(
height: 6,
),
Row(
mainAxisAlignment: MainAxisAlignment.start,
crossAxisAlignment: CrossAxisAlignment.center,
children: [
Container(
width: 6.w,
height: 6.h,
margin: EdgeInsets.fromLTRB(4.w, 7.h, 4.w, 7.h),
decoration: BoxDecoration(
borderRadius: BorderRadius.circular(3),
color: Color(0xFF79572D),
),
),
Text(
"副卡成为金卡会员后,自动与主卡解绑",
style: TextStyle(
textBaseline: TextBaseline.alphabetic,
fontSize: 12.sp,
fontWeight: MyFontWeight.regular,
color: Color(0xFF674119),
),
),
],
),
SizedBox(
height: 20,
),
Text(
"${S.of(context).yibangfuka}(0/5)",
style: TextStyle(
fontWeight: MyFontWeight.semi_bold,
fontSize: 14.sp,
color: Color(0xFF674119),
),
),
SizedBox(
height: 8,
),
assistant(),
],
),
),
)
],
),
),
);
}
///
unbindShowDeleteDialog() {
showDialog(
context: context,
builder: (context) {
return AlertDialog(
content: Container(
width: MediaQuery.of(context).size.width - 84,
height: 146.h,
child: Column(
mainAxisAlignment: MainAxisAlignment.center,
crossAxisAlignment: CrossAxisAlignment.center,
children: [
Text(
"确认要跟当前用户解除绑定?",
style: TextStyle(
fontSize: 17.sp,
fontWeight: MyFontWeight.medium,
color: Color(0xFF353535),
),
),
SizedBox(
height: 6.h,
),
Text(
"剩余解绑次数:3次",
style: TextStyle(
fontSize: 12.sp,
fontWeight: MyFontWeight.medium,
color: Color(0xFFA29E9E),
),
),
SizedBox(
height: 16.h,
),
Row(
children: [
Expanded(
child: InkWell(
child: BorderText(
text: "取消",
textColor: Color(0xFF32A060),
fontSize: 16.sp,
fontWeight: FontWeight.bold,
borderColor: Color(0xFF32A060),
radius: 4,
padding: EdgeInsets.all(12),
borderWidth: 1,
),
onTap: () {
Navigator.of(context).pop();
},
),
flex: 1,
),
SizedBox(
width: 16.w,
),
Expanded(
child: InkWell(
child: RoundButton(
text: "确定",
textColor: Colors.white,
radius: 4,
padding: EdgeInsets.all(12),
backgroup: Color(0xFF32A060),
fontSize: 16.sp,
fontWeight: FontWeight.bold,
),
onTap: () {
Navigator.of(context).pop();
},
),
flex: 1,
),
],
)
],
),
),
);
},
);
}
///
Widget legalRightItem() {
return Container(
margin: EdgeInsets.only(left: 20),
alignment: Alignment.center,
child: Column(
children: [
Opacity(
opacity: 1,
// MImage(
// "assets/image/badge_img.png",
// width: 80,
// height: 80,
// fit: BoxFit.cover,
// errorSrc: "assets/image/default_1.png",
// fadeSrc: "assets/image/default_1.png",
// ),
child: Image.asset(
"assets/image/vip_qy.png",
width: 50,
height: 50,
fit: BoxFit.cover,
),
),
SizedBox(
height: 8.h,
),
Text(
"储值优惠",
maxLines: 2,
overflow: TextOverflow.ellipsis,
textAlign: TextAlign.center,
style: TextStyle(
color: Colors.white,
fontWeight: MyFontWeight.regular,
fontSize: 12.sp,
),
),
],
),
);
}
///
Widget assistant() {
return Column(
children: [
GridView.builder(
itemCount: 4,
shrinkWrap: true,
physics: NeverScrollableScrollPhysics(),
gridDelegate: SliverGridDelegateWithFixedCrossAxisCount(
//Widget数量
crossAxisCount: 3,
//Widget之间间距
crossAxisSpacing: 12,
//Widget之间间距
mainAxisSpacing: 5,
//Widget宽高比例
// childAspectRatio: AppUtils.textScale(context) > 1
// ? (1 - ((AppUtils.textScale(context) - 1)))
// : 0.48,
),
itemBuilder: (context, index) {
return GestureDetector(
onTap: () {},
child: assistantItem(),
);
},
),
],
);
}
Widget assistantItem() {
return Container(
alignment: Alignment.center,
child:
Column(
children: [
Stack(
alignment: Alignment.bottomRight,
children: [
Image.asset(
"assets/image/icon_idea_ya.png",
width: 50,
height: 50,
fit: BoxFit.cover,
),
GestureDetector(
onTap: () {
setState(() {
unbindShowDeleteDialog();
});
},
child: Image.asset(
"assets/image/fuka_j.png",
width: 24,
height: 24,
fit: BoxFit.cover,
),
),
],
),
SizedBox(
height: 5.h,
),
Text(
"123****6789",
style: TextStyle(
color: Color(0xFF79572D),
fontWeight: MyFontWeight.regular,
fontSize: 12.sp,
),
),
],
),
// GestureDetector(
// onTap: (){
// Navigator.of(context).pushNamed('/router/binding_assistant_card');
// },
// child:Column(
// children: [
// Image.asset(
// "assets/image/fuka_zj.png",
// width:50,
// height:50,
// fit: BoxFit.cover,
// ),
// Text(
// "添加新副卡",
// style: TextStyle(
// color: Color(0xFF79572D),
// fontWeight: MyFontWeight.regular,
// fontSize: 12.sp,
// ),
// ),
// ],
// ),
// ),
);
}
}

438
lib/mine/mine_vip/mine_attainment_page.dart

@ -0,0 +1,438 @@
import 'package:flutter/cupertino.dart';
import 'package:flutter/foundation.dart';
import 'package:flutter/material.dart';
import 'package:huixiang/generated/l10n.dart';
import 'package:huixiang/retrofit/data/user_info.dart';
import 'package:huixiang/retrofit/retrofit_api.dart';
import 'package:huixiang/utils/flutter_utils.dart';
import 'package:huixiang/utils/font_weight.dart';
import 'package:huixiang/view_widget/border_text.dart';
import 'package:huixiang/view_widget/custom_image.dart';
import 'package:huixiang/view_widget/my_appbar.dart';
import 'package:huixiang/view_widget/round_button.dart';
import 'package:pull_to_refresh/pull_to_refresh.dart';
import 'package:flutter_screenutil/flutter_screenutil.dart';
class MineAttainmentPage extends StatefulWidget {
final Map<String, dynamic> arguments;
MineAttainmentPage({this.arguments});
@override
State<StatefulWidget> createState() {
return _MineAttainmentPage();
}
}
class _MineAttainmentPage extends State<MineAttainmentPage> {
ApiService apiService;
final RefreshController _refreshController = RefreshController();
UserInfo userInfo;
var checkIndex = 1;
@override
void dispose() {
super.dispose();
if (_refreshController != null) _refreshController.dispose();
}
@override
void initState() {
super.initState();
userInfo = widget.arguments["userInfo"];
}
@override
Widget build(BuildContext context) {
return Container(decoration: BoxDecoration(
image: DecorationImage(
fit: BoxFit.fill,
image: AssetImage("assets/image/attainment_bj.png"),
),
),child:Scaffold(
backgroundColor: Colors.transparent,
appBar: MyAppBar(
title: "我的成就",
titleColor: Colors.black,
titleSize: 18.sp,
background: Colors.transparent,
leadingColor: Colors.black,
),
body: SingleChildScrollView(
physics: BouncingScrollPhysics(),
child: Column(
children: [
SizedBox(height: 24),
MImage(
userInfo?.headimg ?? "",
isCircle: true,
width: 58,
height: 58,
fit: BoxFit.cover,
errorSrc: "assets/image/default_user.png",
fadeSrc: "assets/image/default_user.png",
),
SizedBox(height: 8),
Text(
userInfo?.nickname ?? S.of(context).denglu,
style: TextStyle(
fontSize: 16.sp,
fontWeight: FontWeight.bold,
color: Color(0xFF353535),
),
),
SizedBox(height: 28),
Container(
margin: EdgeInsets.only(left: 16, right: 16, top: 26, bottom: 8),
padding: EdgeInsets.all(20),
decoration: BoxDecoration(
color: Colors.white,
boxShadow: [
BoxShadow(
color: Colors.black.withAlpha(12),
offset: Offset(0, 3),
blurRadius: 14,
spreadRadius: 0,
)
],
borderRadius: BorderRadius.all(Radius.circular(8)),
),
child: Column(
mainAxisAlignment: MainAxisAlignment.spaceAround,
crossAxisAlignment: CrossAxisAlignment.start,
children: [
Row(
children: [
Text(
"成就徽章",
style: TextStyle(
fontWeight: MyFontWeight.medium,
fontSize: 14.sp,
color: Color(0xFF353535)),
),
SizedBox(width: 4),
Text(
"(",
style: TextStyle(
fontWeight: MyFontWeight.medium,
fontSize: 14,
color: Color(0xFF353535)),
),
Text(
"0",
style: TextStyle(
fontWeight: MyFontWeight.medium,
fontSize: 14,
color: Color(0xFF32A060)),
),
Text(
"/8)",
style: TextStyle(
fontWeight: MyFontWeight.medium,
fontSize: 14,
color: Color(0xFF353535)),
),
],
),
SizedBox(height: 12),
attainmentBadge(),
],
),
),
],
),
)),
);
}
///
Widget attainmentBadge() {
return GridView.builder(
itemCount: 8,
shrinkWrap: true,
physics: NeverScrollableScrollPhysics(),
gridDelegate: SliverGridDelegateWithFixedCrossAxisCount(
//Widget数量
crossAxisCount: 3,
//Widget之间间距
crossAxisSpacing: 13,
//Widget之间间距
mainAxisSpacing: 12,
//Widget宽高比例
childAspectRatio: AppUtils.textScale(context) > 1
? (1 - ((AppUtils.textScale(context) - 1)))
: 0.85,
),
itemBuilder: (context, index) {
return GestureDetector(
onTap: () {
showDeleteDialog();
},
child: badgeItem(),
);
},
);
}
Widget badgeItem() {
return Container(
alignment: Alignment.center,
child: Column(
children: [
// MImage(
// "assets/image/badge_img.png",
// width: 80,
// height: 80,
// fit: BoxFit.cover,
// errorSrc: "assets/image/default_1.png",
// fadeSrc: "assets/image/default_1.png",
// ),
Image.asset(
"assets/image/badge_img.png",
width: 80,
height: 80,
fit: BoxFit.cover,
),
SizedBox(
height: 4.h,
),
Text(
"签到",
overflow: TextOverflow.ellipsis,
style: TextStyle(
color: Color(0xFF181818),
fontWeight: MyFontWeight.medium,
fontSize: 12.sp,
),
),
],
),
);
}
///
showDeleteDialog() {
showDialog(
context: context,
builder: (context) {
return StatefulBuilder(builder: (context, state) {
return AlertDialog(
content: Container(
width: MediaQuery.of(context).size.width - 84,
height: 385.h,
child: Column(
// mainAxisAlignment: MainAxisAlignment.spaceAround,
// crossAxisAlignment: CrossAxisAlignment.start,
children: [
GestureDetector(
onTap: () {
Navigator.of(context).pop();
},
child: Row(
children: [
Spacer(),
Image.asset(
"assets/image/icon_order_cancel.png",
width: 24,
height: 24,
),
],
),
),
Image.asset(
"assets/image/badge_img.png",
width: 150,
height: 150,
fit: BoxFit.cover,
),
Text(
"消费白银徽章",
style: TextStyle(
fontSize: 16.sp,
fontWeight: MyFontWeight.semi_bold,
color: Color(0xFF181818),
),
),
SizedBox(
height: 6.h,
),
Text(
"再消费268.4元即可升级",
style: TextStyle(
fontSize: 12.sp,
fontWeight: MyFontWeight.regular,
color: Color(0xFFA3A3A3),
),
),
SizedBox(
height: 4.h,
),
Row(
mainAxisAlignment: MainAxisAlignment.center,
crossAxisAlignment: CrossAxisAlignment.center,
children: [
Text(
"奖励:",
style: TextStyle(
fontWeight: MyFontWeight.regular,
fontSize: 12.sp,
color: Color(0xFF515151)),
),
SizedBox(width: 8),
Image.asset(
"assets/image/icon_gold_coin.png",
width: 14,
height: 14,
fit: BoxFit.cover,
),
SizedBox(width: 4),
Text(
"+ 10",
style: TextStyle(
fontWeight: MyFontWeight.regular,
fontSize: 12.sp,
color: Color(0xFF515151)),
),
],
),
SizedBox(height: 5),
Row(
mainAxisAlignment: MainAxisAlignment.center,
crossAxisAlignment: CrossAxisAlignment.center,
children: [
GestureDetector(
onTap: () {
state(() {
checkIndex = 1;
});
},
child: Column(
children: [
Image.asset(
"assets/image/qt_badge.png",
width: checkIndex != 1 ? 30 : 55,
height: checkIndex != 1 ? 30 : 55,
fit: BoxFit.cover,
),
SizedBox(height: 10),
Text(
"青铜",
style: TextStyle(
fontSize: 10.sp,
fontWeight: MyFontWeight.regular,
color: Color(0xFFA3A3A3),
),
),
],
),
),
Container(
width: 35.w,
height: 2.h,
decoration: new BoxDecoration(
color: Color(0xFFE1F2F7),
),
),
GestureDetector(
onTap: () {
state(() {
checkIndex = 2;
});
},
child: Column(
children: [
Image.asset(
"assets/image/by_badge.png",
width: checkIndex != 2 ? 35 : 65,
height: checkIndex != 2 ? 35 : 65,
fit: BoxFit.cover,
),
SizedBox(height: 10),
Text(
"白银",
style: TextStyle(
fontSize: 10.sp,
fontWeight: MyFontWeight.regular,
color: Color(0xFFA3A3A3),
),
),
],
),
),
Container(
width: 35.w,
height: 2.h,
decoration: new BoxDecoration(
color: Color(0xFFE1F2F7),
),
),
GestureDetector(
onTap: () {
state(() {
checkIndex = 3;
});
},
child: Column(
children: [
Image.asset(
"assets/image/hj_badge.png",
width: checkIndex != 3 ? 35 : 65,
height: checkIndex != 3 ? 35 : 65,
fit: BoxFit.cover,
),
SizedBox(height: 10),
Text(
"黄金",
style: TextStyle(
fontSize: 10.sp,
fontWeight: MyFontWeight.regular,
color: Color(0xFFA3A3A3),
),
),
],
),
),
Container(
width: 35.w,
height: 2.h,
decoration: new BoxDecoration(
color: Color(0xFFE1F2F7),
),
),
GestureDetector(
onTap: () {
state(() {
checkIndex = 4;
});
},
child: Column(
children: [
Image.asset(
"assets/image/qt_badge.png",
width: checkIndex != 4 ? 35 : 65,
height: checkIndex != 4 ? 35 : 65,
fit: BoxFit.cover,
),
SizedBox(height: 10),
Text(
"铂金",
style: TextStyle(
fontSize: 10.sp,
fontWeight: MyFontWeight.regular,
color: Color(0xFFA3A3A3),
),
),
],
),
),
],
),
],
),
),
);
});
},
);
}
}

558
lib/mine/mine_vip/mine_vip_core.dart

@ -0,0 +1,558 @@
import 'package:dio/dio.dart';
import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
import 'package:flutter_smart_dialog/flutter_smart_dialog.dart';
import 'package:flutter_swiper/flutter_swiper.dart';
import 'package:huixiang/generated/l10n.dart';
import 'package:huixiang/retrofit/data/base_data.dart';
import 'package:huixiang/retrofit/data/rank.dart';
import 'package:huixiang/retrofit/retrofit_api.dart';
import 'package:huixiang/utils/flutter_utils.dart';
import 'package:huixiang/utils/font_weight.dart';
import 'package:huixiang/view_widget/mine_vip_view.dart';
import 'package:flutter_screenutil/flutter_screenutil.dart';
import 'package:huixiang/view_widget/my_appbar.dart';
import 'package:huixiang/view_widget/vip_dialog.dart';
import 'package:shared_preferences/shared_preferences.dart';
class MineVipCore extends StatefulWidget {
final Map<String, dynamic> arguments;
MineVipCore({this.arguments});
@override
State<StatefulWidget> createState() {
return _MineVipCore();
}
}
class _MineVipCore extends State<MineVipCore> {
ApiService apiService;
List<Rank> ranks = [];
final SwiperController controller = SwiperController();
@override
void initState() {
super.initState();
SharedPreferences.getInstance().then((value) {
apiService =
ApiService(Dio(), context: context, token: value.getString("token"));
queryVipLevel();
});
}
queryVipLevel() async {
BaseData<List<Rank>> rankData = await apiService.rankList();
if (rankData != null && rankData.isSuccess) {
ranks.clear();
ranks.addAll(rankData.data);
setState(() {
controller.move((widget.arguments["rankLevel"] - 1), animation: false);
});
} else {
SmartDialog.showToast(rankData.msg, alignment: Alignment.center);
}
}
@override
Widget build(BuildContext context) {
return Scaffold(
appBar: MyAppBar(
title: S.of(context).huiyuanzhongxin,
titleColor: Colors.black,
titleSize: 18.sp,
background: Colors.transparent,
leadingColor: Colors.black,
),
body: SingleChildScrollView(
physics: BouncingScrollPhysics(),
child: Column(
children: [
///
Container(
height: (MediaQuery.of(context).size.width) /
1.78 *
AppUtils.textScale(context),
child: Swiper(
viewportFraction: 0.95,
loop: false,
physics: BouncingScrollPhysics(),
controller: controller,
itemBuilder: (context, position) {
return MineVipView(
vipLevel: !(ranks != null && ranks.isNotEmpty)
? widget.arguments["rankLevel"]
: position + 1,
curLevel: widget.arguments["rankLevel"],
tag: (widget.arguments["rankLevel"] == (position + 1) ||
!(ranks != null && ranks.isNotEmpty))
? "vip"
: "",
padding: 6.w,
rank: !(ranks != null && ranks.isNotEmpty)
? 0
: widget.arguments["points"],
rankMax: !(ranks != null && ranks.isNotEmpty)
? 0
: (position < (ranks.length - 1))
? ranks[position + 1].rankOrigin
: ranks[position].rankOrigin,
createTime: widget.arguments["createTime"],
);
},
itemCount:
(ranks != null && ranks.isNotEmpty) ? ranks.length : 1,
),
),
///
Container(
margin: EdgeInsets.fromLTRB(0, 16.h, 0, 0),
padding: EdgeInsets.fromLTRB(16.w, 16.h, 16.w, 16.h),
decoration: BoxDecoration(
color: Colors.white,
borderRadius: BorderRadius.only(
topLeft: Radius.circular(8),
topRight: Radius.circular(8),
),
),
child: Column(
mainAxisAlignment: MainAxisAlignment.start,
crossAxisAlignment: CrossAxisAlignment.start,
children: [
Row(
children: [
Container(
width: 4,
height: 18,
decoration: BoxDecoration(
gradient: new LinearGradient(
begin: Alignment.bottomCenter,
end: Alignment.topCenter,
colors: [
Color(0xFF000000),
Color(0xFF585858),
]),
),
),
SizedBox(
width: 4.w,
),
Text(
S.of(context).huiyuanquanyi,
style: TextStyle(
fontWeight: MyFontWeight.medium,
fontSize: 16.sp,
color: Colors.black,
),
),
],
),
SizedBox(
height: 12.h,
),
vipLegalRight(),
],
),
),
///
Container(
margin: EdgeInsets.fromLTRB(0, 16.h, 0, 0),
padding: EdgeInsets.fromLTRB(16.w, 16.h, 16.w, 16.h),
decoration: BoxDecoration(
color: Colors.white,
borderRadius: BorderRadius.only(
topLeft: Radius.circular(8),
topRight: Radius.circular(8),
),
),
child: Column(
mainAxisAlignment: MainAxisAlignment.start,
crossAxisAlignment: CrossAxisAlignment.start,
children: [
Row(
children: [
Container(
width: 4,
height: 18,
decoration: BoxDecoration(
gradient: new LinearGradient(
begin: Alignment.bottomCenter,
end: Alignment.topCenter,
colors: [
Color(0xFF000000),
Color(0xFF585858),
]),
),
),
SizedBox(
width: 4.w,
),
Text(
S.of(context).huiyuanguize,
style: TextStyle(
fontWeight: MyFontWeight.medium,
fontSize: 16.sp,
color: Colors.black,
),
),
],
),
SizedBox(
height: 12.h,
),
Padding(
padding: EdgeInsets.only(left: 8),
child: Text(
"会员共分为3个等级,分别是银卡会员、金卡会员、共创会员。其中,银卡会员和金卡会员由用户的消费金额决定,"
"消费金额越高,会员等级越高,享受到的会员权益也越多。而共创会员需要直接购买,但是它的权益包含银卡和金卡的,属于最高等级会员。",
style: TextStyle(
fontWeight: MyFontWeight.regular,
fontSize: 12.sp,
height: 1.5,
color: Color(0xFF4C4C4C),
),
),
),
],
),
),
///
Container(
margin: EdgeInsets.fromLTRB(0, 16.h, 0, 0),
padding: EdgeInsets.fromLTRB(16.w, 16.h, 16.w, 16.h),
decoration: BoxDecoration(
color: Colors.white,
borderRadius: BorderRadius.only(
topLeft: Radius.circular(8),
topRight: Radius.circular(8),
),
),
child: Column(
mainAxisAlignment: MainAxisAlignment.start,
crossAxisAlignment: CrossAxisAlignment.start,
children: [
Row(
children: [
Container(
width: 4,
height: 18,
decoration: BoxDecoration(
gradient: new LinearGradient(
begin: Alignment.bottomCenter,
end: Alignment.topCenter,
colors: [
Color(0xFF000000),
Color(0xFF585858),
]),
),
),
SizedBox(
width: 4.w,
),
Text(
S.of(context).huiyuanjibieduizhao,
style: TextStyle(
fontWeight: MyFontWeight.medium,
fontSize: 16.sp,
color: Colors.black,
),
),
],
),
SizedBox(
height: 12.h,
),
Image.asset(
"assets/image/vip_contrastive_table.png",
width: double.infinity,
height: 281,
),
SizedBox(
height: 16.h,
),
],
),
),
///
Container(
margin: EdgeInsets.fromLTRB(0, 16.h, 0, 0),
decoration: BoxDecoration(
color: Colors.white,
borderRadius: BorderRadius.only(
topLeft: Radius.circular(8),
topRight: Radius.circular(8),
),
),
child: Column(
mainAxisAlignment: MainAxisAlignment.start,
crossAxisAlignment: CrossAxisAlignment.start,
children: [
Container(
padding: EdgeInsets.fromLTRB(16.w, 16.h, 16.w, 16.h),
child: Column(
mainAxisAlignment: MainAxisAlignment.start,
crossAxisAlignment: CrossAxisAlignment.start,
children: [
Row(
children: [
Container(
width: 4,
height: 18,
decoration: BoxDecoration(
gradient: new LinearGradient(
begin: Alignment.bottomCenter,
end: Alignment.topCenter,
colors: [
Color(0xFF000000),
Color(0xFF585858),
]),
),
),
SizedBox(
width: 4.w,
),
Text(
S.of(context).huiyuanhuodejifen,
style: TextStyle(
fontWeight: MyFontWeight.medium,
fontSize: 16.sp,
color: Colors.black,
),
),
],
),
SizedBox(
height: 12.h,
),
Text(
"1.用户每消费1元可获得1个积分。",
style: TextStyle(
fontWeight: MyFontWeight.regular,
fontSize: 12.sp,
color: Color(0xFF4C4C4C),
),
),
SizedBox(
height: 8.h,
),
Text(
"2.通过完成积分详情-做任务得积分来获得积分。",
style: TextStyle(
fontWeight: MyFontWeight.regular,
fontSize: 12.sp,
color: Color(0xFF4C4C4C),
),
),
SizedBox(
height: 8.h,
),
Text(
"3.优惠金额无法累积积分,订单撤销或其他原因造成的未成功支付的订单,无法获得对应的积分。",
style: TextStyle(
fontWeight: MyFontWeight.regular,
fontSize: 12.sp,
height: 1.5,
color: Color(0xFF4C4C4C),
),
),
SizedBox(
height: 8.h,
),
],
),
),
InkWell(
onTap: () {
setState(() {
showAlertDialog();
});
},
child: Container(
decoration: BoxDecoration(
gradient: new LinearGradient(
begin: Alignment.centerLeft,
end: Alignment.centerRight,
colors: [
Color(0xFFFFDCA1),
Color(0xFFFAE4C0),
]),
),
width: MediaQuery.of(context).size.width,
padding: EdgeInsets.all(16),
height: 54,
alignment: Alignment.center,
child: Text(
"${S.of(context).lijikaitong}¥20000/永久",
style: TextStyle(
fontWeight: FontWeight.bold,
fontSize: 16.sp,
color: Color(0xFF4A4748),
),
),
),
)
],
),
),
],
),
),
);
}
Widget levelItem(Rank rank, rankOrigin, rankOriginMax) {
return Container(
margin: EdgeInsets.symmetric(vertical: 8.h),
child: Row(
mainAxisAlignment: MainAxisAlignment.center,
crossAxisAlignment: CrossAxisAlignment.center,
children: [
Expanded(
child: Text(
rank?.rankName ?? "",
textAlign: TextAlign.center,
style: TextStyle(
fontSize: 14.sp,
fontWeight: MyFontWeight.regular,
color: Color(0xFF353535),
),
),
flex: 1,
),
Expanded(
child: Text(
"$rankOrigin - ${rankOriginMax == 0 ? "无限" : rankOriginMax}",
textAlign: TextAlign.center,
style: TextStyle(
fontSize: 14.sp,
fontWeight: MyFontWeight.regular,
color: Color(0xFF353535),
),
),
flex: 1,
),
],
),
);
}
///
Widget vipLegalRight() {
return GridView.builder(
itemCount: 13,
shrinkWrap: true,
physics: NeverScrollableScrollPhysics(),
gridDelegate: SliverGridDelegateWithFixedCrossAxisCount(
//Widget数量
crossAxisCount: 4,
//Widget之间间距
crossAxisSpacing: 35,
//Widget之间间距
mainAxisSpacing: 10,
//Widget宽高比例
childAspectRatio: AppUtils.textScale(context) > 1
? (1 - ((AppUtils.textScale(context) - 1)))
: 0.85,
),
itemBuilder: (context, index) {
return GestureDetector(
onTap: () {
Navigator.of(context)
.pushNamed('/router/legal_right_details', arguments: {});
},
child: vipLegalRightItem(),
);
},
);
}
Widget vipLegalRightItem() {
return Container(
alignment: Alignment.center,
child: Column(
children: [
Stack(
alignment: Alignment.bottomCenter,
children: [
Opacity(
opacity: 0.3,
// MImage(
// "assets/image/badge_img.png",
// width: 80,
// height: 80,
// fit: BoxFit.cover,
// errorSrc: "assets/image/default_1.png",
// fadeSrc: "assets/image/default_1.png",
// ),
child: Image.asset(
"assets/image/vip_qy.png",
width: 36,
height: 36,
fit: BoxFit.cover,
),
),
Container(
decoration: new BoxDecoration(
color: Color(0xFFA29E9E),
borderRadius: BorderRadius.circular(7.0),
),
width: 52.w,
height: 15.h,
child: Row(
crossAxisAlignment: CrossAxisAlignment.center,
mainAxisAlignment: MainAxisAlignment.center,
children: [
Icon(
Icons.lock,
color: Color(0xFFFFDCA1),
size: 10,
),
Text(
"暂未开放",
style: TextStyle(
color: Color(0xFF181818),
fontWeight: MyFontWeight.regular,
fontSize: 9.sp,
),
),
],
),
)
],
),
SizedBox(
height: 5.h,
),
Text(
"储值优惠",
maxLines: 2,
overflow: TextOverflow.ellipsis,
textAlign: TextAlign.center,
style: TextStyle(
color: Color(0xFF181818),
fontWeight: MyFontWeight.regular,
fontSize: 12.sp,
),
),
],
),
);
}
///
showAlertDialog() {
//
showDialog(
context: context,
builder: (BuildContext context) {
return VipDialog();
},
);
}
}

2
lib/mine/mine_vip_level_page.dart

@ -279,7 +279,7 @@ class _MineVipLevelPage extends State<MineVipLevelPage> {
children: [
Expanded(
child: Text(
rank.rankName,
rank?.rankName ?? "",
textAlign: TextAlign.center,
style: TextStyle(
fontSize: 14.sp,

13
lib/order/exchange_history_page.dart

@ -375,7 +375,7 @@ class _ExchangeHistoryList extends State<ExchangeHistoryList> {
flex: 1,
),
Text(
"x1",
"x${(exchangeOrder.creditOrderDetailList[0].goodsNumber).toString()}",
style: TextStyle(
fontSize: 12.sp,
fontWeight: MyFontWeight.regular,
@ -399,7 +399,14 @@ class _ExchangeHistoryList extends State<ExchangeHistoryList> {
// width: 4,
// ),
Text(
S.of(context).shifujifen(exchangeOrder.amount),
exchangeOrder?.amount == null || exchangeOrder.amount == "0"
? ""
: S.of(context).shifujifen((exchangeOrder.amount)) +
( exchangeOrder?.creditOrderDetailList[0]?.money == null ||
exchangeOrder?.creditOrderDetailList[0]?.money ==
"0.00"
? ""
: " + ${double.parse(exchangeOrder?.creditOrderDetailList[0]?.money.toString()) * exchangeOrder?.creditOrderDetailList[0].goodsNumber}"),
style: TextStyle(
fontSize: 12.sp,
fontWeight: MyFontWeight.semi_bold,
@ -446,7 +453,7 @@ class _ExchangeHistoryList extends State<ExchangeHistoryList> {
receive2Card(id) async {
BaseData baseData = await apiService.creditOrderReceive(id);
if (baseData != null && baseData.isSuccess) {
queryHistory();
_refresh();
}
}

198
lib/order/exchange_order_page.dart

@ -11,7 +11,6 @@ import 'package:huixiang/retrofit/data/user_info.dart';
import 'package:huixiang/retrofit/data/wx_pay.dart';
import 'package:huixiang/retrofit/retrofit_api.dart';
import 'package:huixiang/utils/font_weight.dart';
import 'package:huixiang/utils/min.dart';
import 'package:huixiang/view_widget/my_appbar.dart';
import 'package:huixiang/view_widget/round_button.dart';
import 'package:shared_preferences/shared_preferences.dart';
@ -33,6 +32,7 @@ class _ExchangeOrderPage extends State<ExchangeOrderPage> {
ApiService apiService;
String money = "0";
String balance = "0";
int buyNum = 1;
var checkIndex = 1;
@override
@ -59,12 +59,12 @@ class _ExchangeOrderPage extends State<ExchangeOrderPage> {
background: Color(0xFFFAFAFA),
leadingColor: Colors.black,
),
body: SingleChildScrollView(
body: Stack(children: [
SingleChildScrollView(
physics: BouncingScrollPhysics(),
child: Column(
children: [
Column(
children: [
widget.arguments["useTyped"] == 1?
Container(
margin:
EdgeInsets.only(left: 16, right: 16, top: 26, bottom: 8),
@ -226,7 +226,7 @@ class _ExchangeOrderPage extends State<ExchangeOrderPage> {
),
],
),
),
):
Container(
margin:
EdgeInsets.only(left: 16, right: 16, top: 26, bottom: 8),
@ -379,15 +379,15 @@ class _ExchangeOrderPage extends State<ExchangeOrderPage> {
fontWeight: FontWeight.bold,
color: Color(0xFF353535)),
),
SizedBox(
height: 4.h,
),
Text(
"x1",
style: TextStyle(
fontSize: 12.sp,
color: Color(0xFF727272)),
),
// SizedBox(
// height: 4.h,
// ),
// Text(
// "x1",
// style: TextStyle(
// fontSize: 12.sp,
// color: Color(0xFF727272)),
// ),
],
),
),
@ -411,10 +411,17 @@ class _ExchangeOrderPage extends State<ExchangeOrderPage> {
width: 12,
),
Text(
S.of(context).jifen_(widget.arguments["price"]),
widget.arguments["payType"] == 1 ? "${double.parse(widget.arguments["onePrice"])*buyNum}积分":
((widget.arguments["price"] == null || widget.arguments["price"] == "0"
? ""
: "${double.parse(widget.arguments["price"])*buyNum}积分") +
(widget.arguments["money"] == null || widget.arguments["money"] == "0.00"
? ""
: " + ${double.parse(widget.arguments["money"])*buyNum}")),
style: TextStyle(
fontSize: 12,
color: Colors.black,
decoration:(widget.arguments["payType"] == 3) ? TextDecoration.lineThrough:TextDecoration.none,
color: Color(0xFF32A060),
),
),
],
@ -422,6 +429,7 @@ class _ExchangeOrderPage extends State<ExchangeOrderPage> {
SizedBox(
height: 12,
),
if(widget.arguments["payType"] == 3)
Row(
mainAxisAlignment: MainAxisAlignment.spaceBetween,
crossAxisAlignment: CrossAxisAlignment.center,
@ -435,7 +443,7 @@ class _ExchangeOrderPage extends State<ExchangeOrderPage> {
width: 12,
),
Text(
S.of(context).jifen_(widget.arguments["price"]),
"${double.parse(widget.arguments["oneMoney"])*buyNum}",
style: TextStyle(
fontSize: 12,
color: Colors.black,
@ -459,7 +467,7 @@ class _ExchangeOrderPage extends State<ExchangeOrderPage> {
width: 12.w,
),
Text(
S.of(context).jifen_(widget.arguments["price"]),
handleNeedPay(),
style: TextStyle(
fontSize: 12.sp, color: Color(0xFF32A060)),
),
@ -497,6 +505,10 @@ class _ExchangeOrderPage extends State<ExchangeOrderPage> {
)),
InkWell(
onTap: () {
setState(() {
if(buyNum > 1)
buyNum -= 1;
});
},
child: Image.asset(
"assets/image/reduce.png",
@ -508,7 +520,7 @@ class _ExchangeOrderPage extends State<ExchangeOrderPage> {
width: 30,
alignment: Alignment.center,
child: Text(
"1",
buyNum.toString(),
style: TextStyle(
color: Colors.black,
fontSize: 14.sp,
@ -518,6 +530,18 @@ class _ExchangeOrderPage extends State<ExchangeOrderPage> {
),
InkWell(
onTap: () {
setState(() {
if(widget.arguments["payType"] == 1 ?
(double.parse(widget.arguments["onePrice"])*(buyNum+1))
> double.parse(points):
(widget.arguments["price"] == null || widget.arguments["price"] == "0"
? false
: (double.parse(widget.arguments["price"])*(buyNum+1)) > double.parse(points))){
SmartDialog.showToast("您的积分不足", alignment: Alignment.center);
return;
}
buyNum += 1;
});
},
child: Image.asset(
"assets/image/add.png",
@ -530,6 +554,9 @@ class _ExchangeOrderPage extends State<ExchangeOrderPage> {
],
),
),
if(widget.arguments["payType"] == 3 ||
(widget.arguments["payType"] == 2 &&
widget.arguments["money"] != "0.00"))
Container(
width: double.infinity,
margin: EdgeInsets.only(
@ -681,77 +708,10 @@ class _ExchangeOrderPage extends State<ExchangeOrderPage> {
],
),
),
// GestureDetector(
// onTap: () {
// if (!storeIsSelected) return;
// creditOrder();
// },
// child: Container(
// padding: EdgeInsets.only(top: 16, bottom: 16),
// decoration: BoxDecoration(
// color: MaterialStateColor.resolveWith((states) =>
// storeIsSelected ? Color(0xFF32A060) : Color(0xFFD8D8D8)),
// borderRadius: BorderRadius.only(
// topLeft: Radius.circular(4),
// topRight: Radius.circular(4))),
// alignment: Alignment.center,
// child: Text(
// S.of(context).querenduihuan,
// style: TextStyle(
// fontSize: 16.sp,
// color: MaterialStateColor.resolveWith((states) =>
// storeIsSelected ? Colors.white : Color(0xFFA0A0A0)),
// fontWeight: FontWeight.bold),
// ),
// ),
// ),
Container(
height: 54.h,
color: Colors.white,
child: Row(
children: [
Spacer(),
Padding(padding: EdgeInsets.only(top: 7,right: 16),
child:Column(
crossAxisAlignment: CrossAxisAlignment.center,
children: [
Text(
S.of(context).heji,
style: TextStyle(
fontSize: 12.sp,
fontWeight: MyFontWeight.regular,
color: Colors.black,
),
),
Text(
"¥0.0",
style: TextStyle(
fontSize: 16.sp,
fontWeight: MyFontWeight.medium,
color: Color(0xFF32A060),
),
),
SizedBox(height: 40)
],
)),
GestureDetector(
onTap: () {
},
child: RoundButton(
width: 103.w,
height: 54.h,
text: S.current.jiesuan,
textColor: Colors.white,
fontWeight: MyFontWeight.regular,
backgroup: Color(0xFF32A060),
radius: 0,
fontSize: 16.sp,
padding: EdgeInsets.symmetric(vertical: 5.h),
),
),
],
),
),
Align(alignment: Alignment.bottomCenter,child:
Container(
height: 54.h,
color: Colors.white,
@ -770,8 +730,7 @@ class _ExchangeOrderPage extends State<ExchangeOrderPage> {
color: Colors.black,
),
),
Text(
S.of(context).jifen_(widget.arguments["price"]),
Text(handleNeedPay(),
style: TextStyle(
fontSize: 16.sp,
fontWeight: MyFontWeight.medium,
@ -788,7 +747,10 @@ class _ExchangeOrderPage extends State<ExchangeOrderPage> {
child: RoundButton(
width: 103.w,
height: 54.h,
text: S.current.duihuan,
text: widget.arguments["payType"] == 3 ||
(widget.arguments["payType"] == 2 &&
widget.arguments["money"] != "0.00") ?
S.current.jiesuan : S.current.duihuan,
textColor: Colors.white,
fontWeight: MyFontWeight.regular,
backgroup: Color(0xFF32A060),
@ -799,19 +761,20 @@ class _ExchangeOrderPage extends State<ExchangeOrderPage> {
),
],
),
),
],
),
// Expanded(
// child:
// ),
],
) ,),
))
],)
);
}
String handleNeedPay(){
return widget.arguments["payType"] == 1 ?
"${double.parse(widget.arguments["onePrice"])*buyNum}积分".toString() : (widget.arguments["payType"] == 2
? ((widget.arguments["price"] == null || widget.arguments["price"] == "0"
? "" : "${double.parse(widget.arguments["price"]) * buyNum}积分") +
(widget.arguments["money"] == null || widget.arguments["money"] == "0.00"
? "" : " + ${double.parse(widget.arguments["money"])*buyNum}")):"${double.parse(widget.arguments["oneMoney"])*buyNum}");
}
Widget checkPayView(var index) {
return Container(
padding: EdgeInsets.only(right: 16.w),
@ -849,6 +812,7 @@ class _ExchangeOrderPage extends State<ExchangeOrderPage> {
setState(() {});
}
///
creditOrder() async {
if (widget.arguments["useTyped"] == 1 &&
(storeId == null || storeId == "")) {
@ -862,18 +826,22 @@ class _ExchangeOrderPage extends State<ExchangeOrderPage> {
}
BaseData baseDate = await apiService.creditOrder({
"goodsId": widget.arguments["goodsId"],
"number": 1,
"isOneSell":widget.arguments["payType"] != 2,
"number": buyNum,
"useTyped": widget.arguments["useTyped"],
"payChannel":checkIndex == 3?"1":"4",
"payChannel":handleNeedPay().contains("") ? (checkIndex == 3?"1":"4") : "0",
if (widget.arguments["useTyped"] == 1) "storeId": storeId,
if (widget.arguments["useTyped"] == 2) "userAddressId": userAddressId,
});
if (baseDate.isSuccess) {
if(checkIndex == 3){
if((widget.arguments["payType"] == 3 ||
(widget.arguments["payType"] == 2 &&
widget.arguments["money"] != "0.00")) &&
checkIndex == 3){
// if (!(await Min.isInitialize())) {
// // app的充值支付使用同一个WXPayEntryActivity回调
// // getPackage空指针
// //
// app的充值支付使用同一个WXPayEntryActivity回调
// getPackage空指针
//
// await Min.initialize();
// }
WxPay wxPay = WxPay.fromJson(baseDate.data);
@ -894,9 +862,16 @@ class _ExchangeOrderPage extends State<ExchangeOrderPage> {
weChatResponseEventHandler.listen((event) async {
print("payCallback: ${event.errCode}");
Navigator.of(context).popAndPushNamed(
'/router/order_details',
'/router/exchange_order_success_page',
arguments: {
"id": widget.arguments["goodsId"],
"price": (widget.arguments["payType"] == 1 ?
(double.parse(widget.arguments["onePrice"])*buyNum).toString():
(widget.arguments["price"] == null || widget.arguments["price"] == "0"
? "0"
: (double.parse(widget.arguments["price"])*buyNum).toString())),
"points": points,
"payChannel":widget.arguments["payChannel"],
},
);
});
@ -904,8 +879,13 @@ class _ExchangeOrderPage extends State<ExchangeOrderPage> {
}
await Navigator.of(context)
.pushNamed('/router/exchange_order_success_page', arguments: {
"price": widget.arguments["price"],
"price": (widget.arguments["payType"] == 1 ?
(double.parse(widget.arguments["onePrice"])*buyNum).toString():
(widget.arguments["price"] == null || widget.arguments["price"] == "0"
? "0"
: (double.parse(widget.arguments["price"])*buyNum).toString())),
"points": points,
"payChannel":widget.arguments["payChannel"],
"id": baseDate.data
});
points =

45
lib/order/exchange_order_success_page.dart

@ -9,7 +9,6 @@ import 'package:huixiang/retrofit/retrofit_api.dart';
import 'package:huixiang/utils/font_weight.dart';
import 'package:huixiang/view_widget/border_text.dart';
import 'package:huixiang/view_widget/my_appbar.dart';
import 'package:huixiang/view_widget/round_button.dart';
import 'package:shared_preferences/shared_preferences.dart';
import 'package:flutter_screenutil/flutter_screenutil.dart';
@ -30,8 +29,8 @@ class _ExchangeOrderSuccessPage extends State<ExchangeOrderSuccessPage> {
@override
void initState() {
super.initState();
price = int.tryParse(widget.arguments["points"]) -
int.tryParse(widget.arguments["price"]);
price = double.parse((widget.arguments["points"] ?? "0").toString()).toInt() -
double.parse((widget.arguments["price"] ?? "0").toString()).toInt();
UserInfo userInfo;
SharedPreferences.getInstance().then((value){
@ -172,26 +171,26 @@ class _ExchangeOrderSuccessPage extends State<ExchangeOrderSuccessPage> {
SizedBox(
width: 16.w,
),
Expanded(
child: InkWell(
onTap: () {
receiveToCard();
},
child: RoundButton(
text: S.of(context).lingqudaokabao,
textColor: Colors.white,
backgroup: Color(0xFF32A060),
radius: 4,
fontWeight: MyFontWeight.semi_bold,
fontSize: 16.sp,
padding: EdgeInsets.only(top: 12.h, bottom: 12.h),
),
),
flex: 1,
),
SizedBox(
width: 16.w,
),
// Expanded(
// child: InkWell(
// onTap: () {
// receiveToCard();
// },
// child: RoundButton(
// text: S.of(context).lingqudaokabao,
// textColor: Colors.white,
// backgroup: Color(0xFF32A060),
// radius: 4,
// fontWeight: MyFontWeight.semi_bold,
// fontSize: 16.sp,
// padding: EdgeInsets.only(top: 12.h, bottom: 12.h),
// ),
// ),
// flex: 1,
// ),
// SizedBox(
// width: 16.w,
// ),
],
)
],

3
lib/retrofit/data/exchange_order_goods.dart

@ -14,6 +14,7 @@ class ExchangeOrderGoods {
String description;
String worth;
String price;
String money;
String couponId;
bool canPick;
bool canDelivery;
@ -36,6 +37,7 @@ class ExchangeOrderGoods {
..description = json['description'] as String
..worth = json['worth'] as String
..price = json['price'] as String
..money = json['money'] as String
..couponId = json['couponId'] as String
..canPick = json['canPick'] as bool
..canDelivery = json['canDelivery'] as bool
@ -57,6 +59,7 @@ class ExchangeOrderGoods {
'description': this.description,
'worth': this.worth,
'price': this.price,
'money': this.money,
'couponId': this.couponId,
'canPick': this.canPick,
'canDelivery': this.canDelivery,

241
lib/retrofit/data/goods.dart

@ -1,53 +1,31 @@
/// id : "1420627244354633728"
/// createTime : "2021-07-29 14:08:24"
/// createUser : "1"
/// updateTime : "2021-11-10 13:59:42"
/// updateUser : "1"
/// categoryId : "2"
/// storeId : "0"
/// name : "回乡"
/// description : "免费拿,一人发一个!"
/// detail : "<p>(1) 兑换商品中所要求的积分达到方可兑换</p>\n<p>(2)先到先得</p>"
/// worth : "9999.00"
/// price : "1"
/// money : "2.00"
/// onePrice : "0"
/// oneMoney : "0.00"
/// stock : 28
/// sales : 22
/// isHot : true
/// sortOrder : 6
/// state : 1
/// canPick : true
/// canDelivery : true
/// isDelete : 0
/// categoryName : null
/// mainImgPath : "https://pos.upload.gznl.top/0000/2021/07/bd3a1387-02a0-4ad9-9505-f4c43b26aa3b.png"
/// viceImgPaths : ["https://pos.upload.gznl.top/0000/2021/07/bd3a1387-02a0-4ad9-9505-f4c43b26aa3b.png","https://pos.upload.gznl.top/0000/2021/07/bd3a1387-02a0-4ad9-9505-f4c43b26aa3b.png"]
class Goods {
String _id;
String _createTime;
String _createUser;
String _updateTime;
String _updateUser;
String _categoryId;
String _storeId;
String _name;
String _description;
String _worth;
String _price;
String _detail;
int _stock;
int _sales;
bool _isHot;
int _sortOrder;
int _state;
bool _canPick;
bool _canDelivery;
int _isDelete;
dynamic _categoryName;
String _mainImgPath;
List<String> _viceImgPaths;
String get id => _id;
String get createTime => _createTime;
String get createUser => _createUser;
String get updateTime => _updateTime;
String get updateUser => _updateUser;
String get categoryId => _categoryId;
String get storeId => _storeId;
String get name => _name;
String get description => _description;
String get worth => _worth;
String get price => _price;
String get detail => _detail;
int get stock => _stock;
int get sales => _sales;
bool get isHot => _isHot;
int get sortOrder => _sortOrder;
int get state => _state;
bool get canPick => _canPick;
bool get canDelivery => _canDelivery;
int get isDelete => _isDelete;
dynamic get categoryName => _categoryName;
String get mainImgPath => _mainImgPath;
List<String> get viceImgPaths => _viceImgPaths;
Goods({
String id,
String createTime,
@ -58,9 +36,12 @@ class Goods {
String storeId,
String name,
String description,
String detail,
String worth,
String price,
String detail,
String money,
String onePrice,
String oneMoney,
int stock,
int sales,
bool isHot,
@ -71,7 +52,7 @@ class Goods {
int isDelete,
dynamic categoryName,
String mainImgPath,
List<String> viceImgPaths}){
List<String> viceImgPaths,}){
_id = id;
_createTime = createTime;
_createUser = createUser;
@ -81,9 +62,12 @@ class Goods {
_storeId = storeId;
_name = name;
_description = description;
_detail = detail;
_worth = worth;
_price = price;
_detail = detail;
_money = money;
_onePrice = onePrice;
_oneMoney = oneMoney;
_stock = stock;
_sales = sales;
_isHot = isHot;
@ -95,59 +79,118 @@ class Goods {
_categoryName = categoryName;
_mainImgPath = mainImgPath;
_viceImgPaths = viceImgPaths;
}
}
Goods.fromJson(dynamic json) {
_id = json["id"];
_createTime = json["createTime"];
_createUser = json["createUser"];
_updateTime = json["updateTime"];
_updateUser = json["updateUser"];
_categoryId = json["categoryId"];
_storeId = json["storeId"];
_name = json["name"];
_description = json["description"];
_worth = json["worth"];
_price = json["price"];
_detail = json["detail"];
_stock = json["stock"];
_sales = json["sales"];
_isHot = json["isHot"];
_sortOrder = json["sortOrder"];
_state = json["state"];
_canPick = json["canPick"];
_canDelivery = json["canDelivery"];
_isDelete = json["isDelete"];
_categoryName = json["categoryName"];
_mainImgPath = json["mainImgPath"];
_viceImgPaths = json["viceImgPaths"] != null ? json["viceImgPaths"].cast<String>() : [];
_id = json['id'];
_createTime = json['createTime'];
_createUser = json['createUser'];
_updateTime = json['updateTime'];
_updateUser = json['updateUser'];
_categoryId = json['categoryId'];
_storeId = json['storeId'];
_name = json['name'];
_description = json['description'];
_detail = json['detail'];
_worth = json['worth'];
_price = json['price'];
_money = json['money'];
_onePrice = json['onePrice'];
_oneMoney = json['oneMoney'];
_stock = json['stock'];
_sales = json['sales'];
_isHot = json['isHot'];
_sortOrder = json['sortOrder'];
_state = json['state'];
_canPick = json['canPick'];
_canDelivery = json['canDelivery'];
_isDelete = json['isDelete'];
_categoryName = json['categoryName'];
_mainImgPath = json['mainImgPath'];
_viceImgPaths = json['viceImgPaths'] != null ? json['viceImgPaths'].cast<String>() : [];
}
String _id;
String _createTime;
String _createUser;
String _updateTime;
String _updateUser;
String _categoryId;
String _storeId;
String _name;
String _description;
String _detail;
String _worth;
String _price;
String _money;
String _onePrice;
String _oneMoney;
int _stock;
int _sales;
bool _isHot;
int _sortOrder;
int _state;
bool _canPick;
bool _canDelivery;
int _isDelete;
dynamic _categoryName;
String _mainImgPath;
List<String> _viceImgPaths;
String get id => _id;
String get createTime => _createTime;
String get createUser => _createUser;
String get updateTime => _updateTime;
String get updateUser => _updateUser;
String get categoryId => _categoryId;
String get storeId => _storeId;
String get name => _name;
String get description => _description;
String get detail => _detail;
String get worth => _worth;
String get price => _price;
String get money => _money;
String get onePrice => _onePrice;
String get oneMoney => _oneMoney;
int get stock => _stock;
int get sales => _sales;
bool get isHot => _isHot;
int get sortOrder => _sortOrder;
int get state => _state;
bool get canPick => _canPick;
bool get canDelivery => _canDelivery;
int get isDelete => _isDelete;
dynamic get categoryName => _categoryName;
String get mainImgPath => _mainImgPath;
List<String> get viceImgPaths => _viceImgPaths;
Map<String, dynamic> toJson() {
var map = <String, dynamic>{};
map["id"] = _id;
map["createTime"] = _createTime;
map["createUser"] = _createUser;
map["updateTime"] = _updateTime;
map["updateUser"] = _updateUser;
map["categoryId"] = _categoryId;
map["storeId"] = _storeId;
map["name"] = _name;
map["description"] = _description;
map["worth"] = _worth;
map["price"] = _price;
map["detail"] = _detail;
map["stock"] = _stock;
map["sales"] = _sales;
map["isHot"] = _isHot;
map["sortOrder"] = _sortOrder;
map["state"] = _state;
map["canPick"] = _canPick;
map["canDelivery"] = _canDelivery;
map["isDelete"] = _isDelete;
map["categoryName"] = _categoryName;
map["mainImgPath"] = _mainImgPath;
map["viceImgPaths"] = _viceImgPaths;
final map = <String, dynamic>{};
map['id'] = _id;
map['createTime'] = _createTime;
map['createUser'] = _createUser;
map['updateTime'] = _updateTime;
map['updateUser'] = _updateUser;
map['categoryId'] = _categoryId;
map['storeId'] = _storeId;
map['name'] = _name;
map['description'] = _description;
map['detail'] = _detail;
map['worth'] = _worth;
map['price'] = _price;
map['money'] = _money;
map['onePrice'] = _onePrice;
map['oneMoney'] = _oneMoney;
map['stock'] = _stock;
map['sales'] = _sales;
map['isHot'] = _isHot;
map['sortOrder'] = _sortOrder;
map['state'] = _state;
map['canPick'] = _canPick;
map['canDelivery'] = _canDelivery;
map['isDelete'] = _isDelete;
map['categoryName'] = _categoryName;
map['mainImgPath'] = _mainImgPath;
map['viceImgPaths'] = _viceImgPaths;
return map;
}

5
lib/retrofit/data/rank.dart

@ -13,6 +13,7 @@ class Rank {
String _createTime;
String _createUser;
String _id;
String _price;
String _rankContent;
String _rankImg;
String _rankName;
@ -24,6 +25,7 @@ class Rank {
String get createTime => _createTime;
String get createUser => _createUser;
String get id => _id;
String get price => _price;
String get rankContent => _rankContent;
String get rankImg => _rankImg;
String get rankName => _rankName;
@ -46,6 +48,7 @@ class Rank {
_createTime = createTime;
_createUser = createUser;
_id = id;
_price = price;
_rankContent = rankContent;
_rankImg = rankImg;
_rankName = rankName;
@ -59,6 +62,7 @@ class Rank {
_createTime = json["createTime"];
_createUser = json["createUser"];
_id = json["id"];
_price = json["price"];
_rankContent = json["rankContent"];
_rankImg = json["rankImg"];
_rankName = json["rankName"];
@ -73,6 +77,7 @@ class Rank {
map["createTime"] = _createTime;
map["createUser"] = _createUser;
map["id"] = _id;
map["price"] = _price;
map["rankContent"] = _rankContent;
map["rankImg"] = _rankImg;
map["rankName"] = _rankName;

8
lib/retrofit/retrofit_api.dart

@ -48,15 +48,15 @@ part 'retrofit_api.g.dart';
// const base_url = "https://pos.platform.lotus-wallet.com/app/"; ///
// const baseUrl = "https://pos.platform.lotus-wallet.com/app/"; ///
const base_url = "http://192.168.10.236:8766/app/"; ///
const baseUrl = "http://192.168.10.236:8766/app/"; ///
// const base_url = "http://192.168.10.236:8766/app/"; ///
// const baseUrl = "http://192.168.10.236:8766/app/"; ///
// const base_url = "http://192.168.10.37:8766/app/";
// const baseUrl = "http://192.168.10.37:8766/app/";
// const base_url = "http://192.168.10.130:8766/app/";///
// const baseUrl = "http://192.168.10.130:8766/app/";///
const base_url = "http://192.168.10.130:8766/app/";///
const baseUrl = "http://192.168.10.130:8766/app/";///
@RestApi(baseUrl: baseUrl)
abstract class ApiService {

2
lib/retrofit/retrofit_api.g.dart

@ -9,7 +9,7 @@ part of 'retrofit_api.dart';
class _ApiService implements ApiService {
_ApiService(this._dio, {this.baseUrl}) {
ArgumentError.checkNotNull(_dio, '_dio');
baseUrl ??= 'http://192.168.10.236:8766/app/';
baseUrl ??= 'http://192.168.10.130:8766/app/';
}
final Dio _dio;

2
lib/store/store_view/product_sku.dart

@ -137,7 +137,7 @@ class _ProductSku extends State<ProductSku> {
Padding(
padding: EdgeInsets.only(top: 4, bottom: 7),
child: Text(
"已选: " +
": " +
(selectSkus.map((e) => "$e").toList().toString()),
style: TextStyle(
color: Color(0xFF727272),

112
lib/view_widget/mine_vip_view.dart

@ -56,61 +56,62 @@ class MineVipView extends StatelessWidget {
} else if (vipLevel < curLevel) {
topLeft = S.of(context).shangyidengji;
} else {
topLeft = S.of(context).xiayidengji;
topLeft = S.of(context).zanweikaitong;
}
switch (vipLevel) {
case 1:
{
linearColor = [
Color(0xFFD6F6F3),
Color(0xFF86BEBA),
];
levelColor = Color(0xFF558B87);
levelText = "LV1 ${S.of(context).qingtonghuiyuan}";
break;
}
case 2:
{
linearColor = [
Color(0xFFF2F2F2),
Color(0xFFBEBEBE),
Color(0xFFCCCCCC),
];
levelColor = Color(0xFF575757);
textColor = Color(0xFF575757);
levelText = "LV2 ${S.of(context).baiyinhuiyuan}";
levelText = "VIP ${S.of(context).yinkahuiyuan}";
break;
}
case 3:
case 2:
{
linearColor = [
Color(0xFFFEF5DC),
Color(0xFFD1B97D),
];
levelColor = Color(0xFFAE9B6D);
levelText = "LV3 ${S.of(context).huangjinhuiyuan}";
textColor = Color(0xFF93723B);
levelText = "VIP ${S.of(context).jinkahuiyuan}";
break;
}
case 4:
{
linearColor = [
Color(0xFFEEEEEF),
Color(0xFFA999DB),
];
levelColor = Color(0xFF887CB4);
levelText = "LV4 ${S.of(context).zuanshihuiyuan}";
break;
}
case 5:
case 3:
{
linearColor = [
Color(0xFFEEEEEF),
Color(0xFF000000),
];
levelColor = Color(0xFF000000);
levelText = "LV5 ${S.of(context).zhizunhuiyuan}";
levelText = "VIP ${S.of(context).gongchuanghuiyuan}";
break;
}
// case 4:
// {
// linearColor = [
// Color(0xFFEEEEEF),
// Color(0xFFA999DB),
// ];
// levelColor = Color(0xFF887CB4);
// levelText = "LV4 ${S.of(context).zuanshihuiyuan}";
// break;
// }
// case 5:
// {
// linearColor = [
// Color(0xFFEEEEEF),
// Color(0xFF000000),
// ];
// levelColor = Color(0xFF000000);
// levelText = "LV5 ${S.of(context).zhizunhuiyuan}";
// break;
// }
}
bool isUserVip = (userInfo == null);
@ -214,9 +215,12 @@ class MineVipView extends StatelessWidget {
children: [
Expanded(
child: Text(
// rank > rankMax
// ? S.of(context).dangqiandengji
// : "${S.of(context).jifen_(rankMax - rank)} ${S.of(context).daoxiayidengji}",
rank > rankMax
? S.of(context).dangqiandengji
: "${S.of(context).jifen_(rankMax - rank)} ${S.of(context).daoxiayidengji}",
: "消费¥20000 升级为金卡",
overflow: TextOverflow.ellipsis,
style: TextStyle(
color: textColor,
@ -263,28 +267,28 @@ class MineVipView extends StatelessWidget {
),
),
// if (isUserVip)
// Row(
// mainAxisAlignment: MainAxisAlignment.spaceBetween,
// crossAxisAlignment: CrossAxisAlignment.center,
// children: [
// Text(
// S.of(context).kaitongriqi(
// (createTime != null && createTime != "")
// ? createTime.split(" ")[0]
// : "$createTime"),
// style: TextStyle(
// color: textColor,
// fontWeight: MyFontWeight.regular,
// fontSize: 12.sp,
// ),
// ),
// Icon(
// Icons.qr_code,
// size: 24,
// color: Colors.white,
// ),
// ],
// ),
Row(
mainAxisAlignment: MainAxisAlignment.spaceBetween,
crossAxisAlignment: CrossAxisAlignment.center,
children: [
Text(
S.of(context).kaitongriqi(
(createTime != null && createTime != "")
? createTime.split(" ")[0]
: "$createTime"),
style: TextStyle(
color: textColor,
fontWeight: MyFontWeight.regular,
fontSize: 12.sp,
),
),
Icon(
Icons.qr_code,
size: 24,
color:textColor,
),
],
),
],
),
),
@ -303,8 +307,14 @@ class MineVipView extends StatelessWidget {
LoginTipsDialog().show(context);
return;
}
// Navigator.of(context)
// .pushNamed('/router/mine_vip_level_page', arguments: {
// "rankLevel": curLevel,
// "createTime": (userInfo != null) ? "${userInfo.createTime}" : "",
// "points": (userInfo != null) ? int.tryParse(userInfo.points) : 0,
// });
Navigator.of(context)
.pushNamed('/router/mine_vip_level_page', arguments: {
.pushNamed('/router/mine_vip_core', arguments: {
"rankLevel": curLevel,
"createTime": (userInfo != null) ? "${userInfo.createTime}" : "",
"points": (userInfo != null) ? int.tryParse(userInfo.points) : 0,

4
lib/view_widget/receive_success.dart

@ -98,8 +98,8 @@ class ReceiveSuccess extends StatelessWidget {
Image.asset(
"assets/image/icon_order_success.png",
fit: BoxFit.cover,
width: 80.w,
height: 80.h,
width: 80,
height: 80,
),
],
)

206
lib/view_widget/vip_dialog.dart

@ -0,0 +1,206 @@
import 'package:flutter/material.dart';
import 'package:huixiang/generated/l10n.dart';
import 'package:huixiang/utils/font_weight.dart';
import 'package:flutter_screenutil/flutter_screenutil.dart';
class VipDialog extends StatelessWidget {
@override
Widget build(BuildContext context) {
return SimpleDialog(
titlePadding: EdgeInsets.all(10),
backgroundColor: Colors.transparent,
elevation: 0,
shape: RoundedRectangleBorder(
borderRadius: BorderRadius.circular(6),
),
children: <Widget>[
Stack(
alignment: Alignment.topCenter,
children: [
Container(
margin: EdgeInsets.only(top: 40.h),
decoration: BoxDecoration(
color: Colors.white,
borderRadius: BorderRadius.circular(8),),
child:SingleChildScrollView(
physics: BouncingScrollPhysics(),
child: Column(
children: [
Container(
alignment: Alignment.center,
width:double.infinity,
height: 92,
padding: EdgeInsets.only(top: 50.h, bottom: 19.h),
decoration: BoxDecoration(
color: Colors.black,
borderRadius: BorderRadius.only(
topLeft: Radius.circular(8),
topRight: Radius.circular(8),
),),
child:Text(
"${S.of(context).gongxinchengwei}银卡会员",
style: TextStyle(
color: Colors.white,
fontSize: 18.sp,
fontWeight: FontWeight.bold,
),
),
),
Container(
child: Column(
children: [
Padding(
padding: EdgeInsets.only(top:16.h, bottom: 19.h),
child: Text(
S.of(context).huodequanyi,
style: TextStyle(
color: Colors.black,
fontSize: 14.sp,
fontWeight:MyFontWeight.medium,
),
),
),
// vipUpgrade(),
Container(
margin: EdgeInsets.only(left: 32,right: 32,bottom: 20),
decoration: BoxDecoration(
gradient: new LinearGradient(
begin: Alignment.centerLeft,
end: Alignment.centerRight,
colors: [
Color(0xFFFFDCA1),
Color(0xFFFAE4C0),
]),
borderRadius: BorderRadius.circular(22.5),
),
width: MediaQuery.of(context).size.width,
height: 40,
alignment: Alignment.center,
child: Text(
S.of(context).chakanquanyi,
style: TextStyle(
fontWeight: FontWeight.bold,
fontSize: 16.sp,
color: Color(0xFF4A4748),
),
),
),
],
),
),
],
),
),
),
Image.asset(
"assets/image/vip_yk.png",
fit: BoxFit.cover,
width: 76,
height: 76,
),
],
),
],
);
}
///
Widget vipUpgrade() {
return GridView.builder(
itemCount:9,
shrinkWrap: true,
physics: NeverScrollableScrollPhysics(),
gridDelegate: SliverGridDelegateWithFixedCrossAxisCount(
//Widget数量
crossAxisCount:3,
//Widget之间间距
crossAxisSpacing:10,
//Widget之间间距
mainAxisSpacing: 10,
),
itemBuilder: (context, index) {
return GestureDetector(
onTap: () {
Navigator.of(context)
.pushNamed('/router/legal_right_details', arguments: {});
},
child: vipUpgradeItem(),
);
},
);
}
Widget vipUpgradeItem() {
return Container(
alignment: Alignment.center,
child: Column(
children: [
Stack(
alignment: Alignment.bottomCenter,
children: [
Opacity(
opacity: 0.3,
// MImage(
// "assets/image/badge_img.png",
// width: 80,
// height: 80,
// fit: BoxFit.cover,
// errorSrc: "assets/image/default_1.png",
// fadeSrc: "assets/image/default_1.png",
// ),
child: Image.asset(
"assets/image/vip_qy.png",
width: 36,
height: 36,
fit: BoxFit.cover,
),
),
Container(
decoration: new BoxDecoration(
color: Color(0xFFA29E9E),
borderRadius: BorderRadius.circular(7.0),
),
width: 52.w,
height: 15.h,
child: Row(
crossAxisAlignment: CrossAxisAlignment.center,
mainAxisAlignment: MainAxisAlignment.center,
children: [
Icon(
Icons.lock,
color: Color(0xFFFFDCA1),
size: 10,
),
Text(
"暂未开放",
style: TextStyle(
color: Color(0xFF181818),
fontWeight: MyFontWeight.regular,
fontSize: 9.sp,
),
),
],
),
)
],
),
SizedBox(
height: 5.h,
),
Text(
"储值优惠",
maxLines: 2,
overflow: TextOverflow.ellipsis,
textAlign: TextAlign.center,
style: TextStyle(
color: Color(0xFF181818),
fontWeight: MyFontWeight.regular,
fontSize: 12.sp,
),
),
],
),
);
}
}
Loading…
Cancel
Save