主页睡眠信息点击跳转页面修改

This commit is contained in:
czz
2025-09-12 15:58:09 +08:00
parent b828079c42
commit 6662051feb
3 changed files with 8 additions and 35 deletions

View File

@@ -494,10 +494,12 @@ class _NewHomePageState extends State<NewHomePage> {
selectedPerson;
personInfo.value =
selectedPerson;
// homeController
// .selectedDayIndex =
// (6).obs;
homeController
.selectedDayIndex =
(6).obs;
.selectedDayIndex
.value = 6;
print("$val");
if (val == null) {
homeController
@@ -681,28 +683,6 @@ class _NewHomePageState extends State<NewHomePage> {
int? timeMillis =
parseToInt(
day['time']);
// Get.toNamed(
// "/newSleepReportPage",
// arguments: {
// 'date':
// timeMillis,
// 'mac':
// formFieldController
// .value!,
// 'type': 1,
// "person":
// personInfo
// .value,
// 'backgroundImg':
// 'assets/images/new_background.png',
// // 'backgroundColor':stringToColor("#003058"),
// 'person_show':
// false,
// 'reportPadding':
// false,
// }
// //主页跳详情睡眠报告
// );
sleepReportController
.initParams(
macValue: