From 089bf5d2378b3c4a61d795b2a92bede2c193b771 Mon Sep 17 00:00:00 2001
From: admin <344137771@qq.com>
Date: Tue, 06 Jan 2026 11:22:58 +0800
Subject: [PATCH] 1
---
src/views/common/404.vue | 61 ++++++++++++++++++++++++++++++
1 files changed, 61 insertions(+), 0 deletions(-)
diff --git a/src/views/common/404.vue b/src/views/common/404.vue
new file mode 100644
index 0000000..3f8798a
--- /dev/null
+++ b/src/views/common/404.vue
@@ -0,0 +1,61 @@
+<template>
+ <div class="site-wrapper site-page--not-found">
+ <div class="site-content__wrapper">
+ <div class="site-content">
+ <h2 class="not-found-title">400</h2>
+ <p class="not-found-desc">抱歉!您访问的页面<em>失联</em>啦 ...</p>
+ <el-button @click="$router.go(-1)">返回上一页</el-button>
+ <el-button type="primary" class="not-found-btn-gohome" @click="$router.push({ name: 'home' })">进入首页</el-button>
+ </div>
+ </div>
+ </div>
+</template>
+
+<script>
+ export default {
+ }
+</script>
+
+<style lang="scss" scoped>
+ .site-wrapper.site-page--not-found {
+ position: absolute;
+ top: 0;
+ right: 0;
+ bottom: 0;
+ left: 0;
+ overflow: hidden;
+ .site-content__wrapper {
+ padding: 0;
+ margin: 0;
+ background-color: #fff;
+ }
+ .site-content {
+ position: fixed;
+ top: 15%;
+ left: 50%;
+ z-index: 2;
+ padding: 30px;
+ text-align: center;
+ transform: translate(-50%, 0);
+ }
+ .not-found-title {
+ margin: 20px 0 15px;
+ font-size: 10em;
+ font-weight: 400;
+ color: rgb(55, 71, 79);
+ }
+ .not-found-desc {
+ margin: 0 0 30px;
+ font-size: 26px;
+ text-transform: uppercase;
+ color: rgb(118, 131, 143);
+ > em {
+ font-style: normal;
+ color: #ee8145;
+ }
+ }
+ .not-found-btn-gohome {
+ margin-left: 30px;
+ }
+ }
+</style>
--
Gitblit v1.9.3