Files
zhy200308 f895e45236 feat(ui): 交付第10个子页面【版本信息】UI重构与设计规范
- 页面交付清单 (已累计完成 10/11 个页面):
  1. 语言设置 (已完工)
  2. 版型切换 (已完工)
  3. 心率区间设置 (已完工)
  4. 自动连接配置 (已完工)
  5. 手环配置 (已完工)
  6. DFU固件升级 (已完工)
  7. 用户管理 (已完工)
  8. 设备数据库管理 (已完工)
  9. 数据上传 (已完工)
  10. 版本信息 (本次交付·已完工)
- 核心重构亮点:
  1. 采纳 Master-Detail Inset Station 经典双栏比例 (360px 1fr);
  2. 左侧 360px 布局应用徽标、版本号微底胶囊与 OTA 系统更新卡片及全宽下载按钮;
  3. 右侧 1fr 清晰组织【设备信息】与【构建信息】卡片矩阵,采用调和 Debug 玫瑰红标签;
  4. 集齐 6 件套交付物 (baseline_ui.html, image.png, DESIGN_SPEC.md, implementation_plan.md, CARD 任务卡, README 更新)。
2026-08-17 18:48:17 +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;">v1.00.0000 · Android 16</span>
</div>
<div class="tabs-row">
<button class="tab-btn active" onclick="switchOpt(1, this)">方案 1:Master-Detail Inset Station 经典双栏 (360px 1fr·推荐)</button>
<button class="tab-btn" onclick="switchOpt(2, this)">方案 2:Fluid Bento Station 居中磁贴卡片流</button>
<button class="tab-btn" onclick="switchOpt(3, this)">方案 3:Cyber Precision 暗晶终端 HUD</button>
<button class="tab-btn" onclick="switchOpt(4, this)">方案 4:Nordic Slate 极净工业卡片</button>
<button class="tab-btn" onclick="switchOpt(5, this)">方案 5:Unified Card Stream 垂直卡片流</button>
</div>
</div>
<div class="preview-container">
<iframe id="previewFrame" src="option_1_master_detail_split.html"></iframe>
</div>
<script>
const files = {
1: 'option_1_master_detail_split.html',
2: 'option_2_fluid_bento_station.html',
3: 'option_3_cyber_telemetry_dock.html',
4: 'option_4_nordic_slate_sheet.html',
5: 'option_5_unified_card_stream.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>