feat(foam_roller): 交付【主页面_四个下拉选项页面/泡沫轴】重构方案1A全量6件套并严格区分连接态与原版文字
This commit is contained in:
@@ -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>泡沫轴 - 方案1的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>🛹 泡沫轴 · 方案1的5套细化方案决策中心</span>
|
||||
<span style="font-size: 12px; background: rgba(37,99,235,0.2); color: #60A5FA; padding: 2px 8px; border-radius: 100px;">搭载官方 FR100 产品渲染图</span>
|
||||
</div>
|
||||
<div class="tabs-row">
|
||||
<button class="tab-btn active" onclick="switchOpt('1a', this)">方案 1A:经典工控立体滚轮 (推荐·官方FR100图版)</button>
|
||||
<button class="tab-btn" onclick="switchOpt('1b', this)">方案 1B:现代极简平滑流</button>
|
||||
<button class="tab-btn" onclick="switchOpt('1c', this)">方案 1C:数据看板与环形进度</button>
|
||||
<button class="tab-btn" onclick="switchOpt('1d', this)">方案 1D:紧凑高对比工控台</button>
|
||||
<button class="tab-btn" onclick="switchOpt('1e', this)">方案 1E:分段卡片磁吸座舱</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="preview-container">
|
||||
<iframe id="previewFrame" src="variant_1a_pro_industrial.html"></iframe>
|
||||
</div>
|
||||
|
||||
<script>
|
||||
const files = {
|
||||
'1a': 'variant_1a_pro_industrial.html',
|
||||
'1b': 'variant_1b_modern_smooth.html',
|
||||
'1c': 'variant_1c_visual_graphic.html',
|
||||
'1d': 'variant_1d_compact_precision.html',
|
||||
'1e': 'variant_1e_inset_cockpit.html'
|
||||
};
|
||||
function switchOpt(key, btn) {
|
||||
document.querySelectorAll('.tab-btn').forEach(b => b.classList.remove('active'));
|
||||
btn.classList.add('active');
|
||||
document.getElementById('previewFrame').src = files[key];
|
||||
}
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user