设备 预约接口

This commit is contained in:
czz
2025-06-16 21:43:07 +08:00
parent f7b50ae609
commit 89d0bbcc00
29 changed files with 2134 additions and 1085 deletions

View File

@@ -1,5 +1,6 @@
import 'package:ef/ef.dart';
import 'package:flutter/material.dart';
import 'package:flutter_svg/svg.dart';
import 'package:flutter_switch/flutter_switch.dart';
import 'package:vbvs_app/common/util/FitTool.dart';
import 'package:vbvs_app/common/util/MyUtils.dart';
@@ -130,7 +131,7 @@ class Smys extends GetView<SleepingHabitController> {
.override(
fontFamily: 'Readex Pro',
color: Color(0xFF9EA4B7),
fontSize: 30.rpx,
fontSize: 26.rpx,
letterSpacing: 0,
),
),
@@ -152,35 +153,7 @@ class Smys extends GetView<SleepingHabitController> {
getmodel.model.smysIsStart = val;
});
},
)
// Switch.adaptive(
// value: controller.model.smysIsStart,
// onChanged: (newValue) async {
// controller.attr.update((getmodel) {
// getmodel.model.smysIsStart =
// newValue;
// });
// // updateParm(errorccCallback: () {
// // controller.attr.update((getmodel) {
// // getmodel.model.smysIsStart = !newValue;
// // });
// // });
// },
// activeTrackColor: Color(0xFF6BFDAC),
// inactiveTrackColor: Color(0xFF003058),
// inactiveThumbColor: Color(0xFF011D33),
// trackOutlineWidth: MaterialStateProperty
// .resolveWith<double?>(
// (Set<MaterialState> states) {
// if (states.contains(
// MaterialState.disabled)) {
// return null;
// }
// return null; // Use the default width.
// }),
// ),
),
)),
],
),
)),
@@ -213,7 +186,7 @@ class Smys extends GetView<SleepingHabitController> {
.override(
fontFamily: 'Readex Pro',
color: Color(0xFF9EA4B7),
fontSize: 30.rpx,
fontSize: 26.rpx,
letterSpacing: 0,
),
),
@@ -242,18 +215,20 @@ class Smys extends GetView<SleepingHabitController> {
.override(
fontFamily: 'Readex Pro',
color: Colors.white,
fontSize: 36.rpx,
fontSize: 26.rpx,
letterSpacing: 0,
),
),
SizedBox(
width: 16.rpx,
),
Icon(
Icons.expand_more,
color: Colors.white,
size: 40.rpx,
),
Container(
height: 30.rpx,
width: 30.rpx,
child: SvgPicture.asset(
'assets/img/icon/expand_more.svg',
color: Colors.white,
))
],
),
),
@@ -289,7 +264,7 @@ class Smys extends GetView<SleepingHabitController> {
.override(
fontFamily: 'Readex Pro',
color: Color(0xFF9EA4B7),
fontSize: 30.rpx,
fontSize: 26.rpx,
letterSpacing: 0,
),
),
@@ -318,18 +293,20 @@ class Smys extends GetView<SleepingHabitController> {
.override(
fontFamily: 'Readex Pro',
color: Colors.white,
fontSize: 36.rpx,
fontSize: 26.rpx,
letterSpacing: 0,
),
),
SizedBox(
width: 16.rpx,
),
Icon(
Icons.expand_more,
color: Colors.white,
size: 40.rpx,
),
Container(
height: 30.rpx,
width: 30.rpx,
child: SvgPicture.asset(
'assets/img/icon/expand_more.svg',
color: Colors.white,
))
],
),
),