更新首页数据滚动效果

This commit is contained in:
wyf
2026-01-12 15:16:36 +08:00
parent 0ef8ddee8a
commit e841ee887a
19 changed files with 1160 additions and 400 deletions

View File

@@ -367,7 +367,13 @@ class _DeviceDetailPageState extends State<DeviceDetailPage> {
alignment:
AlignmentDirectional(-1.rpx, 0.rpx),
child: Text(
'${widget.device['person']?['name'] ?? '未命名'.tr}',
((widget.device['person']?['name']
as String?)
?.trim()
.isNotEmpty ??
false)
? widget.device['person']['name']
: '体征检测设备'.tr,
style: TextStyle(
fontFamily: 'Inter',
fontSize: 26.rpx,