Files
pc-10584/app/pages/[...slug].vue
赵忠林 a83f2969d8 feat(home): 重构首页界面并移除文章相关页面
- 添加公司信息配置文件,包含项目名称、地址、经营范围等
- 实现404页面路由,显示页面建设中提示和导航按钮
- 在首页集成公司信息展示,包括经营范围和资质信息
- 移除文章列表页、文章详情页、栏目页和单页内容相关功能
- 更新Ant Design主题配色为绿色主色调
- 简化首页布局,突出业务板块和服务导向设计
- 删除部署方案和开通流程等临时页面内容
2026-01-27 09:51:14 +08:00

34 lines
1.0 KiB
Vue
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<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>