feat(ui): 统一AppBar规范与双栏动态页边距,交付自动连接配置全量物料

This commit is contained in:
zhy200308
2026-08-17 16:32:14 +08:00
parent fa304292b4
commit c50d6f00f5
29 changed files with 4250 additions and 176 deletions
@@ -0,0 +1,178 @@
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>自动连接配置 - 方案 1 (通道) + 方案 2 (规则与策略) 融合竞标</title>
<style>
:root {
--primary: #2563EB;
--bg: #090D16;
--panel: #131B2E;
--border: #23314D;
--text: #F8FAFC;
--text-dim: #94A3B8;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", sans-serif;
background: var(--bg);
color: var(--text);
min-height: 100vh;
display: flex;
flex-direction: column;
}
header {
padding: 16px 28px;
background: var(--panel);
border-bottom: 1px solid var(--border);
display: flex;
align-items: center;
justify-content: space-between;
gap: 16px;
flex-wrap: wrap;
}
.brand {
font-size: 18px;
font-weight: 700;
color: #38BDF8;
display: flex;
align-items: center;
gap: 12px;
}
.brand span {
font-size: 12px;
font-weight: 500;
color: #E2E8F0;
background: #1E293B;
border: 1px solid var(--border);
padding: 3px 10px;
border-radius: 6px;
}
.nav-tabs {
display: flex;
gap: 6px;
background: #090D16;
padding: 4px;
border-radius: 12px;
border: 1px solid var(--border);
}
.tab-btn {
padding: 8px 14px;
border: none;
background: transparent;
color: var(--text-dim);
border-radius: 8px;
cursor: pointer;
font-size: 13px;
font-weight: 500;
transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
white-space: nowrap;
}
.tab-btn:hover { color: #FFFFFF; background: rgba(255,255,255,0.06); }
.tab-btn.active {
background: #2563EB;
color: #FFFFFF;
font-weight: 600;
box-shadow: 0 2px 10px rgba(37,99,235,0.4);
}
.main-content {
flex: 1;
display: flex;
flex-direction: column;
padding: 20px 28px;
align-items: center;
}
.desc-card {
width: 100%;
max-width: 1140px;
background: var(--panel);
border: 1px solid var(--border);
border-radius: 14px;
padding: 16px 24px;
margin-bottom: 16px;
display: flex;
align-items: center;
justify-content: space-between;
gap: 16px;
}
.desc-title { font-size: 16px; font-weight: 600; color: #F8FAFC; }
.desc-text { font-size: 13px; color: var(--text-dim); margin-top: 4px; line-height: 1.4; }
.iframe-container {
width: 100%;
max-width: 1140px;
height: 780px;
border-radius: 14px;
overflow: hidden;
border: 1px solid var(--border);
background: #FFF;
box-shadow: 0 16px 40px rgba(0,0,0,0.45);
}
iframe {
width: 100%;
height: 100%;
border: none;
}
</style>
</head>
<body>
<header>
<div class="brand">
⚙️ 自动连接配置 · 方案 1 (通道) + 方案 2 (规则与策略) 融合定稿竞标
<span>已修复顶部边框遮挡 · 重连规则上下摆放 · 文案 100% 严谨对齐</span>
</div>
<div class="nav-tabs">
<button class="tab-btn active" onclick="switchOption(0, this)">⭐ 融合定稿版 (最新精修)</button>
<button class="tab-btn" onclick="switchOption(1, this)">方案 1:iPadOS Pro 岛屿流</button>
<button class="tab-btn" onclick="switchOption(2, this)">方案 2:Neo-Clean Bento 磁贴</button>
</div>
</header>
<div class="main-content">
<div class="desc-card" id="descCard">
<div>
<div class="desc-title" id="descTitle">融合定稿方案 (最新精修):方案 1 通道岛屿 + 方案 2 上下重连规则与系统策略 Bento 矩阵</div>
<div class="desc-text" id="descDetail">1. 第一条通道顶部增加安全内边距,边框与微光投影清晰完整呈现;2. 型号过滤规则改为上下纵向摆放,输入框通栏舒展;3. 系统连接策略文案与原图 100% 对齐。</div>
</div>
<a id="directLink" href="option_integrated.html" target="_blank" style="color: #38BDF8; font-size: 13px; text-decoration: none; border: 1px solid #38BDF8; padding: 7px 14px; border-radius: 8px; white-space: nowrap;">独立打开 ↗</a>
</div>
<div class="iframe-container">
<iframe id="previewFrame" src="option_integrated.html"></iframe>
</div>
</div>
<script>
const options = [
{
id: 0,
file: 'option_integrated.html',
title: '融合定稿方案 (最新精修):方案 1 通道岛屿 + 方案 2 上下重连规则与系统策略 Bento 矩阵',
detail: '1. 第一条通道顶部增加安全内边距,边框与微光投影清晰完整呈现;2. 型号过滤规则改为上下纵向摆放,输入框通栏舒展;3. 系统连接策略文案与原图 100% 对齐。'
},
{
id: 1,
file: 'option_1_ipados_island.html',
title: '方案 1:iPadOS Pro 分组岛屿风',
detail: '左侧 430dp 通道独立岛屿,右侧型号规则与策略开关以单列纵向卡片呈现。'
},
{
id: 2,
file: 'option_2_neo_bento.html',
title: '方案 2:Neo-Clean Bento 磁贴风',
detail: '左侧立体通道卡片 + 右侧型号规则双子磁贴与策略四宫格磁贴。'
}
];
function switchOption(id, btn) {
document.querySelectorAll('.tab-btn').forEach(b => b.classList.remove('active'));
btn.classList.add('active');
const opt = options.find(o => o.id === id);
document.getElementById('descTitle').innerText = opt.title;
document.getElementById('descDetail').innerText = opt.detail;
document.getElementById('directLink').href = opt.file;
document.getElementById('previewFrame').src = opt.file;
}
</script>
</body>
</html>