chore: 添加设计分析参考和辅助脚本

- IHG设计分析HTML参考页面
- 布局检查、DOM诊断、验收测试等辅助脚本
This commit is contained in:
张翔
2026-06-07 16:22:11 +08:00
parent b1f3a395ca
commit 929f3ed250
15 changed files with 3011 additions and 0 deletions
@@ -0,0 +1,12 @@
{"type":"server-started","port":53000,"host":"127.0.0.1","url_host":"localhost","url":"http://localhost:53000","screen_dir":"/Users/zhangxiang/Codes/Novalon/novalon-website/.superpowers/brainstorm/39838-1777791603"}
{"type":"screen-added","file":"/Users/zhangxiang/Codes/Novalon/novalon-website/.superpowers/brainstorm/39838-1777791603/animation-style.html"}
{"type":"screen-added","file":"/Users/zhangxiang/Codes/Novalon/novalon-website/.superpowers/brainstorm/39838-1777791603/hero-animation-demos.html"}
{"type":"screen-updated","file":"/Users/zhangxiang/Codes/Novalon/novalon-website/.superpowers/brainstorm/39838-1777791603/hero-animation-demos.html"}
{"type":"screen-updated","file":"/Users/zhangxiang/Codes/Novalon/novalon-website/.superpowers/brainstorm/39838-1777791603/hero-animation-demos.html"}
{"type":"screen-updated","file":"/Users/zhangxiang/Codes/Novalon/novalon-website/.superpowers/brainstorm/39838-1777791603/hero-animation-demos.html"}
{"type":"screen-updated","file":"/Users/zhangxiang/Codes/Novalon/novalon-website/.superpowers/brainstorm/39838-1777791603/hero-animation-demos.html"}
{"type":"screen-updated","file":"/Users/zhangxiang/Codes/Novalon/novalon-website/.superpowers/brainstorm/39838-1777791603/hero-animation-demos.html"}
{"type":"screen-updated","file":"/Users/zhangxiang/Codes/Novalon/novalon-website/.superpowers/brainstorm/39838-1777791603/hero-animation-demos.html"}
{"type":"screen-added","file":"/Users/zhangxiang/Codes/Novalon/novalon-website/.superpowers/brainstorm/39838-1777791603/hero-ink-demos.html"}
{"type":"screen-added","file":"/Users/zhangxiang/Codes/Novalon/novalon-website/.superpowers/brainstorm/39838-1777791603/hero-refined-demos.html"}
{"type":"server-stopped","reason":"idle timeout"}
@@ -0,0 +1 @@
39911
@@ -0,0 +1,17 @@
{"type":"server-started","port":49579,"host":"127.0.0.1","url_host":"localhost","url":"http://localhost:49579","screen_dir":"/Users/zhangxiang/Codes/Novalon/novalon-website/.superpowers/brainstorm/71919-1777542709"}
{"type":"screen-added","file":"/Users/zhangxiang/Codes/Novalon/novalon-website/.superpowers/brainstorm/71919-1777542709/atlassian-comparison.html"}
{"source":"user-event","type":"click","text":"5\n \n 设计系统驱动一致性\n Atlassian Design System 统一了 Token、组件、模式三层。从字体(Atlassian Sans)、图标(1.5px stroke)、颜色(中性偏暖)到组件(按钮/标签/卡片),全产品线一致。Novalon 目前有设计变量但缺乏系统化组件库。","choice":"design-system","id":null,"timestamp":1777542883049}
{"source":"user-event","type":"click","text":"1\n \n 产品矩阵导航\n 顶部导航下拉展示所有产品,每个产品有独立落地页。用户可按\"产品\"或\"场景\"两条路径发现内容。Novalon 当前将产品、服务、解决方案平铺在单页中,缺乏独立深度。","choice":"product-matrix","id":null,"timestamp":1777542885404}
{"source":"user-event","type":"click","text":"1\n \n 产品矩阵导航\n 顶部导航下拉展示所有产品,每个产品有独立落地页。用户可按\"产品\"或\"场景\"两条路径发现内容。Novalon 当前将产品、服务、解决方案平铺在单页中,缺乏独立深度。","choice":"product-matrix","id":null,"timestamp":1777542923363}
{"source":"user-event","type":"click","text":"5\n \n 设计系统驱动一致性\n Atlassian Design System 统一了 Token、组件、模式三层。从字体(Atlassian Sans)、图标(1.5px stroke)、颜色(中性偏暖)到组件(按钮/标签/卡片),全产品线一致。Novalon 目前有设计变量但缺乏系统化组件库。","choice":"design-system","id":null,"timestamp":1777542928409}
{"source":"user-event","type":"click","text":"1\n \n 产品矩阵导航\n 顶部导航下拉展示所有产品,每个产品有独立落地页。用户可按\"产品\"或\"场景\"两条路径发现内容。Novalon 当前将产品、服务、解决方案平铺在单页中,缺乏独立深度。","choice":"product-matrix","id":null,"timestamp":1777542929579}
{"source":"user-event","type":"click","text":"3\n \n 场景化入口\n \"Get started with a template\" — Scrum / Bug Tracking / DevOps 等场景模板,让用户按自身需求快速找到切入点。Novalon 的解决方案页面目前是静态描述,缺乏场景引导。","choice":"scenario-entry","id":null,"timestamp":1777542951112}
{"source":"user-event","type":"click","text":"1\n \n 产品矩阵导航\n 顶部导航下拉展示所有产品,每个产品有独立落地页。用户可按\"产品\"或\"场景\"两条路径发现内容。Novalon 当前将产品、服务、解决方案平铺在单页中,缺乏独立深度。","choice":"product-matrix","id":null,"timestamp":1777542952419}
{"source":"user-event","type":"click","text":"2\n \n 社会证明前置\n Hero 之后紧跟\"300K+ 公司 / 80% Fortune 500\"数据条。Novalon 的数据统计在 Hero 底部,且缺乏大客户 Logo 墙和具体量化成果展示。","choice":"social-proof","id":null,"timestamp":1777543514788}
{"source":"user-event","type":"click","text":"1\n \n 产品矩阵导航\n 顶部导航下拉展示所有产品,每个产品有独立落地页。用户可按\"产品\"或\"场景\"两条路径发现内容。Novalon 当前将产品、服务、解决方案平铺在单页中,缺乏独立深度。","choice":"product-matrix","id":null,"timestamp":1777543918517}
{"type":"screen-added","file":"/Users/zhangxiang/Codes/Novalon/novalon-website/.superpowers/brainstorm/71919-1777542709/brand-direction-comparison.html"}
{"source":"user-event","type":"click","text":"数字化转型\n 睿新致遠\n 智连未来,成长伙伴\n 预约演示\n \n \n \n \n B — 收敛但保留印记\n 白底为主 + 极简装饰线条 + 书法标题保留 + 朱砂红品牌色。克制专业,品牌锚点仍在。","choice":"b","id":null,"timestamp":1777544379412}
{"type":"screen-added","file":"/Users/zhangxiang/Codes/Novalon/novalon-website/.superpowers/brainstorm/71919-1777542709/delivery-pace-comparison.html"}
{"type":"screen-added","file":"/Users/zhangxiang/Codes/Novalon/novalon-website/.superpowers/brainstorm/71919-1777542709/homepage-layout-options.html"}
{"type":"screen-added","file":"/Users/zhangxiang/Codes/Novalon/novalon-website/.superpowers/brainstorm/71919-1777542709/design-spec-full.html"}
{"type":"server-stopped","reason":"idle timeout"}
@@ -0,0 +1 @@
71992
@@ -0,0 +1,250 @@
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>IHG设计模式分析 - Novalon产品架构</title>
<link href="https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@300;400;500;700&display=swap" rel="stylesheet">
<style>
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
font-family: 'Noto Sans SC', sans-serif;
background: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 100%);
color: #e8e8e8;
min-height: 100vh;
padding: 40px 20px;
}
.container { max-width: 1400px; margin: 0 auto; }
header {
text-align: center;
margin-bottom: 60px;
}
h1 {
font-size: 2.5rem;
font-weight: 700;
background: linear-gradient(135deg, #fff 0%, #c41e3a 100%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
margin-bottom: 20px;
}
.subtitle { font-size: 1.1rem; color: #a0a0a0; }
.comparison-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 40px;
margin-bottom: 60px;
}
.panel {
background: rgba(255, 255, 255, 0.03);
border: 1px solid rgba(255, 255, 255, 0.08);
border-radius: 16px;
padding: 30px;
backdrop-filter: blur(10px);
}
.panel-header {
display: flex;
align-items: center;
gap: 12px;
margin-bottom: 30px;
padding-bottom: 20px;
border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.panel-logo {
width: 48px;
height: 48px;
border-radius: 12px;
display: flex;
align-items: center;
justify-content: center;
font-weight: 700;
font-size: 1.2rem;
}
.ihg-logo { background: linear-gradient(135deg, #1d4ed8 0%, #3b82f6 100%); }
.novalon-logo { background: linear-gradient(135deg, #c41e3a 0%, #e11d48 100%); }
.panel-title { font-size: 1.5rem; font-weight: 600; }
.tabs {
display: flex;
gap: 8px;
margin-bottom: 24px;
background: rgba(255, 255, 255, 0.03);
padding: 6px;
border-radius: 10px;
}
.tab {
flex: 1;
padding: 12px 20px;
border: none;
background: transparent;
color: #a0a0a0;
border-radius: 8px;
cursor: pointer;
font-size: 0.95rem;
font-weight: 500;
transition: all 0.3s ease;
}
.tab:hover { color: #fff; }
.tab.active {
background: rgba(255, 255, 255, 0.1);
color: #fff;
}
.brand-card {
display: grid;
grid-template-columns: 80px 1fr;
gap: 16px;
padding: 20px;
background: rgba(255, 255, 255, 0.04);
border-radius: 12px;
margin-bottom: 16px;
border: 1px solid transparent;
transition: all 0.3s ease;
cursor: pointer;
}
.brand-card:hover {
border-color: rgba(255, 255, 255, 0.15);
transform: translateY(-2px);
background: rgba(255, 255, 255, 0.06);
}
.brand-icon {
width: 80px;
height: 80px;
border-radius: 12px;
display: flex;
align-items: center;
justify-content: center;
font-weight: 700;
font-size: 1.5rem;
}
.brand-info h3 { font-size: 1.1rem; margin-bottom: 6px; }
.brand-info p { font-size: 0.9rem; color: #a0a0a0; line-height: 1.6; }
.principles {
background: rgba(255, 255, 255, 0.03);
border: 1px solid rgba(255, 255, 255, 0.08);
border-radius: 16px;
padding: 40px;
margin-bottom: 40px;
}
.principles h2 {
font-size: 1.8rem;
margin-bottom: 30px;
text-align: center;
}
.principle-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 24px;
}
.principle {
text-align: center;
padding: 24px;
background: rgba(255, 255, 255, 0.04);
border-radius: 12px;
}
.principle-icon {
font-size: 2.5rem;
margin-bottom: 16px;
}
.principle h3 { font-size: 1.1rem; margin-bottom: 10px; }
.principle p { font-size: 0.9rem; color: #a0a0a0; line-height: 1.6; }
.architecture {
background: rgba(255, 255, 255, 0.03);
border: 1px solid rgba(255, 255, 255, 0.08);
border-radius: 16px;
padding: 40px;
}
.architecture h2 {
font-size: 1.8rem;
margin-bottom: 30px;
text-align: center;
}
.hierarchy {
display: flex;
flex-direction: column;
gap: 20px;
align-items: center;
padding: 40px;
}
.level {
display: flex;
flex-direction: column;
align-items: center;
gap: 16px;
}
.level-title {
font-size: 0.85rem;
color: #c41e3a;
text-transform: uppercase;
letter-spacing: 2px;
font-weight: 600;
}
.level-cards {
display: flex;
gap: 16px;
flex-wrap: wrap;
justify-content: center;
}
.level-card {
padding: 16px 32px;
background: linear-gradient(135deg, rgba(196, 30, 58, 0.2) 0%, rgba(196, 30, 58, 0.1) 100%);
border: 1px solid rgba(196, 30, 58, 0.3);
border-radius: 10px;
font-weight: 500;
}
.connector {
width: 2px;
height: 30px;
background: linear-gradient(180deg, rgba(196, 30, 58, 0.5) 0%, rgba(196, 30, 58, 0.1) 100%);
}
.faq-section {
margin-top: 30px;
padding-top: 30px;
border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.faq-item {
background: rgba(255, 255, 255, 0.04);
border-radius: 10px;
margin-bottom: 12px;
overflow: hidden;
}
.faq-question {
padding: 16px 20px;
cursor: pointer;
display: flex;
justify-content: space-between;
align-items: center;
font-weight: 500;
}
.faq-question:hover { background: rgba(255, 255, 255, 0.06); }
.faq-answer {
padding: 0
@@ -0,0 +1,890 @@
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Novalon × IHG 设计模式融合</title>
<link href="https://fonts.googleapis.com/css2?family=Noto+Serif+SC:wght@400;600;700&family=Noto+Sans+SC:wght@400;500;600&display=swap" rel="stylesheet">
<style>
:root {
--color-ink: #1C1C1C;
--color-ink-light: #595959;
--color-ink-muted: #A3A3A3;
--color-cinnabar: #C41E3A;
--color-paper: #FFFFFF;
--color-paper-warm: #FAFAFA;
--color-ink-dark: #0A0A0A;
--spacing-xs: 0.5rem;
--spacing-sm: 1rem;
--spacing-md: 1.5rem;
--spacing-lg: 2rem;
--spacing-xl: 3rem;
--spacing-2xl: 4rem;
--radius-lg: 1rem;
--radius-xl: 1.5rem;
--shadow-soft: 0 1px 3px rgba(0,0,0,0.04);
--shadow-hover: 0 16px 32px rgba(0,0,0,0.08);
--transition-default: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, sans-serif;
background: var(--color-paper);
color: var(--color-ink);
line-height: 1.7;
}
.container {
max-width: 1200px;
margin: 0 auto;
padding: 0 var(--spacing-lg);
}
/* Header - Group Brand Navigation */
.header {
position: sticky;
top: 0;
background: rgba(255, 255, 255, 0.95);
backdrop-filter: blur(10px);
border-bottom: 1px solid rgba(0, 0, 0, 0.06);
z-index: 100;
}
.header-content {
display: flex;
align-items: center;
justify-content: space-between;
padding: var(--spacing-md) 0;
}
.group-logo {
display: flex;
align-items: center;
gap: var(--spacing-sm);
font-family: 'Noto Serif SC', serif;
font-size: 1.5rem;
font-weight: 700;
color: var(--color-ink);
text-decoration: none;
}
.group-logo-mark {
width: 40px;
height: 40px;
background: linear-gradient(135deg, var(--color-ink) 0%, var(--color-ink-dark) 100%);
border-radius: 8px;
display: flex;
align-items: center;
justify-content: center;
color: white;
font-weight: 700;
}
.nav-links {
display: flex;
gap: var(--spacing-xl);
align-items: center;
}
.nav-link {
color: var(--color-ink-light);
text-decoration: none;
font-weight: 500;
transition: var(--transition-default);
position: relative;
}
.nav-link:hover {
color: var(--color-ink);
}
.nav-link.active {
color: var(--color-ink);
}
.nav-link.active::after {
content: '';
position: absolute;
bottom: -8px;
left: 0;
right: 0;
height: 2px;
background: var(--color-cinnabar);
}
/* Hero Section */
.hero {
padding: var(--spacing-2xl) 0 var(--spacing-xl);
text-align: center;
}
.hero-label {
display: inline-block;
font-size: 0.875rem;
font-weight: 600;
color: var(--color-cinnabar);
letter-spacing: 0.1em;
text-transform: uppercase;
margin-bottom: var(--spacing-md);
}
.hero h1 {
font-family: 'Noto Serif SC', serif;
font-size: clamp(2.5rem, 5vw, 3.5rem);
font-weight: 700;
margin-bottom: var(--spacing-md);
line-height: 1.2;
}
.hero p {
font-size: 1.125rem;
color: var(--color-ink-light);
max-width: 640px;
margin: 0 auto;
}
/* Breadcrumb */
.breadcrumb {
display: flex;
gap: var(--spacing-xs);
align-items: center;
padding: var(--spacing-lg) 0;
font-size: 0.875rem;
color: var(--color-ink-muted);
}
.breadcrumb a {
color: var(--color-ink-light);
text-decoration: none;
transition: var(--transition-default);
}
.breadcrumb a:hover {
color: var(--color-ink);
}
/* Category Tabs */
.category-tabs {
display: flex;
gap: var(--spacing-md);
margin-bottom: var(--spacing-xl);
border-bottom: 1px solid rgba(0, 0, 0, 0.08);
overflow-x: auto;
}
.category-tab {
padding: var(--spacing-sm) var(--spacing-md);
border: none;
background: none;
font-size: 1rem;
font-weight: 500;
color: var(--color-ink-light);
cursor: pointer;
position: relative;
white-space: nowrap;
transition: var(--transition-default);
}
.category-tab:hover {
color: var(--color-ink);
}
.category-tab.active {
color: var(--color-ink);
}
.category-tab.active::after {
content: '';
position: absolute;
bottom: -1px;
left: 0;
right: 0;
height: 3px;
background: var(--color-ink);
border-radius: 3px 3px 0 0;
}
/* Category Description */
.category-description {
background: var(--color-paper-warm);
padding: var(--spacing-xl);
border-radius: var(--radius-xl);
margin-bottom: var(--spacing-xl);
}
.category-description h2 {
font-family: 'Noto Serif SC', serif;
font-size: 1.5rem;
margin-bottom: var(--spacing-sm);
}
.category-description p {
color: var(--color-ink-light);
}
/* Product Grid */
.products-section {
padding: var(--spacing-xl) 0 var(--spacing-2xl);
}
.product-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
gap: var(--spacing-lg);
}
/* Product Card */
.product-card {
background: var(--color-paper);
border-radius: var(--radius-xl);
overflow: hidden;
box-shadow: var(--shadow-soft);
transition: var(--transition-default);
cursor: pointer;
text-decoration: none;
color: inherit;
display: block;
}
.product-card:hover {
transform: translateY(-4px);
box-shadow: var(--shadow-hover);
}
.product-card-image {
aspect-ratio: 16 / 10;
background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
display: flex;
align-items: center;
justify-content: center;
position: relative;
overflow: hidden;
}
.product-card-image::before {
content: '';
position: absolute;
inset: 0;
background: linear-gradient(135deg, var(--color-ink) 0%, var(--color-ink-dark) 100%);
opacity: 0.03;
}
.product-card-icon {
font-family: 'Noto Serif SC', serif;
font-size: 3rem;
color: var(--color-ink-muted);
font-weight: 700;
}
.product-card-content {
padding: var(--spacing-lg);
}
.product-card-category {
font-size: 0.75rem;
font-weight: 600;
color: var(--color-cinnabar);
letter-spacing: 0.08em;
text-transform: uppercase;
margin-bottom: var(--spacing-xs);
}
.product-card h3 {
font-family: 'Noto Serif SC', serif;
font-size: 1.375rem;
margin-bottom: var(--spacing-sm);
}
.product-card p {
color: var(--color-ink-light);
font-size: 0.9375rem;
line-height: 1.6;
}
.product-card-meta {
display: flex;
gap: var(--spacing-sm);
margin-top: var(--spacing-md);
padding-top: var(--spacing-md);
border-top: 1px solid rgba(0, 0, 0, 0.06);
}
.product-tag {
font-size: 0.75rem;
padding: 4px 12px;
background: rgba(0, 0, 0, 0.04);
border-radius: 100px;
color: var(--color-ink-light);
}
/* Product Detail Page (Inline Preview) */
.product-detail-preview {
display: none;
background: var(--color-paper-warm);
border-radius: var(--radius-xl);
padding: var(--spacing-2xl);
margin-bottom: var(--spacing-xl);
}
.product-detail-preview.active {
display: block;
}
.product-detail-header {
display: flex;
justify-content: space-between;
align-items: flex-start;
margin-bottom: var(--spacing-xl);
}
.product-detail-title h1 {
font-family: 'Noto Serif SC', serif;
font-size: 2.25rem;
margin-bottom: var(--spacing-sm);
}
.product-detail-title .product-detail-category {
font-size: 0.875rem;
font-weight: 600;
color: var(--color-cinnabar);
letter-spacing: 0.08em;
text-transform: uppercase;
}
.product-detail-content {
display: grid;
grid-template-columns: 1.5fr 1fr;
gap: var(--spacing-xl);
}
.product-detail-main h2 {
font-family: 'Noto Serif SC', serif;
font-size: 1.25rem;
margin: var(--spacing-lg) 0 var(--spacing-sm);
}
.product-detail-main p {
color: var(--color-ink-light);
margin-bottom: var(--spacing-sm);
}
.feature-list {
list-style: none;
}
.feature-list li {
display: flex;
gap: var(--spacing-sm);
padding: var(--spacing-sm) 0;
color: var(--color-ink-light);
}
.feature-list li::before {
content: '';
width: 6px;
height: 6px;
background: var(--color-cinnabar);
border-radius: 50%;
margin-top: 8px;
flex-shrink: 0;
}
.product-detail-sidebar {
position: sticky;
top: 100px;
align-self: start;
}
.sidebar-card {
background: var(--color-paper);
border-radius: var(--radius-lg);
padding: var(--spacing-lg);
box-shadow: var(--shadow-soft);
}
.primary-btn {
display: block;
width: 100%;
padding: var(--spacing-md);
background: var(--color-ink);
color: white;
border: none;
border-radius: var(--radius-lg);
font-size: 1rem;
font-weight: 600;
cursor: pointer;
transition: var(--transition-default);
text-align: center;
text-decoration: none;
}
.primary-btn:hover {
background: var(--color-ink-dark);
transform: translateY(-1px);
}
.secondary-btn {
display: block;
width: 100%;
padding: var(--spacing-md);
background: transparent;
color: var(--color-ink);
border: 1px solid rgba(0, 0, 0, 0.15);
border-radius: var(--radius-lg);
font-size: 1rem;
font-weight: 600;
cursor: pointer;
transition: var(--transition-default);
margin-top: var(--spacing-sm);
}
.secondary-btn:hover {
border-color: var(--color-ink);
}
/* Footer Brands */
.footer-section {
background: var(--color-ink-dark);
color: white;
padding: var(--spacing-2xl) 0;
margin-top: var(--spacing-2xl);
}
.footer-brands {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
gap: var(--spacing-md);
margin-top: var(--spacing-lg);
}
.footer-brand-link {
color: rgba(255, 255, 255, 0.7);
text-decoration: none;
font-size: 0.875rem;
transition: var(--transition-default);
}
.footer-brand-link:hover {
color: white;
}
/* Demo Controls */
.demo-controls {
position: fixed;
bottom: var(--spacing-lg);
right: var(--spacing-lg);
background: var(--color-paper);
border-radius: var(--radius-lg);
box-shadow: var(--shadow-hover);
padding: var(--spacing-md);
z-index: 1000;
}
.demo-controls h4 {
font-size: 0.875rem;
margin-bottom: var(--spacing-sm);
color: var(--color-ink);
}
.demo-toggle {
display: flex;
flex-direction: column;
gap: var(--spacing-xs);
}
.demo-btn {
padding: var(--spacing-xs) var(--spacing-md);
background: var(--color-paper-warm);
border: 1px solid rgba(0, 0, 0, 0.1);
border-radius: 6px;
font-size: 0.8125rem;
cursor: pointer;
transition: var(--transition-default);
}
.demo-btn:hover {
background: rgba(0, 0, 0, 0.04);
}
.demo-btn.active {
background: var(--color-ink);
color: white;
border-color: var(--color-ink);
}
/* Close button for detail */
.close-detail {
background: transparent;
border: none;
color: var(--color-ink-muted);
font-size: 1.5rem;
cursor: pointer;
padding: var(--spacing-xs);
transition: var(--transition-default);
}
.close-detail:hover {
color: var(--color-ink);
}
/* Responsive */
@media (max-width: 768px) {
.product-grid {
grid-template-columns: 1fr;
}
.product-detail-content {
grid-template-columns: 1fr;
}
.nav-links {
display: none;
}
.demo-controls {
display: none;
}
}
</style>
</head>
<body>
<!-- Header -->
<header class="header">
<div class="container">
<div class="header-content">
<a href="#" class="group-logo">
<div class="group-logo-mark"></div>
<span>Novalon</span>
</a>
<nav class="nav-links">
<a href="#" class="nav-link active">产品品牌</a>
<a href="#" class="nav-link">解决方案</a>
<a href="#" class="nav-link">服务</a>
<a href="#" class="nav-link">关于</a>
</nav>
</div>
</div>
</header>
<!-- Main Content -->
<main>
<div class="container">
<!-- Breadcrumb -->
<nav class="breadcrumb">
<a href="#">首页</a>
<span>/</span>
<span>产品品牌</span>
</nav>
<!-- Hero -->
<section class="hero">
<span class="hero-label">Product Portfolio</span>
<h1>Novalon 产品品牌矩阵</h1>
<p>从企业级数字化到智能化转型,我们的产品矩阵覆盖不同规模、不同阶段的企业需求,为您提供量身定制的解决方案</p>
</section>
<!-- Category Tabs -->
<div class="category-tabs" id="categoryTabs">
<button class="category-tab active" data-category="enterprise">企业旗舰系列</button>
<button class="category-tab" data-category="growth">成长加速系列</button>
<button class="category-tab" data-category="specialized">专业工具系列</button>
</div>
<!-- Category Description -->
<div class="category-description" id="categoryDescription">
<h2>企业旗舰系列</h2>
<p>为大型企业和集团客户打造的全栈数字化解决方案,以深度业务理解和行业最佳实践为基础,助力企业实现卓越运营</p>
</div>
<!-- Product Detail Preview -->
<div class="product-detail-preview" id="productDetail">
<div class="product-detail-header">
<div class="product-detail-title">
<span class="product-detail-category" id="detailCategory">企业旗舰系列</span>
<h1 id="detailTitle">产品名称</h1>
</div>
<button class="close-detail" onclick="closeProductDetail()">&times;</button>
</div>
<div class="product-detail-content">
<div class="product-detail-main">
<p id="detailDescription">产品描述</p>
<h2>核心功能</h2>
<ul class="feature-list" id="detailFeatures">
<li>功能特性一</li>
<li>功能特性二</li>
<li>功能特性三</li>
</ul>
<h2>产品优势</h2>
<p id="detailBenefits">产品优势描述</p>
</div>
<div class="product-detail-sidebar">
<div class="sidebar-card">
<a href="#" class="primary-btn">预约演示</a>
<button class="secondary-btn">获取白皮书</button>
</div>
</div>
</div>
</div>
<!-- Product Grid -->
<section class="products-section">
<div class="product-grid" id="productGrid">
<!-- Products will be inserted here -->
</div>
</section>
</div>
<!-- Footer Brands -->
<footer class="footer-section">
<div class="container">
<h3 style="font-family: 'Noto Serif SC', serif; font-size: 1.25rem; margin-bottom: var(--spacing-sm);">Novalon 品牌家族</h3>
<p style="color: rgba(255,255,255,0.6); font-size: 0.9375rem;">探索我们所有的产品品牌,找到最适合您的解决方案</p>
<div class="footer-brands" id="footerBrands">
<!-- Footer brand links will be inserted here -->
</div>
</div>
</footer>
</main>
<!-- Demo Controls -->
<div class="demo-controls">
<h4>设计模式展示</h4>
<div class="demo-toggle">
<button class="demo-btn active" onclick="toggleView('grid')">品牌概览</button>
<button class="demo-btn" onclick="toggleView('detail')">单品详情</button>
</div>
</div>
<script>
// Product Data
const products = {
enterprise: [
{
id: 'stockpilot',
title: 'StockPilot',
category: '企业旗舰系列',
description: '智能供应链决策平台,融合AI预测与优化算法,为企业提供端到端的供应链数字化解决方案',
tags: ['AI驱动', '供应链', 'SaaS'],
features: ['智能需求预测', '库存优化引擎', '供应链可视性', '协同决策平台'],
benefits: '通过先进的机器学习算法精准预测市场需求,减少库存积压同时提升服务水平,帮助企业在不确定性中找到最优解'
},
{
id: 'novaflow',
title: 'NovaFlow',
category: '企业旗舰系列',
description: '企业级业务流程管理平台,通过低代码方式快速构建和部署复杂业务流程',
tags: ['BPM', '低代码', '流程自动化'],
features: ['可视化流程设计器', '智能流程推荐', '多系统集成', '性能监控'],
benefits: '让业务人员也能参与流程设计,大幅缩短数字化转型周期,同时保持企业级的稳定性和可扩展性'
},
{
id: 'insighthub',
title: 'InsightHub',
category: '企业旗舰系列',
description: '一站式数据分析与商业智能平台,将分散的数据转化为可执行的洞察',
tags: ['BI', '数据分析', '可视化'],
features: ['多源数据连接', '自助分析', 'AI增强分析', '实时仪表板'],
benefits: '打破数据孤岛,让每个业务决策者都能轻松获取洞察,从经验驱动转向数据驱动'
}
],
growth: [
{
id: 'startos',
title: 'StartOS',
category: '成长加速系列',
description: '面向成长型企业的一站式运营管理系统,涵盖CRM、项目、财务等核心模块',
tags: ['中小企业', '一体化', 'SaaS'],
features: ['客户管理', '项目协作', '财务对账', '数据分析'],
benefits: '开箱即用的完整解决方案,让成长型企业无需复杂IT投入即可获得世界一流的管理工具'
},
{
id: 'connex',
title: 'Connex',
category: '成长加速系列',
description: '智能客户连接平台,整合全渠道触点,打造无缝客户体验',
tags: ['客户体验', '全渠道', '营销自动化'],
features: ['全渠道接入', '客户画像', '智能路由', '满意度分析'],
benefits: '在正确的时间通过正确的渠道与客户沟通,提升转化率和客户忠诚度'
}
],
specialized: [
{
id: 'secureguard',
title: 'SecureGuard',
category: '专业工具系列',
description: '企业级安全合规管理套件,帮助企业满足各种监管要求',
tags: ['安全', '合规', '审计'],
features: ['风险评估', '合规管理', '安全监控', '审计追踪'],
benefits: '化繁为简,让复杂的合规管理变成可落地的日常工作'
},
{
id: 'devcloud',
title: 'DevCloud',
category: '专业工具系列',
description: '云原生开发与运维平台,赋能研发团队高效交付软件',
tags: ['DevOps', '云原生', 'CI/CD'],
features: ['代码管理', '自动化构建', '容器部署', '监控告警'],
benefits: '从代码到生产的全链路自动化,让软件开发像流水线一样高效可靠'
}
]
};
let currentCategory = 'enterprise';
let activeView = 'grid';
// Initialize
function init() {
renderProducts();
renderFooterBrands();
setupTabs();
}
// Render Products
function renderProducts() {
const grid = document.getElementById('productGrid');
const categoryProducts = products[currentCategory];
grid.innerHTML = categoryProducts.map(product => `
<a href="#" class="product-card" onclick="showProductDetail('${product.id}', '${currentCategory}'); return false;">
<div class="product-card-image">
<span class="product-card-icon">${product.title.charAt(0)}</span>
</div>
<div class="product-card-content">
<div class="product-card-category">${product.category}</div>
<h3>${product.title}</h3>
<p>${product.description}</p>
<div class="product-card-meta">
${product.tags.map(tag => `<span class="product-tag">${tag}</span>`).join('')}
</div>
</div>
</a>
`).join('');
}
// Render Footer Brands
function renderFooterBrands() {
const footer = document.getElementById('footerBrands');
const allProducts = [...products.enterprise, ...products.growth, ...products.specialized];
footer.innerHTML = allProducts.map(product => `
<a href="#" class="footer-brand-link" onclick="quickJumpTo('${product.id}'); return false;">${product.title}</a>
`).join('');
}
// Setup Tabs
function setupTabs() {
const tabs = document.querySelectorAll('.category-tab');
tabs.forEach(tab => {
tab.addEventListener('click', () => {
tabs.forEach(t => t.classList.remove('active'));
tab.classList.add('active');
currentCategory = tab.dataset.category;
updateCategoryDescription();
renderProducts();
closeProductDetail();
});
});
}
// Update Category Description
function updateCategoryDescription() {
const desc = document.getElementById('categoryDescription');
const descriptions = {
enterprise: {
title: '企业旗舰系列',
text: '为大型企业和集团客户打造的全栈数字化解决方案,以深度业务理解和行业最佳实践为基础,助力企业实现卓越运营'
},
growth: {
title: '成长加速系列',
text: '面向快速成长企业的轻量化解决方案,在保持简洁易用的同时提供强大的功能,助力企业规模化发展'
},
specialized: {
title: '专业工具系列',
text: '针对特定业务领域的专业工具,深入业务痛点,提供业界领先的专业解决方案'
}
};
desc.innerHTML = `
<h2>${descriptions[currentCategory].title}</h2>
<p>${descriptions[currentCategory].text}</p>
`;
}
// Show Product Detail
function showProductDetail(productId, category) {
const allProducts = [...products.enterprise, ...products.growth, ...products.specialized];
const product = allProducts.find(p => p.id === productId);
if (!product) return;
document.getElementById('detailCategory').textContent = product.category;
document.getElementById('detailTitle').textContent = product.title;
document.getElementById('detailDescription').textContent = product.description;
document.getElementById('detailFeatures').innerHTML = product.features.map(f => `<li>${f}</li>`).join('');
document.getElementById('detailBenefits').textContent = product.benefits;
document.getElementById('productDetail').classList.add('active');
document.getElementById('productDetail').scrollIntoView({ behavior: 'smooth', block: 'start' });
}
// Close Product Detail
function closeProductDetail() {
document.getElementById('productDetail').classList.remove('active');
}
// Quick Jump
function quickJumpTo(productId) {
const allProducts = [...products.enterprise, ...products.growth, ...products.specialized];
const product = allProducts.find(p => p.id === productId);
if (product) {
// Find and switch to the correct category
let targetCategory = 'enterprise';
if (products.growth.find(p => p.id === productId)) targetCategory = 'growth';
if (products.specialized.find(p => p.id === productId)) targetCategory = 'specialized';
// Switch tabs
const tabs = document.querySelectorAll('.category-tab');
tabs.forEach(t => t.classList.remove('active'));
document.querySelector(`[data-category="${targetCategory}"]`).classList.add('active');
currentCategory = targetCategory;
updateCategoryDescription();
renderProducts();
// Show detail after a short delay
setTimeout(() => {
showProductDetail(productId, targetCategory);
}, 100);
}
}
// Toggle View (Demo Control)
function toggleView(view) {
const buttons = document.querySelectorAll('.demo-btn');
buttons.forEach(btn => btn.classList.remove('active'));
event.target.classList.add('active');
if (view === 'grid') {
closeProductDetail();
document.getElementById('productGrid').style.display = 'grid';
} else {
showProductDetail('stockpilot', 'enterprise');
}
}
// Initialize on load
document.addEventListener('DOMContentLoaded', init);
</script>
</body>
</html>