多语言后端数据
This commit is contained in:
@@ -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),
|
||||
|
||||
Reference in New Issue
Block a user