500.vue 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. <script setup lang="ts">
  2. import noServer from "/@/assets/status/500.svg?component";
  3. </script>
  4. <template>
  5. <div class="flex justify-center items-center h-screen-sm">
  6. <noServer />
  7. <div class="ml-12">
  8. <p
  9. class="font-medium text-4xl mb-4"
  10. v-motion
  11. :initial="{
  12. opacity: 0,
  13. y: 100
  14. }"
  15. :enter="{
  16. opacity: 1,
  17. y: 0,
  18. transition: {
  19. delay: 100
  20. }
  21. }"
  22. >
  23. 403
  24. </p>
  25. <p
  26. class="mb-4 text-gray-500"
  27. v-motion
  28. :initial="{
  29. opacity: 0,
  30. y: 100
  31. }"
  32. :enter="{
  33. opacity: 1,
  34. y: 0,
  35. transition: {
  36. delay: 300
  37. }
  38. }"
  39. >
  40. 抱歉,服务器出错了
  41. </p>
  42. <el-button
  43. type="primary"
  44. @click="$router.push('/')"
  45. v-motion
  46. :initial="{
  47. opacity: 0,
  48. y: 100
  49. }"
  50. :enter="{
  51. opacity: 1,
  52. y: 0,
  53. transition: {
  54. delay: 500
  55. }
  56. }"
  57. >返回首页</el-button
  58. >
  59. </div>
  60. </div>
  61. </template>