feat: 支持步数卡片; 优化数据分析各类卡片样式
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user