地址接口的视线
This commit is contained in:
@@ -107,15 +107,27 @@ class BluetoothPage extends GetView {
|
||||
// 蓝牙连接状态
|
||||
Column(
|
||||
children: [
|
||||
Image.asset(
|
||||
'assets/images/active_bluetooth.png',
|
||||
width: 68.rpx,
|
||||
height: 68.rpx,
|
||||
),
|
||||
data['blueToothStatus'] == 1
|
||||
? SvgPicture.asset(
|
||||
'assets/img/icon/blue_fail.svg',
|
||||
width: 68.rpx,
|
||||
height: 68.rpx,
|
||||
)
|
||||
: SvgPicture.asset(
|
||||
'assets/img/icon/blue_success.svg',
|
||||
width: 68.rpx,
|
||||
height: 68.rpx,
|
||||
),
|
||||
SizedBox(height: 4),
|
||||
Text('已连接',
|
||||
//下面文字和颜色也根据上面变化
|
||||
Text(
|
||||
data['blueToothStatus'] == 1
|
||||
? '未连接'
|
||||
: '已连接',
|
||||
style: TextStyle(
|
||||
color: Color(0xFF6BFDAC),
|
||||
color: data['blueToothStatus'] == 1
|
||||
? Color(0xFFFF7159)
|
||||
: Color(0xFF6BFDAC),
|
||||
fontSize: 26.rpx)),
|
||||
],
|
||||
),
|
||||
@@ -136,7 +148,8 @@ class BluetoothPage extends GetView {
|
||||
context, '人员资料', "/peopleInfoPage",
|
||||
arguments: data),
|
||||
_buildMenuButton(
|
||||
context, '房间选择', "/roomPickerPage",arguments: data),
|
||||
context, '房间选择', "/roomPickerPage",
|
||||
arguments: data),
|
||||
_buildMenuButton(context, '设备校准', ""),
|
||||
_buildMenuButton(context, '体征传感器', ""),
|
||||
_buildMenuButton(context, 'WIFI配置', ""),
|
||||
|
||||
Reference in New Issue
Block a user