193 lines
6.1 KiB
HTML
193 lines
6.1 KiB
HTML
<!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: #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: 1120px;
|
||
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: 1120px;
|
||
height: 680px;
|
||
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">
|
||
🎨 版型切换 · 5 种全新美学风格竞标
|
||
<span>保留出厂红框柱状图图标与全部字段</span>
|
||
</div>
|
||
<div class="nav-tabs">
|
||
<button class="tab-btn active" onclick="switchOption(1, this)">方案 1:Frosted Glass 毛玻璃</button>
|
||
<button class="tab-btn" onclick="switchOption(2, this)">方案 2:Split 双栏工作台</button>
|
||
<button class="tab-btn" onclick="switchOption(3, this)">方案 3:High-Tech 硬朗工控</button>
|
||
<button class="tab-btn" onclick="switchOption(4, this)">方案 4:Bento 横向磁贴</button>
|
||
<button class="tab-btn" onclick="switchOption(5, this)">方案 5:Editorial 精奢大画幅</button>
|
||
</div>
|
||
</header>
|
||
|
||
<div class="main-content">
|
||
<div class="desc-card" id="descCard">
|
||
<div>
|
||
<div class="desc-title" id="descTitle">方案 1:Frosted Glass 现代微质感毛玻璃风</div>
|
||
<div class="desc-text" id="descDetail">轻量磨砂微光质感,流线型 Active 边框,高保真微渐变确定按钮,极具现代消费级与专业级平板的细腻通透感。</div>
|
||
</div>
|
||
<a id="directLink" href="style_1_frosted_glass.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="style_1_frosted_glass.html"></iframe>
|
||
</div>
|
||
</div>
|
||
|
||
<script>
|
||
const options = [
|
||
{
|
||
id: 1,
|
||
file: 'style_1_frosted_glass.html',
|
||
title: '方案 1:Frosted Glass 现代微质感毛玻璃风',
|
||
detail: '轻量磨砂微光质感,流线型 Active 边框,高保真微渐变确定按钮,极具现代消费级与专业级平板的细腻通透感。'
|
||
},
|
||
{
|
||
id: 2,
|
||
file: 'style_2_split_studio.html',
|
||
title: '方案 2:Split Studio 双栏专业控制台 (对齐语言设置规范 · 强烈推荐)',
|
||
detail: '彻底打破单调上下堆叠,左侧 320dp 独立信息面板(原版红图+标题+当前生效版型联动) + 右侧卡片选择区,与语言设置 100% 家族化统一。'
|
||
},
|
||
{
|
||
id: 3,
|
||
file: 'style_3_high_tech.html',
|
||
title: '方案 3:High-Tech Crisp 硬朗工控科技风 (Teenage Engineering 灵感)',
|
||
detail: '极清晰的几何硬线条,2px 精准墨黑边框 + 实体微投影(3px Offset Shadow),硬核触控实体质感,极具工控设备专业范。'
|
||
},
|
||
{
|
||
id: 4,
|
||
file: 'style_4_bento_showcase.html',
|
||
title: '方案 4:Bento Showcase 横向双列磁贴风',
|
||
detail: '充分发挥平板横屏优势,左右并排横向 50-50 对照卡片,一屏完整对照两个版本特性,无需上下滑动。'
|
||
},
|
||
{
|
||
id: 5,
|
||
file: 'style_5_editorial.html',
|
||
title: '方案 5:Editorial Presentation 精奢大画幅风',
|
||
detail: '高张力大字阶排版,左侧 5px 垂直品牌色指示条,右侧精密单选圈,呈现顶级软硬件产品发布会般的视觉层次。'
|
||
}
|
||
];
|
||
|
||
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>
|