This commit is contained in:
wyf
2025-08-16 11:01:17 +08:00
parent 79cbdb3fa2
commit 2e1ce8f9d7
13 changed files with 174 additions and 50 deletions

View File

@@ -364,7 +364,7 @@ class _BodyDevicePageState extends State<BodyDeviceWidget> {
mainAxisSize: MainAxisSize.max,
children: [
Container(
width: 160.rpx,
width: 180.rpx,
alignment: Alignment.center,
child: Text(
'体征检测设备.我的e护'.tr,
@@ -416,7 +416,7 @@ class _BodyDevicePageState extends State<BodyDeviceWidget> {
mainAxisSize: MainAxisSize.max,
children: [
Container(
width: 160.rpx,
width: 180.rpx,
alignment: Alignment.center,
child: Text(
'体征检测设备.云关爱'.tr,
@@ -437,6 +437,9 @@ class _BodyDevicePageState extends State<BodyDeviceWidget> {
.currentColor
.sc2,
),
overflow:
TextOverflow.ellipsis,
maxLines: 1,
),
),
SizedBox(height: 10.rpx),
@@ -447,8 +450,8 @@ class _BodyDevicePageState extends State<BodyDeviceWidget> {
],
),
Obx(() {
// 横线宽度固定为160.rpx
double lineWidth = 160.rpx;
// 横线宽度固定为180.rpx
double lineWidth = 180.rpx;
return AnimatedPositioned(
duration: Duration(milliseconds: 300),
curve: Curves.easeInOut,
@@ -456,7 +459,7 @@ class _BodyDevicePageState extends State<BodyDeviceWidget> {
left:
bodyDeviceController.model.type == 1
? 0
: 160.rpx,
: 180.rpx,
child: Container(
width: lineWidth,
height: 4.rpx,