| | |
| | | <template> |
| | | <div class="error-page"> |
| | | <div class="img" |
| | | style=" background-image: url('/img/bg/404.svg');"></div> |
| | | <div class="content"> |
| | | <h1>404</h1> |
| | | <div class="desc">抱歉,你访问的页面不存在</div> |
| | | <div class="actions"> |
| | | <router-link :to="{path:'/'}"> |
| | | <el-button type="primary">返回首页</el-button> |
| | | </router-link> |
| | | </div> |
| | | <div class="error-page"> |
| | | <div class="img" style=" background-image: url('/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> |
| | | </div> |
| | | </template> |
| | | |
| | | <script> |
| | | export default { |
| | | name: 'error-404' |
| | | name: 'error-404', |
| | | inject: ['reload'], |
| | | methods: { |
| | | goHome () { |
| | | this.$router.push({ path: '/pcLayout/default' }) |
| | | this.reload() |
| | | } |
| | | } |
| | | } |
| | | </script> |
| | | <style lang="scss" scoped> |
| | | @import "./style.scss"; |
| | | @import './style.scss'; |
| | | </style> |