多语言后端数据

This commit is contained in:
czz
2025-08-01 22:25:47 +08:00
parent 12a53ac36c
commit a199606f80
52 changed files with 1736 additions and 1142 deletions

View File

@@ -117,50 +117,107 @@ class DeviceRepairPage extends GetView<RepairListController> {
),
SizedBox(height: 33.rpx),
// 可滚动的正文部分,限定高度
// Expanded(
// child: SingleChildScrollView(
// child: RichText(
// text: TextSpan(
// style: TextStyle(
// color: Color(0XFF929699),
// fontSize: 26.rpx,
// ),
// children: [
// TextSpan(
// text:
// "尊敬的用户感谢您选择我司产品。在使用过程中如果设备出现故障需要维修请首先确认设备是否正确连接控制器或网络检查设置是否正常排除误操作问题。若问题依然存在请记录下设备名称、设备编号、和具体故障内容方便我们快速地为您提供帮助。您可以通过智慧棉花糖APP保修页面直接报修或拨打 "
// .tr,
// style: TextStyle(
// color: Color(0XFF929699),
// fontSize: 26.rpx,
// height: 1.3)),
// TextSpan(
// text: "400-8756-966",
// style: TextStyle(
// color: Colors.white,
// // height: 1.3,
// decoration: TextDecoration
// .underline, // 添加下划线
// decorationColor: Colors.white,
// decorationThickness: 4.rpx,
// ),
// recognizer: TapGestureRecognizer()
// ..onTap = () {
// MyUtils.makePhoneCall(
// "400-8756-966");
// },
// ),
// TextSpan(
// text: " 反馈。".tr,
// style: TextStyle(
// color: Color(0XFF929699),
// fontSize: 26.rpx,
// height: 1.3)),
// ],
// ),
// ),
// ),
// ),
Expanded(
child: SingleChildScrollView(
child: RichText(
text: TextSpan(
style: TextStyle(
color: Color(0XFF929699),
fontSize: 26.rpx,
),
children: [
TextSpan(
child: Padding(
padding: EdgeInsets.only(
right: 0,
),
child: Scrollbar(
thumbVisibility:
true, // 滚动时显示滑块false 时仅在滚动中短暂显示
thickness: 4.rpx,
child: SingleChildScrollView(
child: RichText(
text: TextSpan(
style: TextStyle(
color: Color(0XFF929699),
fontSize: 26.rpx,
),
children: [
TextSpan(
text:
"尊敬的用户感谢您选择我司产品。在使用过程中如果设备出现故障需要维修请首先确认设备是否正确连接控制器或网络检查设置是否正常排除误操作问题。若问题依然存在请记录下设备名称、设备编号、和具体故障内容方便我们快速地为您提供帮助。您可以通过智慧棉花糖APP保修页面直接报修或拨打 "
.tr,
style: TextStyle(
color: Color(0XFF929699),
fontSize: 26.rpx,
height: 1.3)),
TextSpan(
text: "400-8756-966",
style: TextStyle(
color: Colors.white,
// height: 1.3,
decoration: TextDecoration
.underline, // 添加下划线
decorationColor: Colors.white,
decorationThickness: 4.rpx,
color: Color(0XFF929699),
fontSize: 26.rpx,
height: 1.3,
),
),
recognizer: TapGestureRecognizer()
..onTap = () {
MyUtils.makePhoneCall(
"400-8756-966");
},
),
TextSpan(
TextSpan(
text: "400-8756-966",
style: TextStyle(
color: Colors.white,
decoration:
TextDecoration.underline,
decorationColor: Colors.white,
decorationThickness: 4.rpx,
),
recognizer:
TapGestureRecognizer()
..onTap = () {
MyUtils.makePhoneCall(
"400-8756-966");
},
),
TextSpan(
text: " 反馈。".tr,
style: TextStyle(
color: Color(0XFF929699),
fontSize: 26.rpx,
height: 1.3)),
],
color: Color(0XFF929699),
fontSize: 26.rpx,
height: 1.3,
),
),
],
),
),
),
),
),
))
],
))),
SizedBox(height: 24.rpx),