fail.vue 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. <script setup lang="ts">
  2. import { useColumns } from "./columns";
  3. defineOptions({
  4. name: "Fail"
  5. });
  6. const { columns } = useColumns();
  7. </script>
  8. <template>
  9. <el-card shadow="never">
  10. <template #header>
  11. <div class="card-header">
  12. <span class="font-medium">失败页</span>
  13. </div>
  14. <el-link
  15. class="mt-2"
  16. href="https://github.com/pure-admin/vue-pure-admin/blob/main/src/views/result/fail.vue"
  17. target="_blank"
  18. >
  19. 代码位置 src/views/result/fail.vue
  20. </el-link>
  21. </template>
  22. <el-result
  23. icon="error"
  24. title="提交失败"
  25. sub-title="请核对并修改以下信息后,再重新提交。"
  26. >
  27. <template #extra>
  28. <el-button type="primary">返回修改</el-button>
  29. </template>
  30. </el-result>
  31. <PureDescriptions
  32. :columns="columns"
  33. title="您提交的内容有如下错误:"
  34. class="p-6 w-[90%] m-auto bg-[#fafafa] dark:bg-[#1d1d1d]"
  35. />
  36. </el-card>
  37. </template>
  38. <style scoped>
  39. :deep(.el-descriptions__body) {
  40. background: transparent;
  41. }
  42. </style>