6 changed files with 73 additions and 37 deletions
@ -1,9 +1,25 @@ |
|||||||
<template> |
<template> |
||||||
<div> |
<div |
||||||
<h1>404</h1> |
class="flex flex-col items-center justify-center min-h-screen bg-black text-white py-20 px-4" |
||||||
|
> |
||||||
|
<h1 class="text-5xl md:text-6xl font-bold mb-8">404</h1> |
||||||
|
<p class="text-xl md:text-2xl mb-8">抱歉,您访问的页面不存在</p> |
||||||
|
<NuxtLink |
||||||
|
to="/" |
||||||
|
class="bg-[#52AC63] hover:bg-[#3f8a4e] text-white font-bold py-2 px-6 rounded transition-colors" |
||||||
|
> |
||||||
|
返回首页 |
||||||
|
</NuxtLink> |
||||||
</div> |
</div> |
||||||
</template> |
</template> |
||||||
|
|
||||||
<script setup lang="ts"></script> |
<script setup lang="ts"> |
||||||
|
// 为404页面设置适当的SEO |
||||||
|
useSeoMeta({ |
||||||
|
title: '页面未找到 - 比特电科', |
||||||
|
description: '抱歉,您请求的页面不存在。请返回比特电科首页浏览其他内容。', |
||||||
|
robots: 'noindex, nofollow', |
||||||
|
}) |
||||||
|
</script> |
||||||
|
|
||||||
<style scoped></style> |
<style scoped></style> |
||||||
|
Before Width: | Height: | Size: 2.6 MiB After Width: | Height: | Size: 3.1 MiB |
Before Width: | Height: | Size: 2.6 MiB After Width: | Height: | Size: 3.2 MiB |
Loading…
Reference in new issue