日报时间切换

This commit is contained in:
czz
2025-07-14 18:44:27 +08:00
parent 68a2c32130
commit a8b0723714
2 changed files with 3 additions and 2 deletions

View File

@@ -883,7 +883,7 @@ class _NewSleepReportPageState extends State<NewSleepReportPage> {
void onRightArrowTap() {
final now = DateTime.now();
final today = DateTime(now.year, now.month, now.day);
final today = DateTime(now.year, now.month, now.day, 23, 59, 59, 999);
DateTime targetDate = selectedDate;
if (type == 1) {
@@ -1026,7 +1026,7 @@ class _NewSleepReportPageState extends State<NewSleepReportPage> {
width: 30.rpx,
height: 30.rpx,
child: SvgPicture.asset(
'assets/img/icon/arrow_left.svg',
'assets/img/icon/arrow_left1.svg',
color: themeController.currentColor.sc3,
),
),