index.vue 1000 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. <template>
  2. <div>
  3. <div class="big">
  4. <div class="inner">
  5. <img src="../../assets/notFound.png">
  6. <p>页面被神秘力量吸走了,请联系我们修复</p>
  7. <p style="font-size:18px;line-height:40px;">常见问题为菜单未分配仪表盘,可自行分配仪表盘或修改默认路由</p>
  8. <p></p>
  9. <img src="../../assets/qm.png" class="leftPic">
  10. </div>
  11. </div>
  12. </div>
  13. </template>
  14. <script>
  15. export default {
  16. name: 'Error'
  17. }
  18. </script>
  19. <style lang="scss">
  20. .big{
  21. width: 100%;
  22. height: calc(100vh - 220px);
  23. background-color: rgb(244,244,244);
  24. position: relative;
  25. }
  26. .inner{
  27. position: absolute;
  28. top: 50%;
  29. left: 50%;
  30. transform: translate(-50%, -50%);
  31. }
  32. .inner p {
  33. text-align: center;
  34. font-size: 24px;
  35. }
  36. .inner .leftPic{
  37. width: 60px;
  38. height: 60px;
  39. margin-left: 44%;
  40. margin-top: 20px;
  41. }
  42. </style>