Browse Source

部分修改.

null_safety
w-R 3 years ago
parent
commit
26bd01ddae
  1. 2
      lib/generated/intl/messages_en.dart
  2. 2
      lib/generated/intl/messages_zh_CN.dart
  3. 2
      lib/generated/intl/messages_zh_Hans_CN.dart
  4. 2
      lib/generated/intl/messages_zh_Hant_CN.dart
  5. 1
      lib/generated/intl/messages_zh_TW.dart
  6. 20
      lib/generated/l10n.dart
  7. 15
      lib/home/activity_list_page.dart
  8. 2
      lib/l10n/intl_en.arb
  9. 2
      lib/l10n/intl_zh_CN.arb
  10. 3
      lib/l10n/intl_zh_Hans_CN.arb
  11. 2
      lib/l10n/intl_zh_Hant_CN.arb
  12. 2
      lib/l10n/intl_zh_TW.arb
  13. 3
      lib/mine/mine_page.dart
  14. 18
      lib/order/exchange_history_page.dart
  15. 8
      lib/setting/help_feedback_page.dart
  16. 6
      lib/view_widget/mine_vip_view.dart

2
lib/generated/intl/messages_en.dart

@ -169,6 +169,7 @@ class MessageLookup extends MessageLookupByLibrary {
"duihuanxinxi" : MessageLookupByLibrary.simpleMessage("兑换信息"),
"fanhuiduihuanlishi" : MessageLookupByLibrary.simpleMessage("返回兑换历史"),
"fankui" : MessageLookupByLibrary.simpleMessage("反馈"),
"fankuilizi" : MessageLookupByLibrary.simpleMessage("您可以在这里输入反馈内容,例如产品建议,功能异常等"),
"fantizhongwen" : MessageLookupByLibrary.simpleMessage("繁体中文"),
"fapiao" : MessageLookupByLibrary.simpleMessage("发票"),
"fapiaozhushou" : MessageLookupByLibrary.simpleMessage("发票助手"),
@ -315,6 +316,7 @@ class MessageLookup extends MessageLookupByLibrary {
"qingshuruchongzhijine" : MessageLookupByLibrary.simpleMessage("请输入充值金额"),
"qingshurushoujihao" : MessageLookupByLibrary.simpleMessage("请输入手机号"),
"qingshuruyanzhengma" : MessageLookupByLibrary.simpleMessage("请输入验证码"),
"qingshuruyouxiaoshoujihaoma" : MessageLookupByLibrary.simpleMessage("请输入您的有效手机号"),
"qingshuruzhifumima" : MessageLookupByLibrary.simpleMessage("请输入支付密码"),
"qingtianxieshoujihao" : MessageLookupByLibrary.simpleMessage("请填写收件人手机号"),
"qingtianxiexingming" : MessageLookupByLibrary.simpleMessage("请填写收件人姓名"),

2
lib/generated/intl/messages_zh_CN.dart

@ -169,6 +169,7 @@ class MessageLookup extends MessageLookupByLibrary {
"duihuanxinxi" : MessageLookupByLibrary.simpleMessage("兑换信息"),
"fanhuiduihuanlishi" : MessageLookupByLibrary.simpleMessage("返回兑换历史"),
"fankui" : MessageLookupByLibrary.simpleMessage("反馈"),
"fankuilizi" : MessageLookupByLibrary.simpleMessage("您可以在这里输入反馈内容,例如产品建议,功能异常等"),
"fantizhongwen" : MessageLookupByLibrary.simpleMessage("繁体中文"),
"fapiao" : MessageLookupByLibrary.simpleMessage("发票"),
"fapiaozhushou" : MessageLookupByLibrary.simpleMessage("发票助手"),
@ -314,6 +315,7 @@ class MessageLookup extends MessageLookupByLibrary {
"qingshuruchongzhijine" : MessageLookupByLibrary.simpleMessage("请输入充值金额"),
"qingshurushoujihao" : MessageLookupByLibrary.simpleMessage("请输入手机号"),
"qingshuruyanzhengma" : MessageLookupByLibrary.simpleMessage("请输入验证码"),
"qingshuruyouxiaoshoujihaoma" : MessageLookupByLibrary.simpleMessage("请输入您的有效手机号"),
"qingshuruzhifumima" : MessageLookupByLibrary.simpleMessage("请输入支付密码"),
"qingtianxieshoujihao" : MessageLookupByLibrary.simpleMessage("请填写收件人手机号"),
"qingtianxiexingming" : MessageLookupByLibrary.simpleMessage("请填写收件人姓名"),

2
lib/generated/intl/messages_zh_Hans_CN.dart

@ -169,6 +169,7 @@ class MessageLookup extends MessageLookupByLibrary {
"duihuanxinxi" : MessageLookupByLibrary.simpleMessage("兑换信息"),
"fanhuiduihuanlishi" : MessageLookupByLibrary.simpleMessage("返回兑换历史"),
"fankui" : MessageLookupByLibrary.simpleMessage("反馈"),
"fankuilizi" : MessageLookupByLibrary.simpleMessage("您可以在这里输入反馈内容,例如产品建议,功能异常等"),
"fantizhongwen" : MessageLookupByLibrary.simpleMessage("繁体中文"),
"fapiao" : MessageLookupByLibrary.simpleMessage("发票"),
"fapiaozhushou" : MessageLookupByLibrary.simpleMessage("发票助手"),
@ -314,6 +315,7 @@ class MessageLookup extends MessageLookupByLibrary {
"qingshuruchongzhijine" : MessageLookupByLibrary.simpleMessage("请输入充值金额"),
"qingshurushoujihao" : MessageLookupByLibrary.simpleMessage("请输入手机号"),
"qingshuruyanzhengma" : MessageLookupByLibrary.simpleMessage("请输入验证码"),
"qingshuruyouxiaoshoujihaoma" : MessageLookupByLibrary.simpleMessage("请输入您的有效手机号"),
"qingshuruzhifumima" : MessageLookupByLibrary.simpleMessage("请输入支付密码"),
"qingtianxieshoujihao" : MessageLookupByLibrary.simpleMessage("请填写收件人手机号"),
"qingtianxiexingming" : MessageLookupByLibrary.simpleMessage("请填写收件人姓名"),

2
lib/generated/intl/messages_zh_Hant_CN.dart

@ -169,6 +169,7 @@ class MessageLookup extends MessageLookupByLibrary {
"duihuanxinxi" : MessageLookupByLibrary.simpleMessage("兑换信息"),
"fanhuiduihuanlishi" : MessageLookupByLibrary.simpleMessage("返回兌換歷史"),
"fankui" : MessageLookupByLibrary.simpleMessage("反饋"),
"fankuilizi" : MessageLookupByLibrary.simpleMessage("您可以在這裡輸入迴響內容,例如產品建議,功能异常等"),
"fantizhongwen" : MessageLookupByLibrary.simpleMessage("繁体中文"),
"fapiao" : MessageLookupByLibrary.simpleMessage("發票"),
"fapiaozhushou" : MessageLookupByLibrary.simpleMessage("發票助手"),
@ -314,6 +315,7 @@ class MessageLookup extends MessageLookupByLibrary {
"qingshuruchongzhijine" : MessageLookupByLibrary.simpleMessage("請輸入充值金額"),
"qingshurushoujihao" : MessageLookupByLibrary.simpleMessage("請輸入手機號碼"),
"qingshuruyanzhengma" : MessageLookupByLibrary.simpleMessage("請輸入驗證碼"),
"qingshuruyouxiaoshoujihaoma" : MessageLookupByLibrary.simpleMessage("请输入您的有效手机号"),
"qingshuruzhifumima" : MessageLookupByLibrary.simpleMessage("請輸入支付密碼"),
"qingtianxieshoujihao" : MessageLookupByLibrary.simpleMessage("請填寫收件人手機號"),
"qingtianxiexingming" : MessageLookupByLibrary.simpleMessage("請填寫收件人姓名"),

1
lib/generated/intl/messages_zh_TW.dart

@ -169,6 +169,7 @@ class MessageLookup extends MessageLookupByLibrary {
"duihuanxinxi" : MessageLookupByLibrary.simpleMessage("兑换信息"),
"fanhuiduihuanlishi" : MessageLookupByLibrary.simpleMessage("返回兌換歷史"),
"fankui" : MessageLookupByLibrary.simpleMessage("反饋"),
"fankuilizi" : MessageLookupByLibrary.simpleMessage("您可以在這裡輸入迴響內容,例如產品建議,功能异常等"),
"fantizhongwen" : MessageLookupByLibrary.simpleMessage("繁体中文"),
"fapiao" : MessageLookupByLibrary.simpleMessage("發票"),
"fapiaozhushou" : MessageLookupByLibrary.simpleMessage("發票助手"),

20
lib/generated/l10n.dart

@ -4475,6 +4475,26 @@ class S {
);
}
/// `,`
String get fankuilizi {
return Intl.message(
'您可以在这里输入反馈内容,例如产品建议,功能异常等',
name: 'fankuilizi',
desc: '',
args: [],
);
}
/// ``
String get qingshuruyouxiaoshoujihaoma {
return Intl.message(
'请输入您的有效手机号',
name: 'qingshuruyouxiaoshoujihaoma',
desc: '',
args: [],
);
}
/// `使`
String get privacy_policy4 {
return Intl.message(

15
lib/home/activity_list_page.dart

@ -95,10 +95,8 @@ class _ActivityListPage extends State<ActivityListPage>
itemBuilder: (context, position) {
return InkWell(
onTap: () {
Navigator.of(context)
.pushNamed('/router/store_detail_page', arguments: {
"activityId": activityList[position].id
});
Navigator.of(context).pushNamed('/router/store_detail_page',
arguments: {"activityId": activityList[position].id});
},
child: FrameSeparateWidget(
child: activityItem(activityList[position]),
@ -188,7 +186,9 @@ class _ActivityListPage extends State<ActivityListPage>
color: Color(0xFF4C4C4C),
),
),
SizedBox(height: 12.h,),
SizedBox(
height: 12.h,
),
ConstrainedBox(
constraints: BoxConstraints(
maxWidth: double.infinity,
@ -218,7 +218,9 @@ class _ActivityListPage extends State<ActivityListPage>
fontWeight: FontWeight.w400,
),
),
SizedBox(width: 4.w,),
SizedBox(
width: 4.w,
),
Text(
activity.startTime.split(" ")[1],
style: TextStyle(
@ -227,7 +229,6 @@ class _ActivityListPage extends State<ActivityListPage>
fontWeight: FontWeight.w400,
),
),
],
)
],

2
lib/l10n/intl_en.arb

@ -464,6 +464,8 @@
"yiqianshou": "已签收",
"jinrushangdian": "进入商店",
"zanwuxianshangjindian": "暂无线上进店",
"fankuilizi": "您可以在这里输入反馈内容,例如产品建议,功能异常等",
"qingshuruyouxiaoshoujihaoma": "请输入您的有效手机号",

2
lib/l10n/intl_zh_CN.arb

@ -465,6 +465,8 @@
"yiqianshou": "已签收",
"jinrushangdian": "进入商店",
"zanwuxianshangjindian": "暂无线上进店",
"fankuilizi": "您可以在这里输入反馈内容,例如产品建议,功能异常等",
"qingshuruyouxiaoshoujihaoma": "请输入您的有效手机号",

3
lib/l10n/intl_zh_Hans_CN.arb

@ -465,6 +465,9 @@
"yiqianshou": "已签收",
"jinrushangdian": "进入商店",
"zanwuxianshangjindian": "暂无线上进店",
"fankuilizi": "您可以在这里输入反馈内容,例如产品建议,功能异常等",
"qingshuruyouxiaoshoujihaoma": "请输入您的有效手机号",

2
lib/l10n/intl_zh_Hant_CN.arb

@ -459,6 +459,8 @@
"yiqianshou": "已簽收",
"jinrushangdian": "進入商店",
"zanwuxianshangjindian": "暫無綫上進店",
"fankuilizi": "您可以在這裡輸入迴響內容,例如產品建議,功能异常等",
"qingshuruyouxiaoshoujihaoma": "請輸入您的有效手機號",

2
lib/l10n/intl_zh_TW.arb

@ -457,6 +457,8 @@
"yiqianshou": "已簽收",
"jinrushangdian": "進入商店",
"zanwuxianshangjindian": "暫無綫上進店",
"fankuilizi": "您可以在這裡輸入迴響內容,例如產品建議,功能异常等",
"qingshuruyouxiaoshoujihaoma": "請輸入您的有效手機號",

3
lib/mine/mine_page.dart

@ -436,7 +436,7 @@ class _MinePage extends State<MinePage> with AutomaticKeepAliveClientMixin {
child: Text(
text,
style: TextStyle(
fontWeight: FontWeight.w600,
fontWeight: FontWeight.w500,
fontSize: 16.sp,
color: Color(0xFF353535),
),
@ -644,6 +644,7 @@ class _MinePage extends State<MinePage> with AutomaticKeepAliveClientMixin {
userinfo == null ? "" : "NO.${userinfo.vipNo}",
style: TextStyle(
fontSize: 12.sp,
fontWeight: FontWeight.w400,
color: Color(0xFF2F2F2F),
),
),

18
lib/order/exchange_history_page.dart

@ -264,11 +264,14 @@ class _ExchangeHistoryList extends State<ExchangeHistoryList> {
height: 16.h,
),
Row(
mainAxisAlignment: MainAxisAlignment.start,
crossAxisAlignment: CrossAxisAlignment.start,
children: [
Text(
S.of(context).zitidizhi,
S.of(context).zitidizhi + " :",
style: TextStyle(
color: Color(0xFF353535),
fontWeight: FontWeight.w400,
fontSize: 12.sp,
),
),
@ -280,6 +283,7 @@ class _ExchangeHistoryList extends State<ExchangeHistoryList> {
exchangeOrder.address ?? "",
style: TextStyle(
color: Colors.black,
fontWeight: FontWeight.w400,
fontSize: 12.sp,
),
),
@ -292,9 +296,10 @@ class _ExchangeHistoryList extends State<ExchangeHistoryList> {
Row(
children: [
Text(
S.of(context).zitishijian,
S.of(context).zitishijian + " :",
style: TextStyle(
color: Color(0xFF353535),
fontWeight: FontWeight.w400,
fontSize: 12.sp,
),
),
@ -306,6 +311,7 @@ class _ExchangeHistoryList extends State<ExchangeHistoryList> {
S.of(context).duihuanhouwugegongzuori,
style: TextStyle(
color: Colors.black,
fontWeight: FontWeight.w400,
fontSize: 12.sp,
),
),
@ -351,7 +357,7 @@ class _ExchangeHistoryList extends State<ExchangeHistoryList> {
color: Color(0xFF353535)),
),
SizedBox(
height: 2,
height: 5.h,
),
Text(
exchangeOrder.useTyped == 3
@ -361,6 +367,7 @@ class _ExchangeHistoryList extends State<ExchangeHistoryList> {
maxLines: 2,
style: TextStyle(
fontSize: 10.sp,
fontWeight: FontWeight.w400,
color: Color(0xFF727272),
),
),
@ -373,6 +380,7 @@ class _ExchangeHistoryList extends State<ExchangeHistoryList> {
"x1",
style: TextStyle(
fontSize: 12.sp,
fontWeight: FontWeight.w400,
color: Color(0xFF353535),
),
)
@ -415,6 +423,7 @@ class _ExchangeHistoryList extends State<ExchangeHistoryList> {
iconSize: 16,
textStyle: TextStyle(
fontSize: 12.sp,
fontWeight: FontWeight.w400,
color: Color(0xFF353535),
),
),
@ -423,7 +432,8 @@ class _ExchangeHistoryList extends State<ExchangeHistoryList> {
if (exchangeOrder.state == 1) {
receive2Card(exchangeOrder.id);
} else {
Navigator.of(context).pushNamed('/router/write_off_page', arguments: {});
Navigator.of(context)
.pushNamed('/router/write_off_page', arguments: {});
}
},
child: buildBtnStatus(exchangeOrder.state),

8
lib/setting/help_feedback_page.dart

@ -163,9 +163,10 @@ class _HelpFeedbackPage extends State<HelpFeedbackPage> {
maxLines: 5,
decoration: InputDecoration(
border: InputBorder.none,
hintText: "您可以在这里输入反馈内容,例如产品建议,功能异常等",
hintText: S.of(context).fankuilizi,
hintStyle: TextStyle(
fontSize: 14.sp,
fontWeight: FontWeight.w400,
color: Color(0xffA29E9E),
),
),
@ -178,6 +179,7 @@ class _HelpFeedbackPage extends State<HelpFeedbackPage> {
"0/50",
style: TextStyle(
fontSize: 14.sp,
fontWeight: FontWeight.w400,
color: Color(0xffA29E9E),
),
),
@ -211,9 +213,10 @@ class _HelpFeedbackPage extends State<HelpFeedbackPage> {
child: TextField(
decoration: InputDecoration(
border: InputBorder.none,
hintText: "请输入您的有效手机号",
hintText: S.of(context).qingshuruyouxiaoshoujihaoma,
hintStyle: TextStyle(
fontSize: 14.sp,
fontWeight: FontWeight.w400,
color: Color(0xffA29E9E),
),
),
@ -244,6 +247,7 @@ class _HelpFeedbackPage extends State<HelpFeedbackPage> {
cnt,
style: TextStyle(
fontSize: 14.sp,
fontWeight: FontWeight.w400,
color: Color(0xff8B8B8B),
),
),

6
lib/view_widget/mine_vip_view.dart

@ -1,4 +1,3 @@
import 'package:flutter/material.dart';
import 'package:huixiang/generated/l10n.dart';
import 'package:flutter_screenutil/flutter_screenutil.dart';
@ -186,6 +185,7 @@ class MineVipView extends StatelessWidget {
overflow: TextOverflow.ellipsis,
style: TextStyle(
color: textColor,
fontWeight: FontWeight.w400,
fontSize: 14.sp,
),
),
@ -208,6 +208,7 @@ class MineVipView extends StatelessWidget {
text: rankMax > 0 ? "/$rankMax" : "/0",
style: TextStyle(
fontSize: 14.sp,
fontWeight: FontWeight.w400,
color: textColor,
),
),
@ -239,7 +240,8 @@ class MineVipView extends StatelessWidget {
: "$createTime"),
style: TextStyle(
color: textColor,
fontSize: 14.sp,
fontWeight: FontWeight.w400,
fontSize: 12.sp,
),
),
Icon(

Loading…
Cancel
Save