121 lines
7.0 KiB
HTML
121 lines
7.0 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="zh-CN">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<title>泡沫轴 - 方案 1C:数据看板与环形进度 (Visual Graphic Station)</title>
|
|
<style>
|
|
:root {
|
|
--color-primary: #2563EB;
|
|
--color-primary-light: #EFF6FF;
|
|
--color-primary-border: #DBEAFE;
|
|
--bg: #EEF2F6;
|
|
--surface: #FFFFFF;
|
|
--text-main: #0F172A;
|
|
--text-sub: #64748B;
|
|
--text-dim: #94A3B8;
|
|
--divider: #E2E8F0;
|
|
--color-danger: #E11D48;
|
|
--content-max-width: 1240px;
|
|
}
|
|
* { box-sizing: border-box; margin: 0; padding: 0; }
|
|
body {
|
|
font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "PingFang SC", "Segoe UI", Roboto, sans-serif;
|
|
background: var(--bg); color: var(--text-main); min-height: 100vh; padding: 20px;
|
|
}
|
|
.device-wrapper {
|
|
width: 100%; max-width: var(--content-max-width); margin: 0 auto; background: var(--surface);
|
|
border-radius: 20px; border: 1px solid var(--divider); box-shadow: 0 16px 40px -10px rgba(15, 23, 42, 0.08);
|
|
min-height: 720px; display: flex; flex-direction: column; overflow: hidden;
|
|
}
|
|
.appbar {
|
|
height: 56px; display: flex; align-items: center; justify-content: space-between; padding: 0 20px;
|
|
border-bottom: 1px solid var(--divider); background: var(--surface);
|
|
}
|
|
.tri-grid {
|
|
padding: 20px; display: grid; grid-template-columns: 310px 1.15fr 1fr; gap: 18px; flex: 1; background: #F8FAFC;
|
|
}
|
|
.panel {
|
|
background: white; border: 1.5px solid var(--divider); border-radius: 16px; padding: 22px;
|
|
display: flex; flex-direction: column; justify-content: space-between;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<div class="device-wrapper">
|
|
<header class="appbar">
|
|
<div style="display: flex; align-items: center; gap: 10px;">
|
|
<button style="border: none; background: transparent; cursor: pointer;"><svg style="width: 22px; height: 22px;" viewBox="0 0 24 24"><path d="M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20v-2z"/></svg></button>
|
|
<h1 style="font-size: 18px; font-weight: 700;">泡沫轴 · 环形看板版</h1>
|
|
</div>
|
|
</header>
|
|
|
|
<main class="tri-grid">
|
|
<!-- 左栏 -->
|
|
<div class="panel">
|
|
<div style="display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px;">
|
|
<img src="fr100_setup_200.png" style="width: 170px; height: 85px; object-fit: contain;" alt="FR100">
|
|
<div style="width: 100%; display: flex; flex-direction: column; gap: 8px; font-size: 13px; background: #F8FAFC; padding: 12px; border-radius: 10px;">
|
|
<div style="display: flex; justify-content: space-between;"><span>设备型号</span><b>FR100-12EC</b></div>
|
|
<div style="display: flex; justify-content: space-between;"><span>软件版本</span><b>V1.2.8</b></div>
|
|
<div style="display: flex; justify-content: space-between;"><span>电池状态</span><b style="color: #059669;">100% 正常</b></div>
|
|
</div>
|
|
</div>
|
|
<div style="display: flex; gap: 8px;">
|
|
<button style="flex: 1; height: 38px; border: 1px solid var(--divider); background: #F1F5F9; border-radius: 8px; font-weight: 700;">扫描刷新</button>
|
|
<button style="flex: 1; height: 38px; border: 1px solid #FECDD3; background: white; color: var(--color-danger); border-radius: 8px; font-weight: 700;">断开连接</button>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- 中栏:环形进度计时 -->
|
|
<div class="panel" style="align-items: center; text-align: center;">
|
|
<div style="width: 100%; text-align: left;"><span style="font-size: 16px; font-weight: 700;">倒计时训练</span></div>
|
|
<div style="position: relative; width: 190px; height: 190px; display: flex; align-items: center; justify-content: center; margin: 10px 0;">
|
|
<svg width="190" height="190" viewBox="0 0 190 190" style="transform: rotate(-90deg);">
|
|
<circle cx="95" cy="95" r="82" fill="none" stroke="#DBEAFE" stroke-width="12"/>
|
|
<circle cx="95" cy="95" r="82" fill="none" stroke="var(--color-primary)" stroke-width="12" stroke-dasharray="515" stroke-dashoffset="120" stroke-linecap="round"/>
|
|
</svg>
|
|
<div style="position: absolute; display: flex; flex-direction: column; align-items: center;">
|
|
<span style="font-size: 40px; font-weight: 900; font-family: monospace;">02:58</span>
|
|
<span style="font-size: 12px; color: var(--text-sub);">设定时长: 3:00分</span>
|
|
</div>
|
|
</div>
|
|
<div style="width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 12px;">
|
|
<button style="height: 44px; background: var(--color-primary); color: white; border: none; border-radius: 10px; font-weight: 700;">启动训练</button>
|
|
<button style="height: 44px; background: var(--color-danger); color: white; border: none; border-radius: 10px; font-weight: 700;">暂停</button>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- 右栏:图形化模式与肌群 -->
|
|
<div class="panel" style="gap: 14px;">
|
|
<span style="font-size: 16px; font-weight: 700;">动作与肌群指示</span>
|
|
<div style="display: flex; flex-direction: column; gap: 12px;">
|
|
<div style="background: var(--color-primary-light); border: 1.5px solid var(--color-primary-border); border-radius: 10px; padding: 12px; display: flex; justify-content: space-between; align-items: center;">
|
|
<div>
|
|
<div style="font-size: 12px; color: var(--text-sub);">当前动作</div>
|
|
<div style="font-size: 16px; font-weight: 800; color: var(--color-primary);">🏊 游泳训练</div>
|
|
</div>
|
|
<div>
|
|
<div style="font-size: 12px; color: var(--text-sub);">目标肌群</div>
|
|
<div style="font-size: 16px; font-weight: 800; color: var(--color-primary);">💪 前臂肌群</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div style="display: flex; flex-direction: column; gap: 4px;">
|
|
<span style="font-size: 12.5px; font-weight: 700; color: var(--text-sub);">振动强度 (4档)</span>
|
|
<div style="display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px;">
|
|
<button style="height: 34px; border: 1px solid var(--divider); background: #F8FAFC; border-radius: 6px; font-weight: 700;">1</button>
|
|
<button style="height: 34px; border: 1px solid var(--divider); background: #F8FAFC; border-radius: 6px; font-weight: 700;">2</button>
|
|
<button style="height: 34px; border: 1px solid var(--divider); background: #F8FAFC; border-radius: 6px; font-weight: 700;">3</button>
|
|
<button style="height: 34px; border: none; background: var(--color-primary); color: white; border-radius: 6px; font-weight: 700;">4</button>
|
|
<button style="height: 34px; border: 1px solid var(--divider); background: #F8FAFC; border-radius: 6px; font-weight: 700;">5</button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<button style="height: 44px; background: var(--color-primary); color: white; border: none; border-radius: 10px; font-weight: 700;">保存配置</button>
|
|
</div>
|
|
</main>
|
|
</div>
|
|
</body>
|
|
</html>
|