个人训练改版首页存档
This commit is contained in:
@@ -0,0 +1,104 @@
|
||||
// 首页一周打卡展示数据,直接对应顶部 7 个日期卡片。
|
||||
export const trainingHomeWeekSchedule = [
|
||||
{
|
||||
key: "mon",
|
||||
label: "周一",
|
||||
status: "done",
|
||||
icon: "../../static/training-home/slices/done.png",
|
||||
},
|
||||
{
|
||||
key: "tue",
|
||||
label: "周二",
|
||||
status: "done",
|
||||
icon: "../../static/training-home/slices/done.png",
|
||||
},
|
||||
{
|
||||
key: "wed",
|
||||
label: "周三",
|
||||
status: "missed",
|
||||
icon: "../../static/training-home/slices/missed.png",
|
||||
},
|
||||
{
|
||||
key: "thu",
|
||||
label: "周四",
|
||||
status: "missed",
|
||||
icon: "../../static/training-home/slices/missed.png",
|
||||
},
|
||||
{
|
||||
key: "fri",
|
||||
label: "周五",
|
||||
status: "done",
|
||||
icon: "../../static/training-home/slices/done.png",
|
||||
},
|
||||
{
|
||||
key: "sat",
|
||||
label: "周六",
|
||||
status: "done",
|
||||
icon: "../../static/training-home/slices/done.png",
|
||||
},
|
||||
{
|
||||
key: "sun",
|
||||
label: "周日",
|
||||
status: "missed",
|
||||
icon: "../../static/training-home/slices/missed.png",
|
||||
},
|
||||
];
|
||||
|
||||
// 首页统计卡数据,按设计稿从左到右展示。
|
||||
export const trainingHomeStats = [
|
||||
{ key: "days", value: "12", unit: "天", label: "共训练" },
|
||||
{ key: "shots", value: "112", unit: "支", label: "累计射箭" },
|
||||
{ key: "hitRate", value: "30", unit: "%", label: "命中率" },
|
||||
{ key: "endurance", value: "6", unit: "支/分钟", label: "耐力射击" },
|
||||
{ key: "calories", value: "31W", unit: "卡路里", label: "共消耗" },
|
||||
];
|
||||
|
||||
// 雷达图区文案与数值配置。
|
||||
export const trainingHomeRadar = {
|
||||
labels: ["基础", "精准", "力量", "节奏", "耐力"],
|
||||
values: [5.5, 6.3, 10, 4.5, 6],
|
||||
maxValue: 10,
|
||||
surpassValue: '80%'
|
||||
};
|
||||
|
||||
// 首页主推荐训练卡数据。
|
||||
export const trainingHomeFeatured = {
|
||||
title: "基础训练",
|
||||
progressText: "当前进度 LV7 >",
|
||||
};
|
||||
|
||||
// 首页四个训练入口卡片数据。
|
||||
export const trainingHomeModes = [
|
||||
{
|
||||
key: "endurance",
|
||||
title: "耐力训练",
|
||||
progressText: "当前进度 LV5 >",
|
||||
icon: "../../static/training-home/slices/img_3.png",
|
||||
recommended: true,
|
||||
disabled: false,
|
||||
},
|
||||
{
|
||||
key: "precision",
|
||||
title: "精准训练",
|
||||
progressText: "当前进度 LV3 >",
|
||||
icon: "../../static/training-home/slices/img_4.png",
|
||||
recommended: false,
|
||||
disabled: false,
|
||||
},
|
||||
{
|
||||
key: "rhythm",
|
||||
title: "节奏训练",
|
||||
progressText: "当前进度 LV6 >",
|
||||
icon: "../../static/training-home/slices/img_5.png",
|
||||
recommended: false,
|
||||
disabled: false,
|
||||
},
|
||||
{
|
||||
key: "power",
|
||||
title: "力量训练",
|
||||
progressText: "Coming! LV10",
|
||||
icon: "../../static/training-home/slices/img_6.png",
|
||||
recommended: false,
|
||||
disabled: true,
|
||||
},
|
||||
];
|
||||
Reference in New Issue
Block a user