feat: 支持步数卡片; 优化数据分析各类卡片样式

This commit is contained in:
richarjiang
2025-08-30 17:07:04 +08:00
parent 465d5350f3
commit 741688065d
9 changed files with 462 additions and 103 deletions

View File

@@ -1,5 +1,6 @@
import { createSlice, PayloadAction } from '@reduxjs/toolkit';
import { AppDispatch, RootState } from './index';
import { HourlyStepData } from '@/utils/health';
// 健康数据类型定义
export interface FitnessRingsData {
@@ -25,6 +26,7 @@ export interface HealthData {
exerciseMinutesGoal: number;
standHours: number;
standHoursGoal: number;
hourlySteps: HourlyStepData[];
}
export interface HealthState {