error.vue 662 B

1234567891011121314151617181920212223242526272829303132333435
  1. <template>
  2. <div class="error">
  3. <div class="container">
  4. <div class="link-go">
  5. <a href="javascript:history.go(-1)">返回上一页</a>
  6. <a href="/">首页</a>
  7. </div>
  8. </div>
  9. </div>
  10. </template>
  11. <script>
  12. export default {
  13. props: ['error'],
  14. layout: 'main'
  15. }
  16. </script>
  17. <style type="text/scss" lang="scss" scoped>
  18. .error{
  19. height:71vh;
  20. background: url(/err.png)no-repeat top center;
  21. .link-go{
  22. text-align: center;
  23. margin:0 auto;
  24. padding-top:300px;
  25. a{
  26. display:inline-block;
  27. padding:20px;
  28. font-size: 20px;
  29. font-weight: bold;
  30. }
  31. }
  32. }
  33. </style>