401.vue 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. <script setup lang="ts">
  2. import imgs from "/@/assets/401.gif";
  3. import { ref } from "vue";
  4. const img = ref(`${imgs}?${new Date()}`);
  5. </script>
  6. <template>
  7. <div class="errPage-container">
  8. <el-row>
  9. <el-col :span="12">
  10. <h1 class="text-jumbo text-ginormous">Pure Admin</h1>
  11. <h2>你没有权限去该页面</h2>
  12. </el-col>
  13. <el-col :span="12">
  14. <img
  15. :src="img"
  16. width="313"
  17. height="428"
  18. alt="Girl has dropped her ice cream."
  19. />
  20. </el-col>
  21. </el-row>
  22. </div>
  23. </template>
  24. <style lang="scss" scoped>
  25. .errPage-container {
  26. width: 800px;
  27. max-width: 100%;
  28. margin: 100px auto;
  29. .pan-back-btn {
  30. background: #008489;
  31. color: #fff;
  32. border: none !important;
  33. }
  34. .pan-gif {
  35. margin: 0 auto;
  36. display: block;
  37. }
  38. .pan-img {
  39. display: block;
  40. margin: 0 auto;
  41. width: 100%;
  42. }
  43. .text-jumbo {
  44. font-size: 60px;
  45. font-weight: 700;
  46. color: #484848;
  47. }
  48. .list-unstyled {
  49. font-size: 14px;
  50. li {
  51. padding-bottom: 5px;
  52. }
  53. a {
  54. color: #008489;
  55. text-decoration: none;
  56. &:hover {
  57. text-decoration: underline;
  58. }
  59. }
  60. }
  61. }
  62. </style>