校园-江西科技师范大学-前端
shuishen
2023-12-14 e733164e1c779b3aef7245936b9daf7875bf791e
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
<!--
 * @Author: shuishen 1109946754@qq.com
 * @Date: 2023-11-22 10:26:22
 * @LastEditors: shuishen 1109946754@qq.com
 * @LastEditTime: 2023-11-22 20:26:38
 * @FilePath: \sd-jg-school-web-ksd\src\components\error-page\404.vue
 * @Description: 
 * 
 * Copyright (c) 2023 by shuishen, All Rights Reserved. 
-->
<template>
    <div class="error-page">
        <div class="img" style=" background-image: url('/changjing/img/bg/404.svg');"></div>
        <div class="content">
            <h1>404</h1>
            <div class="desc">抱歉,你访问的页面不存在</div>
            <div class="actions">
                <el-button @click="goHome" type="primary">返回首页</el-button>
            </div>
        </div>
    </div>
</template>
 
<script>
export default {
    name: 'error-404',
    inject: ['reload'],
    methods: {
        goHome () {
            this.$router.push({ path: '/pcLayout/default' })
            this.reload()
        }
    }
}
</script>
<style lang="scss" scoped>
@import './style.scss';
</style>