多语言

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

@@ -54,7 +54,7 @@ class BookInfoPage extends GetView<BookInfoController> {
children: [
// 中间居中的标题
Text(
'我要预约',
'我要预约'.tr,
textAlign: TextAlign.center,
style: TextStyle(
color: Colors.white,
@@ -141,7 +141,7 @@ class BookInfoPage extends GetView<BookInfoController> {
height: 136.rpx,
alignment: Alignment.centerLeft,
child: Text(
'体验日期',
'体验日期'.tr,
style: TextStyle(
fontFamily: 'Readex Pro',
fontSize: 30.rpx,
@@ -178,7 +178,7 @@ class BookInfoPage extends GetView<BookInfoController> {
MainAxisAlignment.spaceBetween,
children: [
Text(
'体验时段',
'体验时段'.tr,
style: TextStyle(
fontFamily: 'Readex Pro',
fontSize: 30.rpx,
@@ -210,7 +210,7 @@ class BookInfoPage extends GetView<BookInfoController> {
index;
controller.updateAll();
}, title: '请选择时间');
}, title: '请选择时间'.tr);
});
},
child: Container(
@@ -234,7 +234,7 @@ class BookInfoPage extends GetView<BookInfoController> {
.select_time_index !=
null
? "${controller.model.time_period?[controller.model.select_time_index!]?["timeStr"]}"
: '请选择时间',
: '请选择时间'.tr,
style: TextStyle(
fontFamily:
'Readex Pro',
@@ -279,7 +279,7 @@ class BookInfoPage extends GetView<BookInfoController> {
MainAxisAlignment.spaceBetween,
children: [
Text(
'体验人员',
'体验人员'.tr,
style: TextStyle(
fontFamily: 'Readex Pro',
fontSize: 30.rpx,
@@ -327,7 +327,7 @@ class BookInfoPage extends GetView<BookInfoController> {
.normal_text_size,
letterSpacing: 0,
),
hintText: '输入姓名',
hintText: '输入姓名'.tr,
hintStyle: TextStyle(
fontFamily: 'Readex Pro',
fontSize: AppFontsize
@@ -413,7 +413,7 @@ class BookInfoPage extends GetView<BookInfoController> {
MainAxisAlignment.spaceBetween,
children: [
Text(
'手机号',
'手机号'.tr,
style: TextStyle(
fontFamily: 'Readex Pro',
fontSize: 30.rpx,
@@ -462,7 +462,7 @@ class BookInfoPage extends GetView<BookInfoController> {
.normal_text_size,
letterSpacing: 0,
),
hintText: '输入手机号',
hintText: '输入手机号'.tr,
hintStyle: TextStyle(
fontFamily: 'Readex Pro',
fontSize: AppFontsize
@@ -660,7 +660,7 @@ class BookInfoPage extends GetView<BookInfoController> {
borderRadius: BorderRadius.circular(6),
),
child: Text(
"提交预约",
"提交预约".tr,
style: TextStyle(
fontFamily: 'Readex Pro',
color: stringToColor("#011D33"),