style: 體適能

This commit is contained in:
skytek_xinliang
2026-08-05 17:41:50 +08:00
parent 7938903ada
commit 2b129e9fd5
2 changed files with 39 additions and 15 deletions
+6 -1
View File
@@ -25,6 +25,8 @@ const MOCK_DELAY = 300
export interface GroupMeta {
label: string
color: string
/** 以活動強度遞增的圖示表達組別高低,讓組別不只靠顏色辨識 */
icon: string
description: string
}
@@ -33,16 +35,19 @@ export const GROUP_META: Record<FitnessGroup, GroupMeta> = {
low: {
label: '低體適能',
color: 'warning',
icon: 'mdi-walk',
description: '肌力、平衡與心肺功能較弱,以降低跌倒風險、重建日常生活功能為優先。',
},
medium: {
label: '中體適能',
color: 'secondary',
color: 'info',
icon: 'mdi-run',
description: '尚未失能但已出現部分衰退,重點在累積功能儲備、增加肌肉量與心肺能力。',
},
high: {
label: '高體適能',
color: 'success',
icon: 'mdi-run-fast',
description: '功能儲備高、跌倒風險低,目標是延緩衰退速度並長期維持既有功能。',
},
}