feat(home): 重构首页界面并移除文章相关页面

- 添加公司信息配置文件,包含项目名称、地址、经营范围等
- 实现404页面路由,显示页面建设中提示和导航按钮
- 在首页集成公司信息展示,包括经营范围和资质信息
- 移除文章列表页、文章详情页、栏目页和单页内容相关功能
- 更新Ant Design主题配色为绿色主色调
- 简化首页布局,突出业务板块和服务导向设计
- 删除部署方案和开通流程等临时页面内容
This commit is contained in:
2026-01-27 09:51:14 +08:00
parent 775841eed3
commit a83f2969d8
17 changed files with 423 additions and 1446 deletions

33
app/pages/[...slug].vue Normal file
View File

@@ -0,0 +1,33 @@
<template>
<div class="mx-auto max-w-screen-md px-4 py-16">
<a-result status="404" title="页面建设中" sub-title="该页面暂未开放建议返回首页或联系我们">
<template #extra>
<a-space>
<a-button type="primary" @click="navigateTo('/')">返回首页</a-button>
<a-button @click="navigateTo('/products')">经营范围</a-button>
<a-button @click="navigateTo('/contact')">联系我们</a-button>
</a-space>
</template>
</a-result>
<a-card class="mt-6" size="small">
<div class="text-sm text-gray-500">
当前路径<span class="font-mono">{{ path }}</span>
</div>
</a-card>
</div>
</template>
<script setup lang="ts">
import { usePageSeo } from '@/composables/usePageSeo'
const route = useRoute()
const path = computed(() => route.fullPath || '/')
usePageSeo({
title: '页面未开放',
description: '该页面暂未开放,可返回首页或进入联系我们/经营范围。',
path: route.path
})
</script>