|
@@ -1,15 +1,51 @@
|
|
<template>
|
|
<template>
|
|
- <div class="about">
|
|
|
|
- <h1>This is an about page</h1>
|
|
|
|
|
|
+ <div>
|
|
|
|
+ <div class="nav-placeholder"></div>
|
|
|
|
+ <div class="empty-page">
|
|
|
|
+ <img src="@/assets/images/404.svg" />
|
|
|
|
+ <h1>抱歉,您访问的页面不存在</h1>
|
|
|
|
+ <a href="javascript:void(0)" @click="back">点击这里返回上一页</a>
|
|
|
|
+ </div>
|
|
</div>
|
|
</div>
|
|
</template>
|
|
</template>
|
|
|
|
|
|
-<style>
|
|
|
|
-@media (min-width: 1024px) {
|
|
|
|
- .about {
|
|
|
|
- min-height: 100vh;
|
|
|
|
- display: flex;
|
|
|
|
- align-items: center;
|
|
|
|
|
|
+<script setup lang="ts">
|
|
|
|
+import router from '@/router';
|
|
|
|
+
|
|
|
|
+function back() {
|
|
|
|
+ router.back();
|
|
|
|
+}
|
|
|
|
+</script>
|
|
|
|
+
|
|
|
|
+<style lang="scss">
|
|
|
|
+@use '@/assets/scss/colors.scss' as *;
|
|
|
|
+
|
|
|
|
+.empty-page {
|
|
|
|
+ display: flex;
|
|
|
|
+ flex-direction: column;
|
|
|
|
+ align-items: center;
|
|
|
|
+ justify-content: center;
|
|
|
|
+ text-align: center;
|
|
|
|
+ font-family: SourceHanSerifCNBold;
|
|
|
|
+ min-height: 66vh;
|
|
|
|
+
|
|
|
|
+ img {
|
|
|
|
+ width: 150px;
|
|
|
|
+ height: 150px;
|
|
|
|
+ margin-bottom: 20px;
|
|
|
|
+ }
|
|
|
|
+ h1 {
|
|
|
|
+ font-size: 2rem;
|
|
|
|
+ }
|
|
|
|
+ a {
|
|
|
|
+ text-decoration: none;
|
|
|
|
+ font-size: 1.2rem;
|
|
|
|
+ cursor: pointer;
|
|
|
|
+ color: #333;
|
|
|
|
+
|
|
|
|
+ &:hover {
|
|
|
|
+ color: $primary-color;
|
|
|
|
+ }
|
|
}
|
|
}
|
|
}
|
|
}
|
|
</style>
|
|
</style>
|