404.vue 549 B

123456789101112131415161718192021222324252627282930313233343536
  1. <template>
  2. <view class="content">
  3. <image src="../../static/img/404.png" class="quesheng"></image>
  4. <view style="color: rgba(87, 146, 240, 1);">{{err}}</view>
  5. </view>
  6. </template>
  7. <script>
  8. export default {
  9. data() {
  10. return {
  11. err:'',
  12. }
  13. },
  14. onLoad() {
  15. this.err=sessionStorage.getItem("message")
  16. },
  17. methods: {
  18. }
  19. }
  20. </script>
  21. <style>
  22. .content {
  23. display: flex;
  24. flex-direction: column;
  25. align-items: center;
  26. justify-content: center;
  27. }
  28. .quesheng{
  29. margin-top: 300rpx;
  30. width: 480rpx;
  31. height: 558rpx;
  32. }
  33. </style>