chore: save preview bakeoff prototypes for swimming plan

This commit is contained in:
zhy200308
2026-08-18 11:09:49 +08:00
parent a6fe6878a9
commit ed6b0f3f14
26 changed files with 1551 additions and 0 deletions
@@ -0,0 +1,79 @@
<!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: 760px;
}
</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:双向平滑工控工作台 (推荐·全真交互)</button>
<button class="tab-btn" onclick="switchOpt(2, this)">方案 2:底部操作扩展坞 (Action Dock)</button>
<button class="tab-btn" onclick="switchOpt(3, this)">方案 3:侧边栏抽屉协同台 (Drawer Split)</button>
<button class="tab-btn" onclick="switchOpt(4, this)">方案 4:极客卡片驾驶舱 (Cyber Matrix)</button>
<button class="tab-btn" onclick="switchOpt(5, this)">方案 5:分步向导阶段过滤流 (Wizard Flow)</button>
</div>
</div>
<div class="preview-container">
<iframe id="previewFrame" src="scheme_1_multiview_studio.html"></iframe>
</div>
<script>
const files = {
1: 'scheme_1_multiview_studio.html',
2: 'scheme_2_action_dock.html',
3: 'scheme_3_drawer_split.html',
4: 'scheme_4_cyber_matrix.html',
5: 'scheme_5_wizard_flow.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>