体征传感器

This commit is contained in:
czz
2025-07-19 17:52:39 +08:00
parent 594b1f31e0
commit 1480b2e708
17 changed files with 1130 additions and 795 deletions

View File

@@ -131,25 +131,7 @@ class Smys extends GetView<SleepingHabitController> {
letterSpacing: 0,
),
),
Container(
// height:
// MediaQuery.sizeOf(context).height *
// 0.04,
child: FlutterSwitch(
width: 70.rpx,
height: 36.rpx,
toggleSize: 30.rpx,
activeColor: Color(0XFF6BFDAC),
inactiveColor: Color(0XFF003058),
toggleColor: Color(0xFF011D33),
value: controller.model.smysIsStart,
onToggle: (val) {
controller.attr.update((getmodel) {
getmodel.model.smysIsStart = val;
});
},
)),
],
),
)),