diff --git a/assets/image/2x/attainment_bj.png b/assets/image/2x/attainment_bj.png new file mode 100644 index 00000000..bfbd8007 Binary files /dev/null and b/assets/image/2x/attainment_bj.png differ diff --git a/assets/image/2x/badge_img.png b/assets/image/2x/badge_img.png new file mode 100644 index 00000000..a7aafcb4 Binary files /dev/null and b/assets/image/2x/badge_img.png differ diff --git a/assets/image/2x/bj_badge.png b/assets/image/2x/bj_badge.png new file mode 100644 index 00000000..81f31315 Binary files /dev/null and b/assets/image/2x/bj_badge.png differ diff --git a/assets/image/2x/by_badge.png b/assets/image/2x/by_badge.png new file mode 100644 index 00000000..0002b4c7 Binary files /dev/null and b/assets/image/2x/by_badge.png differ diff --git a/assets/image/2x/hj_badge.png b/assets/image/2x/hj_badge.png new file mode 100644 index 00000000..a09e0bbf Binary files /dev/null and b/assets/image/2x/hj_badge.png differ diff --git a/assets/image/2x/qt_badge.png b/assets/image/2x/qt_badge.png new file mode 100644 index 00000000..6933d52e Binary files /dev/null and b/assets/image/2x/qt_badge.png differ diff --git a/assets/image/3x/attainment_bj.png b/assets/image/3x/attainment_bj.png new file mode 100644 index 00000000..296bd261 Binary files /dev/null and b/assets/image/3x/attainment_bj.png differ diff --git a/assets/image/3x/badge_img.png b/assets/image/3x/badge_img.png new file mode 100644 index 00000000..5cdc2d2d Binary files /dev/null and b/assets/image/3x/badge_img.png differ diff --git a/assets/image/3x/bj_badge.png b/assets/image/3x/bj_badge.png new file mode 100644 index 00000000..fec30b19 Binary files /dev/null and b/assets/image/3x/bj_badge.png differ diff --git a/assets/image/3x/by_badge.png b/assets/image/3x/by_badge.png new file mode 100644 index 00000000..f4951941 Binary files /dev/null and b/assets/image/3x/by_badge.png differ diff --git a/assets/image/3x/hj_badge.png b/assets/image/3x/hj_badge.png new file mode 100644 index 00000000..7ed2cfc3 Binary files /dev/null and b/assets/image/3x/hj_badge.png differ diff --git a/assets/image/3x/qt_badge.png b/assets/image/3x/qt_badge.png new file mode 100644 index 00000000..c1cc7464 Binary files /dev/null and b/assets/image/3x/qt_badge.png differ diff --git a/assets/image/attainment_bj.png b/assets/image/attainment_bj.png new file mode 100644 index 00000000..ebef994d Binary files /dev/null and b/assets/image/attainment_bj.png differ diff --git a/assets/image/badge_img.png b/assets/image/badge_img.png new file mode 100644 index 00000000..31c966ca Binary files /dev/null and b/assets/image/badge_img.png differ diff --git a/assets/image/bj_badge.png b/assets/image/bj_badge.png new file mode 100644 index 00000000..14af253c Binary files /dev/null and b/assets/image/bj_badge.png differ diff --git a/assets/image/by_badge.png b/assets/image/by_badge.png new file mode 100644 index 00000000..c021b622 Binary files /dev/null and b/assets/image/by_badge.png differ diff --git a/assets/image/hj_badge.png b/assets/image/hj_badge.png new file mode 100644 index 00000000..a7ba57cd Binary files /dev/null and b/assets/image/hj_badge.png differ diff --git a/assets/image/qt_badge.png b/assets/image/qt_badge.png new file mode 100644 index 00000000..5ebcbf45 Binary files /dev/null and b/assets/image/qt_badge.png differ diff --git a/lib/community/community_view/class_details_video.dart b/lib/community/community_view/class_details_video.dart index a0aab6b4..e42c1c94 100644 --- a/lib/community/community_view/class_details_video.dart +++ b/lib/community/community_view/class_details_video.dart @@ -148,7 +148,11 @@ class ClassDetailsVideoState extends State { 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, diff --git a/lib/generated/intl/messages_en.dart b/lib/generated/intl/messages_en.dart index 9e25969c..096f127a 100644 --- a/lib/generated/intl/messages_en.dart +++ b/lib/generated/intl/messages_en.dart @@ -102,8 +102,10 @@ class MessageLookup extends MessageLookupByLibrary { final messages = _notInlinedMessages(_notInlinedMessages); static _notInlinedMessages(_) => { "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,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("活动进行中"), @@ -253,6 +269,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 +284,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 +312,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 +385,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 +405,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 +484,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 +519,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 +559,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 +576,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("《隐私协议》"), diff --git a/lib/generated/intl/messages_zh_CN.dart b/lib/generated/intl/messages_zh_CN.dart index cfbea28d..826a71ca 100644 --- a/lib/generated/intl/messages_zh_CN.dart +++ b/lib/generated/intl/messages_zh_CN.dart @@ -102,8 +102,10 @@ class MessageLookup extends MessageLookupByLibrary { final messages = _notInlinedMessages(_notInlinedMessages); static _notInlinedMessages(_) => { "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("《隐私协议》"), diff --git a/lib/generated/intl/messages_zh_Hans_CN.dart b/lib/generated/intl/messages_zh_Hans_CN.dart index 98b6753f..701ba896 100644 --- a/lib/generated/intl/messages_zh_Hans_CN.dart +++ b/lib/generated/intl/messages_zh_Hans_CN.dart @@ -102,8 +102,10 @@ class MessageLookup extends MessageLookupByLibrary { final messages = _notInlinedMessages(_notInlinedMessages); static _notInlinedMessages(_) => { "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("《隐私协议》"), diff --git a/lib/generated/intl/messages_zh_Hant_CN.dart b/lib/generated/intl/messages_zh_Hant_CN.dart index cfe6b504..99980c81 100644 --- a/lib/generated/intl/messages_zh_Hant_CN.dart +++ b/lib/generated/intl/messages_zh_Hant_CN.dart @@ -102,8 +102,10 @@ class MessageLookup extends MessageLookupByLibrary { final messages = _notInlinedMessages(_notInlinedMessages); static _notInlinedMessages(_) => { "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("《隱私協議》"), diff --git a/lib/generated/intl/messages_zh_TW.dart b/lib/generated/intl/messages_zh_TW.dart index 3c39e71d..c2f45ed6 100644 --- a/lib/generated/intl/messages_zh_TW.dart +++ b/lib/generated/intl/messages_zh_TW.dart @@ -102,8 +102,10 @@ class MessageLookup extends MessageLookupByLibrary { final messages = _notInlinedMessages(_notInlinedMessages); static _notInlinedMessages(_) => { "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("《隱私協議》"), diff --git a/lib/generated/l10n.dart b/lib/generated/l10n.dart index 5587fa8a..6f703442 100644 --- a/lib/generated/l10n.dart +++ b/lib/generated/l10n.dart @@ -5175,6 +5175,306 @@ 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 privacy_policy4 { return Intl.message( diff --git a/lib/home/home_page.dart b/lib/home/home_page.dart index 257d70a9..e5e45460 100644 --- a/lib/home/home_page.dart +++ b/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 with AutomaticKeepAliveClientMixin { ); } + ///扫码 toScan() async { if (await Permission.camera.isPermanentlyDenied) { showCupertinoDialog( diff --git a/lib/home/points_mall_view/points_goods_view.dart b/lib/home/points_mall_view/points_goods_view.dart index aaabe68d..6859aa03 100644 --- a/lib/home/points_mall_view/points_goods_view.dart +++ b/lib/home/points_mall_view/points_goods_view.dart @@ -111,7 +111,7 @@ class _PointGoods extends State { 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, diff --git a/lib/integral_store/integral_store_details_page.dart b/lib/integral_store/integral_store_details_page.dart index 3612cc6b..89d4afaa 100644 --- a/lib/integral_store/integral_store_details_page.dart +++ b/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 createState() { - return _IntegralStoreDetailsPage(this.arguments); + return _IntegralStoreDetailsPage(); } } -class _IntegralStoreDetailsPage extends State { +class _IntegralStoreDetailsPage extends State { ApiService apiService; - String points; - final Map arguments; - - _IntegralStoreDetailsPage(this.arguments); + int payType = 0; @override void initState() { @@ -50,12 +48,24 @@ class _IntegralStoreDetailsPage extends State { Goods goods; + ///查询积分商品详情 queryGoodsById() async { - BaseData baseData = - await apiService.creditGoodsById(arguments["goodsId"]).catchError((onError) {}); + BaseData 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 @@ -204,29 +205,36 @@ class _IntegralStoreDetailsPage extends State { mainAxisAlignment: MainAxisAlignment.start, crossAxisAlignment: CrossAxisAlignment.center, children: [ - Text( - goods == null ? "" : S.of(context).jifen_(goods.price), - style: TextStyle( - fontWeight: MyFontWeight.semi_bold, - fontSize: 18.sp, - color: Color(0xFF32A060), - ), + Text( + (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, + color: Color(0xFF32A060), ), + ), SizedBox( width: 10.w, ), - Expanded(child: Text( - S.of(context).yuan_(goods?.worth??goods?.worth??""), - style: TextStyle( - color: Color(0xFF585858), - decoration: TextDecoration.lineThrough, - decorationColor: Color(0xFF585858), - fontWeight: MyFontWeight.regular, - fontSize: 14.sp, + Expanded( + child: Text( + S.of(context).yuan_(goods?.worth ?? goods?.worth ?? ""), + style: TextStyle( + color: Color(0xFF585858), + decoration: TextDecoration.lineThrough, + decorationColor: Color(0xFF585858), + fontWeight: MyFontWeight.regular, + fontSize: 14.sp, + ), ), - ),), + ), Text( - "库存:${goods?.stock ?? goods?.stock ??""}份", + "库存:${goods?.stock ?? goods?.stock ?? ""}份", style: TextStyle( color: Color(0xFF585858), decorationColor: Color(0xFF353535), @@ -288,22 +296,22 @@ class _IntegralStoreDetailsPage extends State { return goods == null ? Container() : Image.network( - goods.viceImgPaths.elementAt(position), - fit: BoxFit.cover, - ); + goods.viceImgPaths.elementAt(position), + fit: BoxFit.cover, + ); }, itemCount: (goods == null || goods.viceImgPaths == null) ? 1 : 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( + child: Container( + margin: EdgeInsets.only(left: 16, top: 52), + padding: EdgeInsets.all(5), + child: Image.asset( "assets/image/integral_return.png", // alignment: Alignment.center, width: 24, diff --git a/lib/l10n/intl_en.arb b/lib/l10n/intl_en.arb index 75915aeb..592b650e 100644 --- a/lib/l10n/intl_en.arb +++ b/lib/l10n/intl_en.arb @@ -537,6 +537,38 @@ "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": "确认绑定", + + diff --git a/lib/l10n/intl_zh_CN.arb b/lib/l10n/intl_zh_CN.arb index 86a5a1b9..1217861b 100644 --- a/lib/l10n/intl_zh_CN.arb +++ b/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": "确认绑定", diff --git a/lib/l10n/intl_zh_Hans_CN.arb b/lib/l10n/intl_zh_Hans_CN.arb index 2dac914a..d62c16dc 100644 --- a/lib/l10n/intl_zh_Hans_CN.arb +++ b/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": "确认绑定", diff --git a/lib/l10n/intl_zh_Hant_CN.arb b/lib/l10n/intl_zh_Hant_CN.arb index 92d3ef37..f8bb068e 100644 --- a/lib/l10n/intl_zh_Hant_CN.arb +++ b/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": "確認綁定", + diff --git a/lib/l10n/intl_zh_TW.arb b/lib/l10n/intl_zh_TW.arb index 3996d39d..1d500a8d 100644 --- a/lib/l10n/intl_zh_TW.arb +++ b/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": "確認綁定", diff --git a/lib/main.dart b/lib/main.dart index 5f02f6b1..7cbd45b8 100644 --- a/lib/main.dart +++ b/lib/main.dart @@ -78,6 +78,8 @@ 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/mine_attainment_page.dart'; +import 'mine/mine_vip/mine_vip_core.dart'; import 'mine/release_page.dart'; import 'mine/roll_center_page.dart'; @@ -238,8 +240,10 @@ Map routers = { 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/order_history_page': (context, {arguments}) => OrderHistoryPage(arguments: arguments), '/router/union_detail_page': (context, {arguments}) => @@ -309,4 +313,5 @@ Map routers = { '/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), }; diff --git a/lib/mine/mine_page.dart b/lib/mine/mine_page.dart index 5c6380ae..3050b5ff 100644 --- a/lib/mine/mine_page.dart +++ b/lib/mine/mine_page.dart @@ -320,45 +320,95 @@ class _MinePage extends State with AutomaticKeepAliveClientMixin { mainAxisAlignment: MainAxisAlignment.spaceAround, crossAxisAlignment: CrossAxisAlignment.start, children: [ - Row( - children: [ - Text( - S.of(context).guanzhu, - style: TextStyle( - color: Color(0xFF000000), - fontSize: 14.sp, - fontWeight: MyFontWeight.regular, + GestureDetector( + onTap:(){ + Navigator.of(context).pushNamed( + '/router/communityFollow', + arguments: {}, + ); + }, + child: + Row( + children: [ + Text( + S.of(context).guanzhu, + style: TextStyle( + color: Color(0xFF000000), + fontSize: 14.sp, + fontWeight: MyFontWeight.regular, + ), + ), + SizedBox(width: 5,), + Text( + infoNumber != null ?infoNumber.follow.toString() :"0", + style: TextStyle( + color: Color(0xFF000000), + fontSize: 15.sp, + fontWeight: MyFontWeight.medium, + ), + ), + ], ), - ), - Text( - "(" + (infoNumber != null ?infoNumber.follow.toString() :"0") +")", - style: TextStyle( - color: Color(0xFF000000), - fontSize: 15.sp, - fontWeight: MyFontWeight.medium, + ), + GestureDetector( + onTap:(){ + Navigator.of(context).pushNamed( + '/router/communityFollow', + arguments: {}, + ); + }, + child: + Row( + children: [ + Text( + S.of(context).fensi, + style: TextStyle( + color: Color(0xFF000000), + fontSize: 14.sp, + fontWeight: MyFontWeight.regular, + ), ), - ), - ], + SizedBox(width: 5,), + Text( + infoNumber != null ?infoNumber.fans.toString() :"0", + style: TextStyle( + color: Color(0xFF000000), + fontSize: 15.sp, + fontWeight: MyFontWeight.medium, + ), + ), + ], + ), ), - Row( - children: [ - Text( - S.of(context).fensi, - style: TextStyle( - color: Color(0xFF000000), - fontSize: 14.sp, - fontWeight: MyFontWeight.regular, + 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, + ), ), - ), - Text( - "(" + (infoNumber != null ?infoNumber.fans.toString() :"0") +")", - style: TextStyle( - color: Color(0xFF000000), - fontSize: 15.sp, - fontWeight: MyFontWeight.medium, + SizedBox(width: 5,), + Text( + "1", + style: TextStyle( + color: Color(0xFF000000), + fontSize: 15.sp, + fontWeight: MyFontWeight.medium, + ), ), - ), - ], + ], + ), ), ], ), diff --git a/lib/mine/mine_vip/mine_attainment_page.dart b/lib/mine/mine_vip/mine_attainment_page.dart new file mode 100644 index 00000000..1408a861 --- /dev/null +++ b/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 arguments; + + MineAttainmentPage({this.arguments}); + + @override + State createState() { + return _MineAttainmentPage(); + } +} + +class _MineAttainmentPage extends State { + 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), + ), + ), + ], + ), + ), + ], + ), + ], + ), + ), + ); + }); + }, + ); + } +} diff --git a/lib/mine/mine_vip_level_page.dart b/lib/mine/mine_vip_level_page.dart index 1822f2b4..817c160c 100644 --- a/lib/mine/mine_vip_level_page.dart +++ b/lib/mine/mine_vip_level_page.dart @@ -279,7 +279,7 @@ class _MineVipLevelPage extends State { children: [ Expanded( child: Text( - rank.rankName, + rank?.rankName ?? "", textAlign: TextAlign.center, style: TextStyle( fontSize: 14.sp, diff --git a/lib/order/exchange_history_page.dart b/lib/order/exchange_history_page.dart index ac57e16c..1b77eaf3 100644 --- a/lib/order/exchange_history_page.dart +++ b/lib/order/exchange_history_page.dart @@ -375,7 +375,7 @@ class _ExchangeHistoryList extends State { 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 { // 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 { receive2Card(id) async { BaseData baseData = await apiService.creditOrderReceive(id); if (baseData != null && baseData.isSuccess) { - queryHistory(); + _refresh(); } } diff --git a/lib/order/exchange_order_page.dart b/lib/order/exchange_order_page.dart index b14c326b..fbcbbcc7 100644 --- a/lib/order/exchange_order_page.dart +++ b/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 { ApiService apiService; String money = "0"; String balance = "0"; + int buyNum = 1; var checkIndex = 1; @override @@ -59,86 +59,54 @@ class _ExchangeOrderPage extends State { background: Color(0xFFFAFAFA), leadingColor: Colors.black, ), - body: SingleChildScrollView( - physics: BouncingScrollPhysics(), - child: Column( - children: [ - Column( - children: [ - 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( - children: [ - Row( - children: [ - Image.asset( - "assets/image/icon_order_exchange_info.png", - width: 24, - height: 24, - ), - SizedBox(width: 4), - Text( - S.of(context).duihuanxinxi, - style: TextStyle( - fontWeight: FontWeight.bold, - fontSize: 16, - color: Color(0xFF353535)), - ), - ], - ), - SizedBox( - height: 18.h, - ), - Row( - children: [ - Text( - S.of(context).lingqufangshi, - style: TextStyle( - fontSize: 14.sp, - color: Color(0xFF353535), + body: Stack(children: [ + SingleChildScrollView( + physics: BouncingScrollPhysics(), + child: Column( + children: [ + widget.arguments["useTyped"] == 1? + 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( + children: [ + Row( + children: [ + Image.asset( + "assets/image/icon_order_exchange_info.png", + width: 24, + height: 24, ), - ), - SizedBox( - width: 12.w, - ), - Text( - widget.arguments["useTyped"] == 1 - ? S.of(context).ziti - : widget.arguments["useTyped"] == 2 - ? S.of(context).peisong - : S.of(context).xianshangfafang, - style: TextStyle( - fontSize: 14.sp, - color: Color(0xFF353535), + SizedBox(width: 4), + Text( + S.of(context).duihuanxinxi, + style: TextStyle( + fontWeight: FontWeight.bold, + fontSize: 16, + color: Color(0xFF353535)), ), - ), - ], - ), - Visibility( - child: SizedBox( - height: 13.h, + ], ), - visible: widget.arguments["useTyped"] != 3, - ), - Visibility( - child: Row( + SizedBox( + height: 18.h, + ), + Row( children: [ Text( - S.of(context).zitidizhi, + S.of(context).lingqufangshi, style: TextStyle( fontSize: 14.sp, color: Color(0xFF353535), @@ -147,671 +115,665 @@ class _ExchangeOrderPage extends State { SizedBox( width: 12.w, ), - Expanded( - child: GestureDetector( - onTap: () { - toAddressPicker(); - }, - child: Row( - mainAxisAlignment: MainAxisAlignment.end, - crossAxisAlignment: CrossAxisAlignment.end, - mainAxisSize: MainAxisSize.min, - children: [ - Expanded( - child: Text( - (address != null && address != "") - ? address - : widget.arguments["useTyped"] == 1 - ? S.of(context).qingxuanzhemendian - : widget.arguments["useTyped"] == - 2 - ? S - .of(context) - .qingxuanzeshouhuodizhi - : S.of(context).xuni, - overflow: TextOverflow.ellipsis, - style: TextStyle( - fontSize: 14.sp, - color: Color(0xFF32A060), + Text( + widget.arguments["useTyped"] == 1 + ? S.of(context).ziti + : widget.arguments["useTyped"] == 2 + ? S.of(context).peisong + : S.of(context).xianshangfafang, + style: TextStyle( + fontSize: 14.sp, + color: Color(0xFF353535), + ), + ), + ], + ), + Visibility( + child: SizedBox( + height: 13.h, + ), + visible: widget.arguments["useTyped"] != 3, + ), + Visibility( + child: Row( + children: [ + Text( + S.of(context).zitidizhi, + style: TextStyle( + fontSize: 14.sp, + color: Color(0xFF353535), + ), + ), + SizedBox( + width: 12.w, + ), + Expanded( + child: GestureDetector( + onTap: () { + toAddressPicker(); + }, + child: Row( + mainAxisAlignment: MainAxisAlignment.end, + crossAxisAlignment: CrossAxisAlignment.end, + mainAxisSize: MainAxisSize.min, + children: [ + Expanded( + child: Text( + (address != null && address != "") + ? address + : widget.arguments["useTyped"] == 1 + ? S.of(context).qingxuanzhemendian + : widget.arguments["useTyped"] == + 2 + ? S + .of(context) + .qingxuanzeshouhuodizhi + : S.of(context).xuni, + overflow: TextOverflow.ellipsis, + style: TextStyle( + fontSize: 14.sp, + color: Color(0xFF32A060), + ), ), + flex: 1, ), - flex: 1, - ), - Icon( - Icons.keyboard_arrow_right, - size: 16, - color: Color(0xFF32A060), - ), - ], + Icon( + Icons.keyboard_arrow_right, + size: 16, + color: Color(0xFF32A060), + ), + ], + ), ), + flex: 1, + ), + ], + ), + visible: widget.arguments["useTyped"] != 3, + ), + SizedBox( + height: 12.h, + ), + Row( + children: [ + Visibility( + visible: widget.arguments["useTyped"] != 3, + child: Text( + S.of(context).zitishijian, + style: TextStyle( + fontSize: 14.sp, color: Color(0xFF353535)), + ), + ), + Visibility( + visible: widget.arguments["useTyped"] != 3, + child: SizedBox( + width: 12.w, ), - flex: 1, + ), + Text( + widget.arguments["useTyped"] == 1 + ? S.of(context).duihuanhouwugegongzuori + : widget.arguments["useTyped"] == 2 + ? S.of(context).duihuanhoufahuo + : S.of(context).feishiwushangpin, + style: TextStyle( + fontSize: 14.sp, + color: widget.arguments["useTyped"] == 3 + ? Color(0xFF32A060) + : Color(0xFF353535)), ), ], ), - visible: widget.arguments["useTyped"] != 3, - ), - SizedBox( - height: 12.h, - ), - Row( - children: [ - Visibility( - visible: widget.arguments["useTyped"] != 3, - child: Text( - S.of(context).zitishijian, + ], + ), + ): + 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: [ + Image.asset( + "assets/image/icon_order_exchange_info.png", + width: 24, + height: 24, + ), + SizedBox(width: 4), + Text( + S.of(context).duihuanxinxi, style: TextStyle( - fontSize: 14.sp, color: Color(0xFF353535)), + fontWeight: FontWeight.bold, + fontSize: 16, + color: Color(0xFF353535)), ), - ), - Visibility( - visible: widget.arguments["useTyped"] != 3, - child: SizedBox( + ], + ), + SizedBox( + height: 18.h, + ), + Row( + children: [ + Text( + S.of(context).lingqufangshi, + style: TextStyle( + fontSize: 14.sp, + color: Color(0xFF353535), + ), + ), + SizedBox( width: 12.w, ), - ), - Text( - widget.arguments["useTyped"] == 1 - ? S.of(context).duihuanhouwugegongzuori - : widget.arguments["useTyped"] == 2 - ? S.of(context).duihuanhoufahuo - : S.of(context).feishiwushangpin, - style: TextStyle( + Text( + widget.arguments["useTyped"] == 1 + ? S.of(context).ziti + : widget.arguments["useTyped"] == 2 + ? S.of(context).peisong + : S.of(context).xianshangfafang, + style: TextStyle( fontSize: 14.sp, - color: widget.arguments["useTyped"] == 3 - ? Color(0xFF32A060) - : Color(0xFF353535)), - ), - ], - ), - ], - ), - ), - 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: [ - Image.asset( - "assets/image/icon_order_exchange_info.png", - width: 24, - height: 24, - ), - SizedBox(width: 4), - Text( - S.of(context).duihuanxinxi, - style: TextStyle( - fontWeight: FontWeight.bold, - fontSize: 16, - color: Color(0xFF353535)), - ), - ], - ), - SizedBox( - height: 18.h, - ), - Row( - children: [ - Text( - S.of(context).lingqufangshi, - style: TextStyle( - fontSize: 14.sp, - color: Color(0xFF353535), + color: Color(0xFF353535), + ), ), - ), - SizedBox( - width: 12.w, - ), - Text( - widget.arguments["useTyped"] == 1 - ? S.of(context).ziti - : widget.arguments["useTyped"] == 2 - ? S.of(context).peisong - : S.of(context).xianshangfafang, - style: TextStyle( + ], + ), + SizedBox( + height: 12.h, + ), + Text( + "非实物商品兑换后领取到卡包即可使用!", + style: TextStyle( fontSize: 14.sp, - color: Color(0xFF353535), - ), + color: Color(0xFF32A060), + fontWeight: MyFontWeight.medium ), - ], - ), - SizedBox( - height: 12.h, - ), - Text( - "非实物商品兑换后领取到卡包即可使用!", - style: TextStyle( - fontSize: 14.sp, - color: Color(0xFF32A060), - fontWeight: MyFontWeight.medium ), - ), - ], + ], + ), ), - ), - Container( - margin: - EdgeInsets.only(left: 16, right: 16, top: 8, bottom: 16), - 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( - children: [ - Row( - children: [ - Image.asset( - "assets/image/icon_order_commodity_info.png", - width: 24, - height: 24, - ), - SizedBox(width: 4), - Text( - S.of(context).duihuanshangpinxiangqing, - style: TextStyle( - fontWeight: FontWeight.bold, - fontSize: 16, - color: Color(0xFF353535), - ), - ), - ], - ), - SizedBox( - height: 18, - ), - Row( - mainAxisAlignment: MainAxisAlignment.spaceBetween, - crossAxisAlignment: CrossAxisAlignment.center, - mainAxisSize: MainAxisSize.max, - children: [ - if (widget.arguments["image"] != null) - Image.network( - widget.arguments["image"], - fit: BoxFit.cover, - width: 80, - height: 80, - ) - else + Container( + margin: + EdgeInsets.only(left: 16, right: 16, top: 8, bottom: 16), + 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( + children: [ + Row( + children: [ Image.asset( - "assets/image/default_1.png", - fit: BoxFit.cover, - width: 80, - height: 80, - ), - Expanded( - child: Container( - height: 80.h, - margin: EdgeInsets.only(left: 16.w), - child: Column( - mainAxisAlignment: MainAxisAlignment.start, - crossAxisAlignment: CrossAxisAlignment.end, - children: [ - Text( - widget.arguments["name"], - style: TextStyle( - fontSize: 14.sp, - fontWeight: FontWeight.bold, - color: Color(0xFF353535)), - ), - SizedBox( - height: 4.h, - ), - Text( - "x1", - style: TextStyle( - fontSize: 12.sp, - color: Color(0xFF727272)), - ), - ], - ), - ), - flex: 1, - ) - ], - ), - SizedBox( - height: 12.h, - ), - Row( - mainAxisAlignment: MainAxisAlignment.spaceBetween, - crossAxisAlignment: CrossAxisAlignment.center, - children: [ - Text( - "应付数额", - style: - TextStyle(fontSize: 14, color: Color(0xFF353535),fontWeight: MyFontWeight.regular), - ), - SizedBox( - width: 12, - ), - Text( - S.of(context).jifen_(widget.arguments["price"]), - style: TextStyle( - fontSize: 12, - color: Colors.black, - ), - ), - ], - ), - SizedBox( - height: 12, - ), - Row( - mainAxisAlignment: MainAxisAlignment.spaceBetween, - crossAxisAlignment: CrossAxisAlignment.center, - children: [ - Text( - "现金抵扣积分", - style: - TextStyle(fontSize: 14, color: Color(0xFF353535),fontWeight: MyFontWeight.regular), - ), - SizedBox( - width: 12, - ), - Text( - S.of(context).jifen_(widget.arguments["price"]), - style: TextStyle( - fontSize: 12, - color: Colors.black, - ), - ), - ], - ), - SizedBox( - height: 12, - ), - Row( - mainAxisAlignment: MainAxisAlignment.spaceBetween, - crossAxisAlignment: CrossAxisAlignment.center, - children: [ - Text( - "合计", - style: TextStyle( - fontSize: 14.sp, color: Color(0xFF353535),fontWeight: MyFontWeight.regular), - ), - SizedBox( - width: 12.w, - ), - Text( - S.of(context).jifen_(widget.arguments["price"]), - style: TextStyle( - fontSize: 12.sp, color: Color(0xFF32A060)), - ), - ], - ), - ], - ), - ), - Container( - margin: - EdgeInsets.only(left: 16, right: 16, 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( - children: [ - Row( - children: [ - Expanded(child: Text( - "兑换数量", - style: TextStyle( - fontWeight: MyFontWeight.regular, - fontSize: 14.sp, - color: Color(0xFF353535)), - )), - InkWell( - onTap: () { - }, - child: Image.asset( - "assets/image/reduce.png", - width: 22, - height: 22, + "assets/image/icon_order_commodity_info.png", + width: 24, + height: 24, ), - ), - Container( - width: 30, - alignment: Alignment.center, - child: Text( - "1", + SizedBox(width: 4), + Text( + S.of(context).duihuanshangpinxiangqing, style: TextStyle( - color: Colors.black, - fontSize: 14.sp, - fontWeight: MyFontWeight.medium, + fontWeight: FontWeight.bold, + fontSize: 16, + color: Color(0xFF353535), ), ), - ), - InkWell( - onTap: () { - }, - child: Image.asset( - "assets/image/add.png", - width: 22, - height: 22, - ), - ), - ], - ), - ], - ), - ), - Container( - width: double.infinity, - margin: EdgeInsets.only( - left: 16.w, - right: 16.w, - top: 12.h, - bottom:20.h, - ), - padding: EdgeInsets.only( - left: 16.w, - right: 16.w, - top: 20.h, - bottom: 20.h, - ), - decoration: BoxDecoration( - boxShadow: [ - BoxShadow( - color: Color(0x000000).withAlpha(25), - offset: Offset(0, 1), - blurRadius: 12.0, - ), - ], - color: Colors.white, - borderRadius: BorderRadius.circular(8), - ), - child: Column( - mainAxisAlignment: MainAxisAlignment.spaceAround, - crossAxisAlignment: CrossAxisAlignment.start, - children: [ - Padding( - padding: EdgeInsets.only(bottom: 16.h), - child: Text( - S.of(context).zhifufangshi, - style: TextStyle( - fontSize: 16.sp, - color: Colors.black, - fontWeight: MyFontWeight.regular, - ), + ], ), - ), - GestureDetector( - onTap: () { - setState(() { - checkIndex = 1; - }); - // widget.payChannelCheck(4); - }, - child: Row( - mainAxisAlignment: MainAxisAlignment.center, + SizedBox( + height: 18, + ), + Row( + mainAxisAlignment: MainAxisAlignment.spaceBetween, crossAxisAlignment: CrossAxisAlignment.center, + mainAxisSize: MainAxisSize.max, children: [ - checkPayView(1), + if (widget.arguments["image"] != null) + Image.network( + widget.arguments["image"], + fit: BoxFit.cover, + width: 80, + height: 80, + ) + else + Image.asset( + "assets/image/default_1.png", + fit: BoxFit.cover, + width: 80, + height: 80, + ), Expanded( - child: Container(), + child: Container( + height: 80.h, + margin: EdgeInsets.only(left: 16.w), + child: Column( + mainAxisAlignment: MainAxisAlignment.start, + crossAxisAlignment: CrossAxisAlignment.end, + children: [ + Text( + widget.arguments["name"], + style: TextStyle( + fontSize: 14.sp, + fontWeight: FontWeight.bold, + color: Color(0xFF353535)), + ), + // SizedBox( + // height: 4.h, + // ), + // Text( + // "x1", + // style: TextStyle( + // fontSize: 12.sp, + // color: Color(0xFF727272)), + // ), + ], + ), + ), flex: 1, - ), + ) + ], + ), + SizedBox( + height: 12.h, + ), + Row( + mainAxisAlignment: MainAxisAlignment.spaceBetween, + crossAxisAlignment: CrossAxisAlignment.center, + children: [ Text( - "¥$money", - style: TextStyle( - fontSize: 14.sp, - color: Color(0xff353535), - fontWeight: MyFontWeight.semi_bold, - ), + "应付数额", + style: + TextStyle(fontSize: 14, color: Color(0xFF353535),fontWeight: MyFontWeight.regular), ), SizedBox( - width: 10, + width: 12, ), Text( - S.of(context).pingtaiyue, + 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: 14.sp, - color: Color(0xff353535), - fontWeight: MyFontWeight.semi_bold, + fontSize: 12, + decoration:(widget.arguments["payType"] == 3) ? TextDecoration.lineThrough:TextDecoration.none, + color: Color(0xFF32A060), ), ), ], ), - ), - SizedBox( - height: 10, - ), - GestureDetector( - onTap: () { - setState(() { - checkIndex = 2; - }); - }, - child: Row( - mainAxisAlignment: MainAxisAlignment.center, + SizedBox( + height: 12, + ), + if(widget.arguments["payType"] == 3) + Row( + mainAxisAlignment: MainAxisAlignment.spaceBetween, + crossAxisAlignment: CrossAxisAlignment.center, + children: [ + Text( + "现金抵扣积分", + style: + TextStyle(fontSize: 14, color: Color(0xFF353535),fontWeight: MyFontWeight.regular), + ), + SizedBox( + width: 12, + ), + Text( + "${double.parse(widget.arguments["oneMoney"])*buyNum}元", + style: TextStyle( + fontSize: 12, + color: Colors.black, + ), + ), + ], + ), + SizedBox( + height: 12, + ), + Row( + mainAxisAlignment: MainAxisAlignment.spaceBetween, crossAxisAlignment: CrossAxisAlignment.center, children: [ - checkPayView(2), - Expanded( - child: Container(), - flex: 1, - ), Text( - "¥$balance", + "合计", style: TextStyle( - fontSize: 14.sp, - color: Color(0xff353535), - fontWeight: MyFontWeight.semi_bold, - ), + fontSize: 14.sp, color: Color(0xFF353535),fontWeight: MyFontWeight.regular), ), SizedBox( - width: 10, + width: 12.w, ), Text( - S.of(context).dianpuyue, + handleNeedPay(), style: TextStyle( - fontSize: 14.sp, - color: Color(0xff353535), - fontWeight: MyFontWeight.semi_bold, - ), + fontSize: 12.sp, color: Color(0xFF32A060)), ), ], ), - ), - SizedBox( - height: 10, - ), - GestureDetector( - onTap: () { - setState(() { - checkIndex = 3; - }); - }, - child: Row( - mainAxisAlignment: MainAxisAlignment.spaceBetween, - crossAxisAlignment: CrossAxisAlignment.start, + ], + ), + ), + Container( + margin: + EdgeInsets.only(left: 16, right: 16, 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( + children: [ + Row( children: [ - checkPayView(3), - Spacer(), - Image.asset("assets/image/icon_we_chat.png"), - Padding( - padding: EdgeInsets.only(left: 8.w), + Expanded(child: Text( + "兑换数量", + style: TextStyle( + fontWeight: MyFontWeight.regular, + fontSize: 14.sp, + color: Color(0xFF353535)), + )), + InkWell( + onTap: () { + setState(() { + if(buyNum > 1) + buyNum -= 1; + }); + }, + child: Image.asset( + "assets/image/reduce.png", + width: 22, + height: 22, + ), + ), + Container( + width: 30, + alignment: Alignment.center, child: Text( - S.of(context).weixinzhifu, + buyNum.toString(), style: TextStyle( + color: Colors.black, fontSize: 14.sp, - color: Color(0xff353535), - fontWeight: MyFontWeight.semi_bold, + fontWeight: MyFontWeight.medium, ), ), ), + 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", + width: 22, + height: 22, + ), + ), ], ), - ), - ], + ], + ), ), - ), - // 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, + if(widget.arguments["payType"] == 3 || + (widget.arguments["payType"] == 2 && + widget.arguments["money"] != "0.00")) + Container( + width: double.infinity, + margin: EdgeInsets.only( + left: 16.w, + right: 16.w, + top: 12.h, + bottom:20.h, + ), + padding: EdgeInsets.only( + left: 16.w, + right: 16.w, + top: 20.h, + bottom: 20.h, + ), + decoration: BoxDecoration( + boxShadow: [ + BoxShadow( + color: Color(0x000000).withAlpha(25), + offset: Offset(0, 1), + blurRadius: 12.0, + ), + ], + color: Colors.white, + borderRadius: BorderRadius.circular(8), + ), + child: Column( + mainAxisAlignment: MainAxisAlignment.spaceAround, + crossAxisAlignment: CrossAxisAlignment.start, children: [ - Text( - S.of(context).heji, - style: TextStyle( - fontSize: 12.sp, - fontWeight: MyFontWeight.regular, - color: Colors.black, + Padding( + padding: EdgeInsets.only(bottom: 16.h), + child: Text( + S.of(context).zhifufangshi, + style: TextStyle( + fontSize: 16.sp, + color: Colors.black, + fontWeight: MyFontWeight.regular, + ), ), ), - Text( - "¥0.0", - style: TextStyle( - fontSize: 16.sp, - fontWeight: MyFontWeight.medium, - color: Color(0xFF32A060), + GestureDetector( + onTap: () { + setState(() { + checkIndex = 1; + }); + // widget.payChannelCheck(4); + }, + child: Row( + mainAxisAlignment: MainAxisAlignment.center, + crossAxisAlignment: CrossAxisAlignment.center, + children: [ + checkPayView(1), + Expanded( + child: Container(), + flex: 1, + ), + Text( + "¥$money", + style: TextStyle( + fontSize: 14.sp, + color: Color(0xff353535), + fontWeight: MyFontWeight.semi_bold, + ), + ), + SizedBox( + width: 10, + ), + Text( + S.of(context).pingtaiyue, + style: TextStyle( + fontSize: 14.sp, + color: Color(0xff353535), + fontWeight: MyFontWeight.semi_bold, + ), + ), + ], ), ), - ], - )), - 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), - ), - ), - ], - ), - ), - 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, + SizedBox( + height: 10, + ), + GestureDetector( + onTap: () { + setState(() { + checkIndex = 2; + }); + }, + child: Row( + mainAxisAlignment: MainAxisAlignment.center, + crossAxisAlignment: CrossAxisAlignment.center, + children: [ + checkPayView(2), + Expanded( + child: Container(), + flex: 1, ), - ), - Text( - S.of(context).jifen_(widget.arguments["price"]), - style: TextStyle( - fontSize: 16.sp, - fontWeight: MyFontWeight.medium, - color: Color(0xFF32A060), + Text( + "¥$balance", + style: TextStyle( + fontSize: 14.sp, + color: Color(0xff353535), + fontWeight: MyFontWeight.semi_bold, + ), ), - ), - ], - )), - GestureDetector( - onTap: () { - if (!storeIsSelected) return; - creditOrder(); - }, - child: RoundButton( - width: 103.w, - height: 54.h, - text: S.current.duihuan, - textColor: Colors.white, - fontWeight: MyFontWeight.regular, - backgroup: Color(0xFF32A060), - radius: 0, - fontSize: 16.sp, - padding: EdgeInsets.symmetric(vertical: 5.h), - ), + SizedBox( + width: 10, + ), + Text( + S.of(context).dianpuyue, + style: TextStyle( + fontSize: 14.sp, + color: Color(0xff353535), + fontWeight: MyFontWeight.semi_bold, + ), + ), + ], + ), + ), + SizedBox( + height: 10, + ), + GestureDetector( + onTap: () { + setState(() { + checkIndex = 3; + }); + }, + child: Row( + mainAxisAlignment: MainAxisAlignment.spaceBetween, + crossAxisAlignment: CrossAxisAlignment.start, + children: [ + checkPayView(3), + Spacer(), + Image.asset("assets/image/icon_we_chat.png"), + Padding( + padding: EdgeInsets.only(left: 8.w), + child: Text( + S.of(context).weixinzhifu, + style: TextStyle( + fontSize: 14.sp, + color: Color(0xff353535), + fontWeight: MyFontWeight.semi_bold, + ), + ), + ), + ], + ), + ), + ], ), - ], + ), + ], + )), + Align(alignment: Alignment.bottomCenter,child: + 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(handleNeedPay(), + style: TextStyle( + fontSize: 16.sp, + fontWeight: MyFontWeight.medium, + color: Color(0xFF32A060), + ), + ), + ], + )), + GestureDetector( + onTap: () { + if (!storeIsSelected) return; + creditOrder(); + }, + child: RoundButton( + width: 103.w, + height: 54.h, + 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), + radius: 0, + fontSize: 16.sp, + padding: EdgeInsets.symmetric(vertical: 5.h), ), ), ], ), - - // 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 +811,7 @@ class _ExchangeOrderPage extends State { setState(() {}); } + ///创建积分订单 creditOrder() async { if (widget.arguments["useTyped"] == 1 && (storeId == null || storeId == "")) { @@ -862,20 +825,24 @@ class _ExchangeOrderPage extends State { } 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 (!(await Min.isInitialize())) { + if((widget.arguments["payType"] == 3 || + (widget.arguments["payType"] == 2 && + widget.arguments["money"] != "0.00")) && + checkIndex == 3){ + // if (!(await Min.isInitialize())) { // 小程序的微信支付和app的充值支付使用同一个WXPayEntryActivity回调, // 然而充值时小程序未初始化会导致回调内部代码调用getPackage空指针, // 故而在此初始化一下 - await Min.initialize(); - } + // await Min.initialize(); + // } WxPay wxPay = WxPay.fromJson(baseDate.data); await registerWxApi( appId: wxPay.appId, @@ -894,9 +861,16 @@ class _ExchangeOrderPage extends State { 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 +878,13 @@ class _ExchangeOrderPage extends State { } 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 = diff --git a/lib/order/exchange_order_success_page.dart b/lib/order/exchange_order_success_page.dart index 9bbb7f0e..ae2f076a 100644 --- a/lib/order/exchange_order_success_page.dart +++ b/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 { @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 { 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, + // ), ], ) ], diff --git a/lib/retrofit/data/exchange_order_goods.dart b/lib/retrofit/data/exchange_order_goods.dart index 6f5acd30..d0800a02 100644 --- a/lib/retrofit/data/exchange_order_goods.dart +++ b/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, diff --git a/lib/retrofit/data/goods.dart b/lib/retrofit/data/goods.dart index 65d67b22..20a75811 100644 --- a/lib/retrofit/data/goods.dart +++ b/lib/retrofit/data/goods.dart @@ -1,5 +1,114 @@ +/// 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 : "

