From 9955e830cec02f21332722b2632a392d28677f6c Mon Sep 17 00:00:00 2001 From: Dai0814 <3490199389@qq.com> Date: Wed, 4 Nov 2026 14:42:35 +0800 Subject: [PATCH] =?UTF-8?q?refactor(portal):=20=E5=AF=B9=E9=BD=90=20facms.?= =?UTF-8?q?cn=20=E6=9E=B6=E6=9E=84=EF=BC=8C=E5=8C=BA=E5=9D=97=E9=A1=BA?= =?UTF-8?q?=E5=BA=8F=E5=BD=92=E4=BD=8D=E5=B9=B6=E6=92=A4=E6=8E=89=E6=B7=B1?= =?UTF-8?q?=E8=89=B2=E5=9D=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 对比 https://www.facms.cn 后调整三处结构性差异: 1. 顺序归位 参考站是「产品功能 → 核心能力」,先讲做什么再讲凭什么。 上一版我把核心能力提到前面并染成深色,属于人为制造差异。 现在改回:项目 → 产品功能 → 核心能力 → 界面预览。 2. 撤掉深色块 参考站全程浅色,靠留白与间距分段,没有深色区块打断。 移除 .p-section--deep 的使用,核心能力回归 p-section--alt 浅灰, 与前后白底交替,和整站色阶统一。 (样式定义保留,后续需要强调区块时可用。) 3. 核心能力改标签切换 参考站核心能力是一条「通用特性」+ 9 个产品分组的标签切换。 新增 abilityGroups:通用底座 / iotLCM / 秀杰 DTU / XiuAdmin 四组, 每组 6 项,复用 CapabilityTabs(加 source="home" 与 cols 参数)。 替代原先 8 张平铺卡片。 4. 产品功能密度对齐 参考站产品功能 9 张卡各带 6 项功能点。原先我们只有 3 张卡 (每条产品线一张),信息密度偏低。 拆成 9 张:卡与库存 / 通道与上游 / 资费与计费 / 组织与账号 / 生产与研发 / 代理与客户 / 设备接入 / 中后台底座 / 开发效率。 验证 - 构建 13 页,274 条引用 0 失效 - 浏览器实测区块顺序:hero → projects → features → core → preview → foundation → how → docs → cta,无 .p-section--deep 残留 - 产品功能 9 卡、核心能力 4 标签每标签 6 卡 - 移动端 390px 无横向溢出 --- .gitignore | 2 + .vitepress/config.mts | 2 + .../theme/components/CapabilityTabs.vue | 40 +++- .vitepress/theme/components/HomePage.vue | 44 ++-- data/content.ts | 199 +++++++++++++++--- pages/public/snowgoat-logo.png | Bin 0 -> 16787 bytes 6 files changed, 234 insertions(+), 53 deletions(-) create mode 100644 pages/public/snowgoat-logo.png diff --git a/.gitignore b/.gitignore index 6315d6f..25e6314 100644 --- a/.gitignore +++ b/.gitignore @@ -14,3 +14,5 @@ dist .vitepress/final .vitepress/v2 .vitepress/v3 +.vitepress/v4 +.vitepress/v5 diff --git a/.vitepress/config.mts b/.vitepress/config.mts index d493b80..c971ada 100644 --- a/.vitepress/config.mts +++ b/.vitepress/config.mts @@ -31,6 +31,8 @@ export default defineConfig({ ['link', { rel: 'icon', type: 'image/svg+xml', href: `${SITE_BASE}favicon.svg` }], ], themeConfig: { + siteTitle: '雪羊科技', + logo: { src: '/snowgoat-logo.png', alt: '雪羊科技' }, nav: [ { text: '首页', link: '/' }, { text: '产品功能', link: '/#features' }, diff --git a/.vitepress/theme/components/CapabilityTabs.vue b/.vitepress/theme/components/CapabilityTabs.vue index 04c3ce2..0b33c89 100644 --- a/.vitepress/theme/components/CapabilityTabs.vue +++ b/.vitepress/theme/components/CapabilityTabs.vue @@ -1,10 +1,28 @@