多语言

This commit is contained in:
czz
2025-07-30 16:48:48 +08:00
parent 92b6896176
commit 300e3b31f6
96 changed files with 3741 additions and 2710 deletions

View File

@@ -11,12 +11,12 @@ class BookSuccessPage extends GetView {
Map data;
BookSuccessPage({required this.data});
final infoList = [
{"label": "预约编号:", "value": "54648614654646"},
{"label": "预约人员:", "value": "张大大"},
{"label": "手机号码:", "value": "139****5699"},
{"label": "体验时间:", "value": "2024-02-15 07:30"},
{"label": "预约门店:", "value": "SWES眠花糖杭州南星桥旗舰店"},
{"label": "门店地址:", "value": "浙江省杭州市上城区飞云江路45号一层"},
{"label": "预约编号:".tr, "value": "54648614654646"},
{"label": "预约人员:".tr, "value": "张大大".tr},
{"label": "手机号码:".tr, "value": "139****5699"},
{"label": "体验时间:".tr, "value": "2024-02-15 07:30"},
{"label": "预约门店:".tr, "value": "SWES眠花糖杭州南星桥旗舰店".tr},
{"label": "门店地址:".tr, "value": "浙江省杭州市上城区飞云江路45号一层".tr},
];
@override
@@ -53,7 +53,7 @@ class BookSuccessPage extends GetView {
children: [
// 中间居中的标题
Text(
'我要预约',
'我要预约'.tr,
textAlign: TextAlign.center,
style: TextStyle(
color: Colors.white,
@@ -101,7 +101,7 @@ class BookSuccessPage extends GetView {
Align(
alignment: const AlignmentDirectional(0, 0),
child: Text(
'预约成功!',
'预约成功!'.tr,
style: TextStyle(
fontFamily: 'Readex Pro',
fontSize: 30.rpx,
@@ -174,7 +174,7 @@ class BookSuccessPage extends GetView {
child: Center(
// 保证文字居中
child: Text(
"关闭",
"关闭".tr,
style: TextStyle(
color: Color(0XFF011D33),
fontSize: 26.rpx,
@@ -199,7 +199,7 @@ class BookSuccessPage extends GetView {
child: Center(
// 保证文字居中
child: Text(
"我的预约",
"我的预约".tr,
style: TextStyle(
color: Color(0XFF011D33),
fontSize: 26.rpx,