Files
zhy200308 fa961c8820 feat(ui): 交付第11个收官页面【Logo授权管理】UI重构与全链路真实交互 (11/11 全量完工)
- 页面交付清单 (🎉 设置页面全部 11/11 已 100% 完工交付):
  1. 语言设置 (已完工)
  2. 版型切换 (已完工)
  3. 心率区间设置 (已完工)
  4. 自动连接配置 (已完工)
  5. 手环配置 (已完工)
  6. DFU固件升级 (已完工)
  7. 用户管理 (已完工)
  8. 设备数据库管理 (已完工)
  9. 数据上传 (已完工)
  10. 版本信息 (已完工)
  11. Logo授权管理 (本次交付·已完工·全量大圆满)
- 核心重构亮点:
  1. 采纳 Master-Detail Inset Studio 经典双栏比例 (360px 1fr);
  2. 左侧 360px 品牌控制面板集成【文本Logo / 图片Logo】分段器与当前模式说明;
  3. 右侧 1fr 建立所见即所得的【顶部栏实时效果预览】真实模拟舱;
  4. 文本模式支持 0 延迟实时打字同步回显与 10/15 字数超长校验;
  5. 图片模式支持真实选择本地 PNG/SVG 透明背景图片与预设 Logo 一键切换;
  6. 集齐 6 件套交付物 (baseline_ui.html, image.png, DESIGN_SPEC.md, implementation_plan.md, CARD 任务卡, README 更新)。
2026-08-17 18:53:51 +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>Logo授权管理 - 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>🛡️ Logo授权管理 5套候选方案决策中心</span>
<span style="font-size: 12px; background: rgba(37,99,235,0.2); color: #60A5FA; padding: 2px 8px; border-radius: 100px;">文本Logo / 图片Logo 双模式</span>
</div>
<div class="tabs-row">
<button class="tab-btn active" onclick="switchOpt(1, this)">方案 1:Master-Detail Inset Studio 经典双栏 (360px 1fr·推荐)</button>
<button class="tab-btn" onclick="switchOpt(2, this)">方案 2:Fluid Brand Studio 居中工控卡片流</button>
<button class="tab-btn" onclick="switchOpt(3, this)">方案 3:Cyber Precision 极客品牌中枢</button>
<button class="tab-btn" onclick="switchOpt(4, this)">方案 4:Nordic Slate 极净工业定制卡</button>
<button class="tab-btn" onclick="switchOpt(5, this)">方案 5:Neo-Bento 品牌矩阵</button>
</div>
</div>
<div class="preview-container">
<iframe id="previewFrame" src="option_1_master_detail_studio.html"></iframe>
</div>
<script>
const files = {
1: 'option_1_master_detail_studio.html',
2: 'option_2_fluid_workbench.html',
3: 'option_3_cyber_brand_hub.html',
4: 'option_4_nordic_slate_sheet.html',
5: 'option_5_neo_bento_brand.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>