From 35f57b2ce91f135b6cb0fdaa754e6a1cf598e892 Mon Sep 17 00:00:00 2001 From: ZHENG XIAOYI Date: Mon, 9 Feb 2026 18:31:05 +0800 Subject: [PATCH] refactor: major overhaul of site structure and layout --- README.md | 63 +++- src/components/sections/Partnership.astro | 2 +- src/components/sections/SaaS.astro | 2 +- src/components/sections/Timeline.astro | 292 ++++++++---------- src/layouts/Layout.astro | 3 +- src/pages/customization/index.astro | 10 + src/pages/index.astro | 4 - src/pages/{core-business => qazk}/index.astro | 4 +- 8 files changed, 207 insertions(+), 173 deletions(-) create mode 100644 src/pages/customization/index.astro rename src/pages/{core-business => qazk}/index.astro (74%) diff --git a/README.md b/README.md index cefec6a..c7fc066 100644 --- a/README.md +++ b/README.md @@ -10,6 +10,53 @@ ## 项目结构 +``` +beifan.cn/ +├── src/ +│ ├── layouts/ +│ │ └── Layout.astro # 主布局组件(包含导航栏、页脚等) +│ ├── pages/ +│ │ ├── index.astro # 首页(公司介绍) +│ │ ├── qazk/ # 企安智控页面 +│ │ │ └── index.astro +│ │ ├── customization/ # 本地化定制页面 +│ │ │ └── index.astro +│ │ ├── partnership/ # 生态合作页面 +│ │ │ └── index.astro +│ │ └── intro/ # 独立产品页面 +│ │ ├── qazk/ # 企安智控详情页 +│ │ ├── hardware/ # 硬件物联详情页 +│ │ ├── customized-deployment/ # 本地化定制详情页 +│ │ └── miniapp-manual/ # 小程序手册页 +│ ├── components/ +│ │ └── sections/ # 各功能区块组件 +│ │ ├── Hero.astro +│ │ ├── Timeline.astro +│ │ ├── SaaS.astro +│ │ ├── Customization.astro +│ │ ├── Policy.astro +│ │ ├── AccidentCases.astro +│ │ ├── Hardware.astro +│ │ ├── AIModel.astro +│ │ ├── Honors.astro +│ │ ├── Contact.astro +│ │ ├── Partnership.astro +│ │ └── Footer.astro +│ └── styles/ +│ └── global.css # 全局样式 +├── public/ # 静态资源 +│ ├── img/ # 图片资源 +│ ├── js/ # JavaScript 文件 +│ ├── docs/ # 文档资源 +│ └── intro/ # Intro 页面的静态资源 +│ ├── qazk/ +│ ├── hardware/ +│ ├── customized-deployment/ +│ └── miniapp-manual/ +├── astro.config.mjs # Astro 配置文件 +├── tailwind.config.mjs # Tailwind CSS 配置文件 +├── package.json # 项目依赖配置 +└── pnpm-lock.yaml # pnpm 锁文件 ``` beifan.cn/ ├── src/ @@ -64,22 +111,27 @@ beifan.cn/ 包含以下内容区块: - **Hero 区域**:全场景产业数字化转型服务介绍 - **公司介绍**:浙江贝凡发展历程时间轴 -- **SaaS化系统**:企安智控智能安全管理解决方案 -- **本地化定制**:多行业全场景定制服务 - **公司荣誉资质**:企业资质展示 - **联系我们**:联系方式展示 - **页脚**:版权信息、ICP备案等 -### 2. 核心业务页面 - `/core-business` +### 2. 企安智控页面 - `/qazk` 包含以下内容区块: +- **SaaS化系统**:企安智控智能安全管理解决方案 - **最新政策导向**:安全生产相关政策法规 - **典型事故案例**:重大事故案例分析 - **硬件物联**:12个物联网应用场景 - **AI大模型**:15个AI应用场景 - **页脚**:版权信息、ICP备案等 -### 3. 生态合作页面 - `/partnership` +### 3. 本地化定制页面 - `/customization` + +包含以下内容区块: +- **本地化定制**:多行业全场景定制服务 +- **页脚**:版权信息、ICP备案等 + +### 4. 生态合作页面 - `/partnership` 包含以下内容区块: - **生态合作**:合作伙伴信息 @@ -189,7 +241,8 @@ const { title = "浙江贝凡网络科技", activeNav = "home" } = Astro.props; const navItems = [ { id: 'home', label: '公司介绍', href: '/', icon: 'fa-building' }, - { id: 'core-business', label: '核心业务', href: '/core-business', icon: 'fa-cogs' }, + { id: 'qazk', { label: '企安智控', href: '/qazk', icon: 'fa-cogs' }, + { id: 'customization', label: '本地化定制', href: '/customization', icon: 'fa-wrench' }, { id: 'partnership', label: '生态合作', href: '/partnership', icon: 'fa-handshake-o' }, ]; --- diff --git a/src/components/sections/Partnership.astro b/src/components/sections/Partnership.astro index d48bd76..5aa2309 100644 --- a/src/components/sections/Partnership.astro +++ b/src/components/sections/Partnership.astro @@ -1,6 +1,6 @@ --- --- -
+
diff --git a/src/components/sections/SaaS.astro b/src/components/sections/SaaS.astro index 0b644b2..486ef0e 100644 --- a/src/components/sections/SaaS.astro +++ b/src/components/sections/SaaS.astro @@ -1,4 +1,4 @@ -
+