feat(ui): 交付第10个子页面【版本信息】UI重构与设计规范
- 页面交付清单 (已累计完成 10/11 个页面): 1. 语言设置 (已完工) 2. 版型切换 (已完工) 3. 心率区间设置 (已完工) 4. 自动连接配置 (已完工) 5. 手环配置 (已完工) 6. DFU固件升级 (已完工) 7. 用户管理 (已完工) 8. 设备数据库管理 (已完工) 9. 数据上传 (已完工) 10. 版本信息 (本次交付·已完工) - 核心重构亮点: 1. 采纳 Master-Detail Inset Station 经典双栏比例 (360px 1fr); 2. 左侧 360px 布局应用徽标、版本号微底胶囊与 OTA 系统更新卡片及全宽下载按钮; 3. 右侧 1fr 清晰组织【设备信息】与【构建信息】卡片矩阵,采用调和 Debug 玫瑰红标签; 4. 集齐 6 件套交付物 (baseline_ui.html, image.png, DESIGN_SPEC.md, implementation_plan.md, CARD 任务卡, README 更新)。
This commit is contained in:
@@ -0,0 +1,262 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="zh-CN">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>方案 1:Master-Detail Inset Station 经典双栏 (360px 1fr·推荐·家族风)</title>
|
||||
<style>
|
||||
/* =========================================================================
|
||||
全局统一色彩与 Design Tokens (严格对齐 #2563EB 体系)
|
||||
========================================================================= */
|
||||
:root {
|
||||
--color-primary: #2563EB;
|
||||
--color-primary-dark: #1D4ED8;
|
||||
--color-on-primary-container: #1E40AF;
|
||||
--color-primary-light: #EFF6FF;
|
||||
--color-primary-container: #EFF6FF;
|
||||
--color-primary-border: #DBEAFE;
|
||||
--color-primary-glow: rgba(37, 99, 235, 0.22);
|
||||
--color-primary-gradient: linear-gradient(135deg, #2563EB 0%, #1D4ED8 100%);
|
||||
|
||||
--bg: #EEF2F6;
|
||||
--surface: #FFFFFF;
|
||||
--surface-sub: #F8FAFC;
|
||||
--text-main: #0F172A;
|
||||
--text-sub: #64748B;
|
||||
--text-dim: #94A3B8;
|
||||
--divider: #E2E8F0;
|
||||
--border-card: #E2E8F0;
|
||||
|
||||
--color-success: #059669;
|
||||
--color-success-bg: #ECFDF5;
|
||||
--color-success-border: #A7F3D0;
|
||||
|
||||
--color-warning: #D97706;
|
||||
--color-warning-bg: #FFFBEB;
|
||||
--color-warning-border: #FDE68A;
|
||||
|
||||
--color-danger: #E11D48;
|
||||
--color-danger-bg: #FFF1F2;
|
||||
--color-danger-border: #FFE4E6;
|
||||
|
||||
--corner-card: 16px;
|
||||
--corner-item: 10px;
|
||||
--content-max-width: 1160px;
|
||||
--content-gutter: clamp(16px, 2.5vw, 32px);
|
||||
--appbar-height: 60px;
|
||||
}
|
||||
|
||||
* { box-sizing: border-box; margin: 0; padding: 0; }
|
||||
body {
|
||||
font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "PingFang SC", "Segoe UI", Roboto, sans-serif;
|
||||
background: var(--bg); color: var(--text-main); min-height: 100vh;
|
||||
padding: var(--content-gutter); display: flex; flex-direction: column; -webkit-font-smoothing: antialiased;
|
||||
}
|
||||
|
||||
.device-wrapper {
|
||||
width: 100%; max-width: var(--content-max-width); margin: 0 auto; background: var(--surface);
|
||||
border-radius: 20px; border: 1px solid var(--divider); box-shadow: 0 16px 40px -10px rgba(15, 23, 42, 0.08);
|
||||
overflow: hidden; position: relative; min-height: 660px; display: flex; flex-direction: column;
|
||||
}
|
||||
|
||||
/* 1. AppBar */
|
||||
.appbar {
|
||||
height: var(--appbar-height); display: flex; align-items: center; justify-content: space-between;
|
||||
padding: 0 20px; border-bottom: 1px solid var(--divider); background: var(--surface); flex-shrink: 0;
|
||||
}
|
||||
.appbar-left { display: flex; align-items: center; }
|
||||
.appbar-nav, .appbar-more {
|
||||
width: 40px; height: 40px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
|
||||
cursor: pointer; background: transparent; border: none; transition: all 0.15s ease;
|
||||
}
|
||||
.appbar-nav:hover, .appbar-more:hover { background: rgba(15, 23, 42, 0.06); transform: scale(0.96); }
|
||||
.appbar-nav svg, .appbar-more svg { width: 22px; height: 22px; fill: var(--text-main); }
|
||||
.appbar-title { font-size: 19px; font-weight: 700; margin-left: 10px; }
|
||||
|
||||
/* 2. 经典 360px 1fr 双栏布局 */
|
||||
.split-body {
|
||||
padding: clamp(20px, 2.5vw, 30px); background: #F8FAFC; flex: 1; overflow-y: auto;
|
||||
display: grid; grid-template-columns: 360px 1fr; gap: 20px; max-height: calc(100vh - 120px);
|
||||
}
|
||||
|
||||
/* 左侧 360px Hero 与 OTA 更新大盘 */
|
||||
.left-version-hero {
|
||||
background: white; border: 1.5px solid var(--divider); border-radius: 16px; padding: 24px;
|
||||
display: flex; flex-direction: column; justify-content: space-between; gap: 20px;
|
||||
box-shadow: 0 4px 14px rgba(15, 23, 42, 0.03);
|
||||
}
|
||||
|
||||
.hero-header-box {
|
||||
display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px;
|
||||
padding-bottom: 20px; border-bottom: 1px solid var(--divider);
|
||||
}
|
||||
.app-logo-box {
|
||||
width: 72px; height: 72px; border-radius: 18px; background: linear-gradient(135deg, #FF6B6B 0%, #EE5253 100%);
|
||||
display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 20px rgba(238, 82, 83, 0.25);
|
||||
}
|
||||
.app-logo-box svg { width: 38px; height: 38px; fill: white; }
|
||||
.app-title-name { font-size: 18px; font-weight: 800; color: var(--text-main); letter-spacing: -0.01em; }
|
||||
.app-version-badge {
|
||||
font-size: 13px; font-weight: 700; color: var(--color-primary); background: var(--color-primary-light);
|
||||
border: 1px solid var(--color-primary-border); padding: 4px 12px; border-radius: 20px;
|
||||
font-family: ui-monospace, monospace;
|
||||
}
|
||||
|
||||
/* OTA 系统更新卡片 */
|
||||
.ota-update-card {
|
||||
background: var(--color-primary-light); border: 1.5px solid var(--color-primary-border); border-radius: 12px;
|
||||
padding: 16px; display: flex; flex-direction: column; gap: 10px;
|
||||
}
|
||||
.ota-card-title {
|
||||
font-size: 13px; font-weight: 700; color: var(--color-on-primary-container); display: flex; align-items: center; justify-content: space-between;
|
||||
}
|
||||
.ota-new-version {
|
||||
display: flex; align-items: baseline; justify-content: space-between;
|
||||
}
|
||||
.ota-version-code { font-size: 16px; font-weight: 800; color: var(--color-primary); font-family: ui-monospace, monospace; }
|
||||
|
||||
/* 底部贯穿式升级按钮 */
|
||||
.btn-dynamic-full {
|
||||
width: 100%; height: 46px; border-radius: 10px; font-size: 14px; font-weight: 700; cursor: pointer;
|
||||
display: flex; align-items: center; justify-content: center; gap: 8px; transition: all 0.15s ease;
|
||||
border: 1.5px solid transparent;
|
||||
}
|
||||
.btn-primary-gradient {
|
||||
background: var(--color-primary-gradient); color: white;
|
||||
box-shadow: 0 4px 12px var(--color-primary-glow);
|
||||
}
|
||||
.btn-primary-gradient:hover { transform: translateY(-1px); box-shadow: 0 6px 16px var(--color-primary-glow); }
|
||||
|
||||
/* 右侧 1fr 设备与底层系统信息矩阵 */
|
||||
.right-details-panel {
|
||||
display: flex; flex-direction: column; gap: 16px;
|
||||
}
|
||||
|
||||
.info-card-block {
|
||||
background: white; border: 1.5px solid var(--divider); border-radius: 16px; padding: 20px 24px;
|
||||
display: flex; flex-direction: column; gap: 14px; box-shadow: 0 4px 14px rgba(15, 23, 42, 0.03);
|
||||
}
|
||||
.card-section-header {
|
||||
font-size: 15px; font-weight: 700; color: var(--text-main); display: flex; align-items: center; gap: 8px;
|
||||
padding-bottom: 10px; border-bottom: 1px solid var(--divider);
|
||||
}
|
||||
|
||||
.kv-table { display: flex; flex-direction: column; gap: 12px; }
|
||||
.kv-row-item {
|
||||
display: flex; align-items: center; justify-content: space-between;
|
||||
}
|
||||
.kv-label { font-size: 13.5px; color: var(--text-sub); font-weight: 500; }
|
||||
.kv-value { font-size: 14px; font-weight: 700; color: var(--text-main); font-family: ui-monospace, monospace; }
|
||||
|
||||
/* 状态标签 */
|
||||
.tag-badge {
|
||||
padding: 3px 10px; border-radius: 6px; font-size: 12px; font-weight: 700; display: inline-flex; align-items: center;
|
||||
}
|
||||
.tag-debug {
|
||||
background: var(--color-danger-bg); color: var(--color-danger); border: 1px solid var(--color-danger-border);
|
||||
}
|
||||
|
||||
/* 版权页脚 */
|
||||
.footer-copyright {
|
||||
text-align: center; font-size: 12px; color: var(--text-dim); margin-top: auto; padding-top: 10px;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div class="device-wrapper">
|
||||
<header class="appbar">
|
||||
<div class="appbar-left">
|
||||
<button class="appbar-nav" title="返回"><svg viewBox="0 0 24 24"><path d="M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20v-2z"/></svg></button>
|
||||
<h1 class="appbar-title">版本信息</h1>
|
||||
</div>
|
||||
<button class="appbar-more"><svg viewBox="0 0 24 24"><path d="M12 8c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2zm0 2c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0 6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z"/></svg></button>
|
||||
</header>
|
||||
|
||||
<main class="split-body">
|
||||
<!-- 左侧 360px 应用标头与 OTA 升级控制中心 -->
|
||||
<div class="left-version-hero">
|
||||
<div style="display: flex; flex-direction: column; gap: 18px;">
|
||||
<div class="hero-header-box">
|
||||
<div class="app-logo-box">
|
||||
<svg viewBox="0 0 24 24"><path d="M5 9.2h3V19H5V9.2zM10.6 5h2.8v14h-2.8V5zm5.6 8H19v6h-2.8v-6z"/></svg>
|
||||
</div>
|
||||
<div class="app-title-name">EAP Manage Team</div>
|
||||
<div class="app-version-badge">版本号 1.00.0000</div>
|
||||
</div>
|
||||
|
||||
<!-- 系统更新卡片 -->
|
||||
<div class="ota-update-card">
|
||||
<div class="ota-card-title">
|
||||
<span>系统更新</span>
|
||||
<span style="font-size: 11px; background: #DBEAFE; color: var(--color-primary); padding: 2px 6px; border-radius: 4px;">OTA 就绪</span>
|
||||
</div>
|
||||
<div class="ota-new-version">
|
||||
<span style="font-size: 12.5px; color: var(--text-sub);">有新版本可用:</span>
|
||||
<span class="ota-version-code">1.00.0001</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- 底部贯穿式下载更新按钮 -->
|
||||
<div>
|
||||
<button class="btn-dynamic-full btn-primary-gradient" onclick="handleDownloadUpdate()">
|
||||
<svg style="width: 17px; height: 17px; fill: currentColor;" viewBox="0 0 24 24"><path d="M19.35 10.04C18.67 6.59 15.64 4 12 4 9.11 4 6.6 5.64 5.35 8.04 2.34 8.36 0 10.91 0 14c0 3.31 2.69 6 6 6h13c2.76 0 5-2.24 5-5 0-2.64-2.05-4.78-4.65-4.96zM17 13l-5 5-5-5h3V9h4v4h3z"/></svg>
|
||||
<span>下载更新 (1.00.0001)</span>
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- 右侧 1fr 设备信息与构建信息卡片矩阵 -->
|
||||
<div class="right-details-panel">
|
||||
<!-- 卡 1:设备信息 -->
|
||||
<div class="info-card-block">
|
||||
<div class="card-section-header">
|
||||
<span>📱 设备信息</span>
|
||||
</div>
|
||||
<div class="kv-table">
|
||||
<div class="kv-row-item">
|
||||
<span class="kv-label">硬件 ID</span>
|
||||
<span class="kv-value">15EA5B1C22D14D97</span>
|
||||
</div>
|
||||
<div class="kv-row-item">
|
||||
<span class="kv-label">设备型号</span>
|
||||
<span class="kv-value">TB375FC</span>
|
||||
</div>
|
||||
<div class="kv-row-item">
|
||||
<span class="kv-label">Android 版本</span>
|
||||
<span class="kv-value">16 (API 36)</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- 卡 2:构建信息 -->
|
||||
<div class="info-card-block">
|
||||
<div class="card-section-header">
|
||||
<span>🛠️ 构建信息</span>
|
||||
</div>
|
||||
<div class="kv-table">
|
||||
<div class="kv-row-item">
|
||||
<span class="kv-label">构建类型</span>
|
||||
<span class="tag-badge tag-debug">Debug</span>
|
||||
</div>
|
||||
<div class="kv-row-item">
|
||||
<span class="kv-label">编译环境</span>
|
||||
<span class="kv-value" style="font-size: 13px;">UmiLab CI/CD Pipeline</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="footer-copyright">
|
||||
© 2026 UmiLab. All rights reserved.
|
||||
</div>
|
||||
</div>
|
||||
</main>
|
||||
</div>
|
||||
|
||||
<script>
|
||||
function handleDownloadUpdate() {
|
||||
alert('开始下载固件包 v1.00.0001 (共 38.4 MB)...');
|
||||
}
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,93 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="zh-CN">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>方案 2:Fluid Bento Station 居中磁贴工控卡片流</title>
|
||||
<style>
|
||||
:root {
|
||||
--color-primary: #2563EB;
|
||||
--bg: #EEF2F6;
|
||||
--surface: #FFFFFF;
|
||||
--text-main: #0F172A;
|
||||
--text-sub: #64748B;
|
||||
--divider: #E2E8F0;
|
||||
--content-max-width: 1160px;
|
||||
--content-gutter: clamp(16px, 2.5vw, 32px);
|
||||
--appbar-height: 60px;
|
||||
}
|
||||
* { box-sizing: border-box; margin: 0; padding: 0; }
|
||||
body {
|
||||
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
|
||||
background: var(--bg); color: var(--text-main); min-height: 100vh;
|
||||
padding: var(--content-gutter); display: flex; flex-direction: column;
|
||||
}
|
||||
.device-wrapper {
|
||||
width: 100%; max-width: var(--content-max-width); margin: 0 auto; background: var(--surface);
|
||||
border-radius: 20px; border: 1px solid var(--divider); box-shadow: 0 16px 40px -10px rgba(15, 23, 42, 0.08);
|
||||
overflow: hidden; position: relative; min-height: 660px; display: flex; flex-direction: column;
|
||||
}
|
||||
.appbar {
|
||||
height: var(--appbar-height); display: flex; align-items: center; justify-content: space-between;
|
||||
padding: 0 20px; border-bottom: 1px solid var(--divider); background: var(--surface);
|
||||
}
|
||||
.appbar-left { display: flex; align-items: center; }
|
||||
.appbar-nav, .appbar-more {
|
||||
width: 40px; height: 40px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
|
||||
cursor: pointer; background: transparent; border: none;
|
||||
}
|
||||
.appbar-nav svg, .appbar-more svg { width: 22px; height: 22px; fill: var(--text-main); }
|
||||
.appbar-title { font-size: 19px; font-weight: 700; margin-left: 10px; }
|
||||
|
||||
.bento-body {
|
||||
padding: clamp(20px, 2.5vw, 30px); background: #F8FAFC; flex: 1; overflow-y: auto;
|
||||
display: flex; flex-direction: column; gap: 16px; max-width: 860px; margin: 0 auto; width: 100%;
|
||||
}
|
||||
.bento-card {
|
||||
background: white; border: 1.5px solid var(--divider); border-radius: 14px; padding: 20px;
|
||||
display: flex; flex-direction: column; gap: 12px;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div class="device-wrapper">
|
||||
<header class="appbar">
|
||||
<div class="appbar-left">
|
||||
<button class="appbar-nav"><svg viewBox="0 0 24 24"><path d="M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20v-2z"/></svg></button>
|
||||
<h1 class="appbar-title">版本信息</h1>
|
||||
</div>
|
||||
<button class="appbar-more"><svg viewBox="0 0 24 24"><path d="M12 8c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2zm0 2c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0 6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z"/></svg></button>
|
||||
</header>
|
||||
|
||||
<main class="bento-body">
|
||||
<div class="bento-card" style="align-items: center; text-align: center;">
|
||||
<div style="width: 60px; height: 60px; border-radius: 14px; background: #EE5253; display: flex; align-items: center; justify-content: center;">
|
||||
<svg style="width: 32px; height: 32px; fill: white;" viewBox="0 0 24 24"><path d="M5 9.2h3V19H5V9.2zM10.6 5h2.8v14h-2.8V5zm5.6 8H19v6h-2.8v-6z"/></svg>
|
||||
</div>
|
||||
<h2 style="font-size: 18px; font-weight: 700; margin-top: 6px;">EAP Manage Team</h2>
|
||||
<span style="font-size: 13px; color: var(--color-primary); font-weight: 700;">版本号 1.00.0000</span>
|
||||
</div>
|
||||
|
||||
<div class="bento-card">
|
||||
<h3 style="font-size: 14px; font-weight: 700; border-bottom: 1px solid var(--divider); padding-bottom: 8px;">设备信息</h3>
|
||||
<div style="display: flex; justify-content: space-between;"><span>硬件 ID:</span><b>15EA5B1C22D14D97</b></div>
|
||||
<div style="display: flex; justify-content: space-between;"><span>设备型号:</span><b>TB375FC</b></div>
|
||||
<div style="display: flex; justify-content: space-between;"><span>Android 版本:</span><b>16 (API 36)</b></div>
|
||||
</div>
|
||||
|
||||
<div class="bento-card">
|
||||
<h3 style="font-size: 14px; font-weight: 700; border-bottom: 1px solid var(--divider); padding-bottom: 8px;">构建信息</h3>
|
||||
<div style="display: flex; justify-content: space-between;"><span>构建类型:</span><b style="color: #E11D48;">Debug</b></div>
|
||||
</div>
|
||||
|
||||
<div class="bento-card" style="flex-direction: row; justify-content: space-between; align-items: center;">
|
||||
<div>
|
||||
<div style="font-weight: 700;">系统更新</div>
|
||||
<div style="font-size: 12px; color: var(--text-sub);">有新版本可用: 1.00.0001</div>
|
||||
</div>
|
||||
<button style="height: 38px; padding: 0 16px; border-radius: 8px; border: none; background: var(--color-primary); color: white; font-weight: 700; cursor: pointer;">下载更新</button>
|
||||
</div>
|
||||
</main>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,84 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="zh-CN">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>方案 3:Cyber Precision 暗晶终端 HUD</title>
|
||||
<style>
|
||||
:root {
|
||||
--color-primary: #3B82F6;
|
||||
--bg: #0B0F19;
|
||||
--surface: #131B2E;
|
||||
--text-main: #F8FAFC;
|
||||
--text-sub: #94A3B8;
|
||||
--divider: #1E293B;
|
||||
--content-max-width: 1160px;
|
||||
--content-gutter: clamp(16px, 2.5vw, 32px);
|
||||
--appbar-height: 60px;
|
||||
}
|
||||
* { box-sizing: border-box; margin: 0; padding: 0; }
|
||||
body {
|
||||
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
|
||||
background: #060911; color: var(--text-main); min-height: 100vh;
|
||||
padding: var(--content-gutter); display: flex; flex-direction: column;
|
||||
}
|
||||
.device-wrapper {
|
||||
width: 100%; max-width: var(--content-max-width); margin: 0 auto; background: var(--surface);
|
||||
border-radius: 20px; border: 1px solid var(--divider); box-shadow: 0 16px 40px -10px rgba(0, 0, 0, 0.5);
|
||||
overflow: hidden; position: relative; min-height: 660px; display: flex; flex-direction: column;
|
||||
}
|
||||
.appbar {
|
||||
height: var(--appbar-height); display: flex; align-items: center; justify-content: space-between;
|
||||
padding: 0 20px; border-bottom: 1px solid var(--divider); background: var(--surface);
|
||||
}
|
||||
.appbar-left { display: flex; align-items: center; }
|
||||
.appbar-nav, .appbar-more {
|
||||
width: 40px; height: 40px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
|
||||
cursor: pointer; background: transparent; border: none;
|
||||
}
|
||||
.appbar-nav svg, .appbar-more svg { width: 22px; height: 22px; fill: var(--text-main); }
|
||||
.appbar-title { font-size: 19px; font-weight: 700; margin-left: 10px; }
|
||||
|
||||
.hud-body {
|
||||
padding: clamp(20px, 2.5vw, 30px); background: #0B0F19; flex: 1; overflow-y: auto;
|
||||
display: grid; grid-template-columns: 360px 1fr; gap: 20px;
|
||||
}
|
||||
.hud-card {
|
||||
background: #131B2E; border: 1.5px solid var(--divider); border-radius: 16px; padding: 20px;
|
||||
display: flex; flex-direction: column; gap: 14px;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div class="device-wrapper">
|
||||
<header class="appbar">
|
||||
<div class="appbar-left">
|
||||
<button class="appbar-nav"><svg viewBox="0 0 24 24"><path d="M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20v-2z"/></svg></button>
|
||||
<h1 class="appbar-title">版本信息</h1>
|
||||
</div>
|
||||
<button class="appbar-more"><svg viewBox="0 0 24 24"><path d="M12 8c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2zm0 2c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0 6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z"/></svg></button>
|
||||
</header>
|
||||
|
||||
<main class="hud-body">
|
||||
<div class="hud-card" style="justify-content: space-between;">
|
||||
<div style="display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px;">
|
||||
<div style="width: 64px; height: 64px; border-radius: 16px; background: #EE5253; display: flex; align-items: center; justify-content: center;">
|
||||
<svg style="width: 34px; height: 34px; fill: white;" viewBox="0 0 24 24"><path d="M5 9.2h3V19H5V9.2zM10.6 5h2.8v14h-2.8V5zm5.6 8H19v6h-2.8v-6z"/></svg>
|
||||
</div>
|
||||
<b style="font-size: 17px; color: #F8FAFC;">EAP Manage Team</b>
|
||||
<span style="color: #60A5FA; font-family: monospace;">v1.00.0000</span>
|
||||
</div>
|
||||
<button style="width: 100%; height: 42px; background: #2563EB; color: white; border: none; border-radius: 8px; font-weight: 700; cursor: pointer;">下载更新 (1.00.0001)</button>
|
||||
</div>
|
||||
|
||||
<div class="hud-card">
|
||||
<h3 style="color: #60A5FA; font-size: 14px;">设备与底层信息</h3>
|
||||
<div style="display: flex; justify-content: space-between; font-family: monospace;"><span>硬件 ID:</span><span>15EA5B1C22D14D97</span></div>
|
||||
<div style="display: flex; justify-content: space-between; font-family: monospace;"><span>设备型号:</span><span>TB375FC</span></div>
|
||||
<div style="display: flex; justify-content: space-between; font-family: monospace;"><span>Android:</span><span>16 (API 36)</span></div>
|
||||
<div style="display: flex; justify-content: space-between; font-family: monospace;"><span>构建类型:</span><span style="color: #F87171;">Debug</span></div>
|
||||
</div>
|
||||
</main>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,84 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="zh-CN">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>方案 4:Nordic Slate 极净工业卡片</title>
|
||||
<style>
|
||||
:root {
|
||||
--color-primary: #2563EB;
|
||||
--bg: #F8FAFC;
|
||||
--surface: #FFFFFF;
|
||||
--text-main: #0F172A;
|
||||
--text-sub: #64748B;
|
||||
--divider: #E2E8F0;
|
||||
--content-max-width: 1160px;
|
||||
--content-gutter: clamp(16px, 2.5vw, 32px);
|
||||
--appbar-height: 60px;
|
||||
}
|
||||
* { box-sizing: border-box; margin: 0; padding: 0; }
|
||||
body {
|
||||
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
|
||||
background: #F1F5F9; color: var(--text-main); min-height: 100vh;
|
||||
padding: var(--content-gutter); display: flex; flex-direction: column;
|
||||
}
|
||||
.device-wrapper {
|
||||
width: 100%; max-width: var(--content-max-width); margin: 0 auto; background: var(--surface);
|
||||
border-radius: 20px; border: 1px solid var(--divider); box-shadow: 0 16px 40px -10px rgba(15, 23, 42, 0.08);
|
||||
overflow: hidden; position: relative; min-height: 660px; display: flex; flex-direction: column;
|
||||
}
|
||||
.appbar {
|
||||
height: var(--appbar-height); display: flex; align-items: center; justify-content: space-between;
|
||||
padding: 0 20px; border-bottom: 1px solid var(--divider); background: var(--surface);
|
||||
}
|
||||
.appbar-left { display: flex; align-items: center; }
|
||||
.appbar-nav, .appbar-more {
|
||||
width: 40px; height: 40px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
|
||||
cursor: pointer; background: transparent; border: none;
|
||||
}
|
||||
.appbar-nav svg, .appbar-more svg { width: 22px; height: 22px; fill: var(--text-main); }
|
||||
.appbar-title { font-size: 19px; font-weight: 700; margin-left: 10px; }
|
||||
|
||||
.nordic-body {
|
||||
padding: clamp(24px, 3vw, 40px); background: #FFFFFF; flex: 1; overflow-y: auto;
|
||||
display: flex; flex-direction: column; gap: 20px; max-width: 860px; margin: 0 auto; width: 100%;
|
||||
}
|
||||
.list-item { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--divider); }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div class="device-wrapper">
|
||||
<header class="appbar">
|
||||
<div class="appbar-left">
|
||||
<button class="appbar-nav"><svg viewBox="0 0 24 24"><path d="M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20v-2z"/></svg></button>
|
||||
<h1 class="appbar-title">版本信息</h1>
|
||||
</div>
|
||||
<button class="appbar-more"><svg viewBox="0 0 24 24"><path d="M12 8c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2zm0 2c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0 6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z"/></svg></button>
|
||||
</header>
|
||||
|
||||
<main class="nordic-body">
|
||||
<div style="display: flex; align-items: center; gap: 16px; padding-bottom: 16px; border-bottom: 1px solid var(--divider);">
|
||||
<div style="width: 56px; height: 56px; border-radius: 12px; background: #EE5253; display: flex; align-items: center; justify-content: center;">
|
||||
<svg style="width: 30px; height: 30px; fill: white;" viewBox="0 0 24 24"><path d="M5 9.2h3V19H5V9.2zM10.6 5h2.8v14h-2.8V5zm5.6 8H19v6h-2.8v-6z"/></svg>
|
||||
</div>
|
||||
<div>
|
||||
<h2 style="font-size: 18px; font-weight: 700;">EAP Manage Team</h2>
|
||||
<span style="font-size: 13px; color: var(--color-primary);">版本号 1.00.0000</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="list-item"><span>硬件 ID</span><b style="font-family: monospace;">15EA5B1C22D14D97</b></div>
|
||||
<div class="list-item"><span>设备型号</span><b>TB375FC</b></div>
|
||||
<div class="list-item"><span>Android 版本</span><b>16 (API 36)</b></div>
|
||||
<div class="list-item"><span>构建类型</span><b style="color: #E11D48;">Debug</b></div>
|
||||
<div class="list-item" style="border-bottom: none;">
|
||||
<div>
|
||||
<b>系统更新</b>
|
||||
<div style="font-size: 12px; color: var(--text-sub);">有新版本可用: 1.00.0001</div>
|
||||
</div>
|
||||
<button style="height: 38px; padding: 0 16px; border: none; background: var(--color-primary); color: white; border-radius: 6px; font-weight: 700; cursor: pointer;">下载更新</button>
|
||||
</div>
|
||||
</main>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,89 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="zh-CN">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>方案 5:Unified Card Stream 垂直卡片流</title>
|
||||
<style>
|
||||
:root {
|
||||
--color-primary: #2563EB;
|
||||
--bg: #EEF2F6;
|
||||
--surface: #FFFFFF;
|
||||
--text-main: #0F172A;
|
||||
--text-sub: #64748B;
|
||||
--divider: #E2E8F0;
|
||||
--content-max-width: 1160px;
|
||||
--content-gutter: clamp(16px, 2.5vw, 32px);
|
||||
--appbar-height: 60px;
|
||||
}
|
||||
* { box-sizing: border-box; margin: 0; padding: 0; }
|
||||
body {
|
||||
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
|
||||
background: var(--bg); color: var(--text-main); min-height: 100vh;
|
||||
padding: var(--content-gutter); display: flex; flex-direction: column;
|
||||
}
|
||||
.device-wrapper {
|
||||
width: 100%; max-width: var(--content-max-width); margin: 0 auto; background: var(--surface);
|
||||
border-radius: 20px; border: 1px solid var(--divider); box-shadow: 0 16px 40px -10px rgba(15, 23, 42, 0.08);
|
||||
overflow: hidden; position: relative; min-height: 660px; display: flex; flex-direction: column;
|
||||
}
|
||||
.appbar {
|
||||
height: var(--appbar-height); display: flex; align-items: center; justify-content: space-between;
|
||||
padding: 0 20px; border-bottom: 1px solid var(--divider); background: var(--surface);
|
||||
}
|
||||
.appbar-left { display: flex; align-items: center; }
|
||||
.appbar-nav, .appbar-more {
|
||||
width: 40px; height: 40px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
|
||||
cursor: pointer; background: transparent; border: none;
|
||||
}
|
||||
.appbar-nav svg, .appbar-more svg { width: 22px; height: 22px; fill: var(--text-main); }
|
||||
.appbar-title { font-size: 19px; font-weight: 700; margin-left: 10px; }
|
||||
|
||||
.stream-body {
|
||||
padding: clamp(20px, 2.5vw, 30px); background: #F8FAFC; flex: 1; overflow-y: auto;
|
||||
display: flex; flex-direction: column; gap: 14px; max-width: 900px; margin: 0 auto; width: 100%;
|
||||
}
|
||||
.stream-card {
|
||||
background: white; border: 1.5px solid var(--divider); border-radius: 14px; padding: 18px;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div class="device-wrapper">
|
||||
<header class="appbar">
|
||||
<div class="appbar-left">
|
||||
<button class="appbar-nav"><svg viewBox="0 0 24 24"><path d="M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20v-2z"/></svg></button>
|
||||
<h1 class="appbar-title">版本信息</h1>
|
||||
</div>
|
||||
<button class="appbar-more"><svg viewBox="0 0 24 24"><path d="M12 8c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2zm0 2c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0 6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z"/></svg></button>
|
||||
</header>
|
||||
|
||||
<main class="stream-body">
|
||||
<div class="stream-card" style="display: flex; align-items: center; justify-content: space-between;">
|
||||
<div style="display: flex; align-items: center; gap: 14px;">
|
||||
<div style="width: 50px; height: 50px; border-radius: 12px; background: #EE5253; display: flex; align-items: center; justify-content: center;">
|
||||
<svg style="width: 28px; height: 28px; fill: white;" viewBox="0 0 24 24"><path d="M5 9.2h3V19H5V9.2zM10.6 5h2.8v14h-2.8V5zm5.6 8H19v6h-2.8v-6z"/></svg>
|
||||
</div>
|
||||
<div>
|
||||
<b style="font-size: 16px;">EAP Manage Team</b>
|
||||
<div style="font-size: 13px; color: var(--color-primary);">版本号 1.00.0000</div>
|
||||
</div>
|
||||
</div>
|
||||
<button style="height: 38px; padding: 0 16px; border: none; background: var(--color-primary); color: white; border-radius: 8px; font-weight: 700; cursor: pointer;">下载更新 (1.00.0001)</button>
|
||||
</div>
|
||||
|
||||
<div class="stream-card">
|
||||
<h4 style="margin-bottom: 10px; font-size: 14px;">设备信息</h4>
|
||||
<div style="display: flex; justify-content: space-between; padding: 6px 0;"><span>硬件 ID:</span><b>15EA5B1C22D14D97</b></div>
|
||||
<div style="display: flex; justify-content: space-between; padding: 6px 0;"><span>设备型号:</span><b>TB375FC</b></div>
|
||||
<div style="display: flex; justify-content: space-between; padding: 6px 0;"><span>Android 版本:</span><b>16 (API 36)</b></div>
|
||||
</div>
|
||||
|
||||
<div class="stream-card">
|
||||
<h4 style="margin-bottom: 10px; font-size: 14px;">构建信息</h4>
|
||||
<div style="display: flex; justify-content: space-between; padding: 6px 0;"><span>构建类型:</span><b style="color: #E11D48;">Debug</b></div>
|
||||
</div>
|
||||
</main>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,102 @@
|
||||
<!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: 720px;
|
||||
}
|
||||
</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;">v1.00.0000 · Android 16</span>
|
||||
</div>
|
||||
<div class="tabs-row">
|
||||
<button class="tab-btn active" onclick="switchOpt(1, this)">方案 1:Master-Detail Inset Station 经典双栏 (360px 1fr·推荐)</button>
|
||||
<button class="tab-btn" onclick="switchOpt(2, this)">方案 2:Fluid Bento Station 居中磁贴卡片流</button>
|
||||
<button class="tab-btn" onclick="switchOpt(3, this)">方案 3:Cyber Precision 暗晶终端 HUD</button>
|
||||
<button class="tab-btn" onclick="switchOpt(4, this)">方案 4:Nordic Slate 极净工业卡片</button>
|
||||
<button class="tab-btn" onclick="switchOpt(5, this)">方案 5:Unified Card Stream 垂直卡片流</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="preview-container">
|
||||
<iframe id="previewFrame" src="option_1_master_detail_split.html"></iframe>
|
||||
</div>
|
||||
|
||||
<script>
|
||||
const files = {
|
||||
1: 'option_1_master_detail_split.html',
|
||||
2: 'option_2_fluid_bento_station.html',
|
||||
3: 'option_3_cyber_telemetry_dock.html',
|
||||
4: 'option_4_nordic_slate_sheet.html',
|
||||
5: 'option_5_unified_card_stream.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>
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 70 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 44 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 33 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 36 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 38 KiB |
Reference in New Issue
Block a user