parent
0a3b114ebe
commit
07d4dc244b
5 changed files with 44 additions and 5 deletions
@ -1,11 +1,28 @@ |
||||
<template> |
||||
<div class="font-lg">404</div> |
||||
<div class="font-sm">{{ t('tips404') }}</div> |
||||
<p class="txt-c"> |
||||
<el-button type="text" @click="$router.push('/')">{{ t('backHome') }}</el-button> |
||||
</p> |
||||
</template> |
||||
|
||||
<script setup> |
||||
import {useI18n} from "vue-i18n"; |
||||
|
||||
</script> |
||||
const {t} = useI18n(); |
||||
|
||||
<template> |
||||
<h1>这是404页面</h1> |
||||
</template> |
||||
</script> |
||||
|
||||
<style scoped> |
||||
|
||||
.font-lg { |
||||
margin-top: 40px; |
||||
font-size: 150px; |
||||
font-weight: bold; |
||||
text-align: center; |
||||
color: var(--el-color-primary); |
||||
} |
||||
.font-sm { |
||||
font-size: 26px; |
||||
text-align: center; |
||||
} |
||||
</style> |
||||
|
Loading…
Reference in new issue