人员资料生日数据格式错误
This commit is contained in:
@@ -179,27 +179,27 @@ class _BluetoothPageState extends State<BluetoothPage> {
|
||||
// 蓝牙连接状态
|
||||
Column(
|
||||
children: [
|
||||
obsData['blueToothStatus'] == 1
|
||||
obsData['blueToothStatus'] == 2
|
||||
? SvgPicture.asset(
|
||||
'assets/img/icon/blue_fail.svg',
|
||||
'assets/img/icon/blue_success.svg',
|
||||
width: 68.rpx,
|
||||
height: 68.rpx,
|
||||
)
|
||||
: SvgPicture.asset(
|
||||
'assets/img/icon/blue_success.svg',
|
||||
'assets/img/icon/blue_fail.svg',
|
||||
width: 68.rpx,
|
||||
height: 68.rpx,
|
||||
),
|
||||
SizedBox(height: 4),
|
||||
//下面文字和颜色也根据上面变化
|
||||
Text(
|
||||
obsData['blueToothStatus'] == 1
|
||||
? '未连接'
|
||||
: '已连接',
|
||||
obsData['blueToothStatus'] == 2
|
||||
? '已连接'
|
||||
: '未连接',
|
||||
style: TextStyle(
|
||||
color: obsData['blueToothStatus'] == 1
|
||||
? Color(0xFFFF7159)
|
||||
: Color(0xFF6BFDAC),
|
||||
color: obsData['blueToothStatus'] == 2
|
||||
? Color(0xFF6BFDAC)
|
||||
: Color(0xFFFF7159),
|
||||
fontSize: 26.rpx)),
|
||||
],
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user