Files
zhy200308 75a642f4e9 feat(ui): 交付第8个子页面【设备数据库管理】UI重构与全链路功能联动
- 页面交付清单 (已累计完成 8/11 个页面):
  1. 语言设置 (已完工)
  2. 版型切换 (已完工)
  3. 心率区间设置 (已完工)
  4. 自动连接配置 (已完工)
  5. 手环配置 (已完工)
  6. DFU固件升级 (已完工)
  7. 用户管理 (已完工)
  8. 设备数据库管理 (本次交付·已完工)
- 核心重构亮点:
  1. 采纳 Master-Detail Inset Station 经典双栏比例 (360px 1fr);
  2. 全量遵循 #2563EB 核心主色蓝体系与柔和调和语义色规范;
  3. 严格对齐原版文字:【📡 设备数据库 (统一充电与状态管理)】、【默认同步天数】与【批量解绑全部】;
  4. 完备支持任意手环设备单选/多选/全选联动,动态响应同步台数;
  5. 支持自由配置 1天/3天/7天/14天/30天 同步时间范围;
  6. 集齐 6 件套交付物 (baseline_ui.html, image.png, DESIGN_SPEC.md, implementation_plan.md, CARD 任务卡, README 更新)。
2026-08-17 18:33:28 +08:00

103 lines
3.1 KiB
HTML
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>设备数据库管理 - 5套重构方案决策中心</title>
<style>
:root {
--primary: #2563EB;
--bg: #0B0F19;
--panel: #131B2E;
--border: #1E293B;
--text: #F8FAFC;
--text-sub: #94A3B8;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Segoe UI", Roboto, sans-serif;
background: var(--bg);
color: var(--text);
min-height: 100vh;
display: flex;
flex-direction: column;
}
.header-bar {
padding: 16px 24px;
background: var(--panel);
border-bottom: 1px solid var(--border);
display: flex;
align-items: center;
justify-content: space-between;
}
.hub-title { font-size: 18px; font-weight: 700; display: flex; align-items: center; gap: 10px; }
.tabs-row { display: flex; gap: 8px; }
.tab-btn {
padding: 8px 16px;
border-radius: 8px;
font-size: 13px;
font-weight: 700;
border: 1px solid var(--border);
background: #1E293B;
color: var(--text-sub);
cursor: pointer;
transition: all 0.2s ease;
}
.tab-btn.active {
background: var(--primary);
color: white;
border-color: var(--primary);
box-shadow: 0 0 12px rgba(37, 99, 235, 0.4);
}
.preview-container {
flex: 1;
display: flex;
flex-direction: column;
padding: 20px;
}
iframe {
width: 100%;
flex: 1;
border: 1px solid var(--border);
border-radius: 16px;
background: white;
min-height: 720px;
}
</style>
</head>
<body>
<div class="header-bar">
<div class="hub-title">
<span>📡 设备数据库管理 5套候选方案决策中心</span>
<span style="font-size: 12px; background: rgba(37,99,235,0.2); color: #60A5FA; padding: 2px 8px; border-radius: 100px;">统一充电与状态遥测</span>
</div>
<div class="tabs-row">
<button class="tab-btn active" onclick="switchOpt(1, this)">方案 1:Fluid Telemetry Pro 流式卡片 (推荐·家族风)</button>
<button class="tab-btn" onclick="switchOpt(2, this)">方案 2:Master-Detail Inset Station 经典双栏 (360px 1fr)</button>
<button class="tab-btn" onclick="switchOpt(3, this)">方案 3:Neo-Bento 充电机柜网格</button>
<button class="tab-btn" onclick="switchOpt(4, this)">方案 4:Nordic Slate 极净设备清单</button>
<button class="tab-btn" onclick="switchOpt(5, this)">方案 5:Cyber Precision 暗晶遥测中枢</button>
</div>
</div>
<div class="preview-container">
<iframe id="previewFrame" src="option_1_telemetry_flow.html"></iframe>
</div>
<script>
const files = {
1: 'option_1_telemetry_flow.html',
2: 'option_2_split_station.html',
3: 'option_3_bento_charging_matrix.html',
4: 'option_4_nordic_compact_sheet.html',
5: 'option_5_cyber_dock_hud.html'
};
function switchOpt(num, btn) {
document.querySelectorAll('.tab-btn').forEach(b => b.classList.remove('active'));
btn.classList.add('active');
document.getElementById('previewFrame').src = files[num];
}
</script>
</body>
</html>