404.vue 807 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. <template>
  2. <div class="content">
  3. <v-logo></v-logo>
  4. <div class="warn">
  5. <img src="@/static/svg/icon-warn.svg" alt="" />
  6. <p>404</p>
  7. </div>
  8. </div>
  9. </template>
  10. <script>
  11. import VLogo from '@/components/logo.vue';
  12. export default {
  13. name: 'error',
  14. components: {
  15. VLogo,
  16. },
  17. data() {
  18. return {};
  19. },
  20. mounted() {},
  21. };
  22. </script>
  23. <style lang="scss" scoped>
  24. html,
  25. body,
  26. #__nuxt,
  27. #__layout {
  28. width: 100%;
  29. height: 100%;
  30. padding: 0;
  31. margin: 0;
  32. }
  33. .content {
  34. width: 100%;
  35. height: 100%;
  36. background: linear-gradient(180deg, #d8efff 0%, #ffffff 44.3%);
  37. display: flex;
  38. justify-content: center;
  39. align-items: center;
  40. .warn {
  41. text-align: center;
  42. color: #aab4b9;
  43. img {
  44. width: 100px;
  45. height: 100px;
  46. }
  47. p {
  48. margin-top: 20px;
  49. font-weight: 700;
  50. font-size: 30px;
  51. }
  52. }
  53. }
  54. </style>