(1) 兑换商品中所要求的积分达到方可兑换

\n

(2)先到先得

" +/// 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 { + Goods({ + 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 viceImgPaths,}){ + _id = id; + _createTime = createTime; + _createUser = createUser; + _updateTime = updateTime; + _updateUser = updateUser; + _categoryId = categoryId; + _storeId = storeId; + _name = name; + _description = description; + _detail = detail; + _worth = worth; + _price = price; + _money = money; + _onePrice = onePrice; + _oneMoney = oneMoney; + _stock = stock; + _sales = sales; + _isHot = isHot; + _sortOrder = sortOrder; + _state = state; + _canPick = canPick; + _canDelivery = canDelivery; + _isDelete = isDelete; + _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']; + _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 _id; String _createTime; String _createUser; @@ -9,9 +118,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; @@ -33,9 +145,12 @@ class Goods { 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 detail => _detail; + String get money => _money; + String get onePrice => _onePrice; + String get oneMoney => _oneMoney; int get stock => _stock; int get sales => _sales; bool get isHot => _isHot; @@ -48,106 +163,34 @@ class Goods { String get mainImgPath => _mainImgPath; List get viceImgPaths => _viceImgPaths; - 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 viceImgPaths}){ - _id = id; - _createTime = createTime; - _createUser = createUser; - _updateTime = updateTime; - _updateUser = updateUser; - _categoryId = categoryId; - _storeId = storeId; - _name = name; - _description = description; - _worth = worth; - _price = price; - _detail = detail; - _stock = stock; - _sales = sales; - _isHot = isHot; - _sortOrder = sortOrder; - _state = state; - _canPick = canPick; - _canDelivery = canDelivery; - _isDelete = isDelete; - _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() : []; - } - Map toJson() { - var map = {}; - 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 = {}; + 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; } diff --git a/lib/retrofit/retrofit_api.dart b/lib/retrofit/retrofit_api.dart index 10b18133..980493d7 100644 --- a/lib/retrofit/retrofit_api.dart +++ b/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 { diff --git a/lib/retrofit/retrofit_api.g.dart b/lib/retrofit/retrofit_api.g.dart index 8c3cf22b..c859fde0 100644 --- a/lib/retrofit/retrofit_api.g.dart +++ b/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; diff --git a/lib/view_widget/mine_vip_view.dart b/lib/view_widget/mine_vip_view.dart index 1aac0318..03d36558 100644 --- a/lib/view_widget/mine_vip_view.dart +++ b/lib/view_widget/mine_vip_view.dart @@ -61,56 +61,56 @@ class MineVipView extends StatelessWidget { 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}"; - break; - } - case 4: - { - linearColor = [ - Color(0xFFEEEEEF), - Color(0xFFA999DB), - ]; - levelColor = Color(0xFF887CB4); - levelText = "LV4 ${S.of(context).zuanshihuiyuan}"; + textColor = Color(0xFF575757); + levelText = "VIP ${S.of(context).jinkahuiyuan}"; break; } - case 5: + case 3: { linearColor = [ Color(0xFFEEEEEF), Color(0xFF000000), ]; levelColor = Color(0xFF000000); - levelText = "LV5 ${S.of(context).zhizunhuiyuan}"; + levelText = " ${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); @@ -303,8 +303,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,