emptyPage.vue 614 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. <template>
  2. <view class="empty-box">
  3. <image :src="HTTP_REQUEST_URL_IMG+'empty-box.png'"></image>
  4. <view class="txt">{{ title }}</view>
  5. </view>
  6. </template>
  7. <script setup>
  8. import { HTTP_REQUEST_URL_IMG } from "@/config/app";
  9. defineProps({
  10. title: {
  11. type: String,
  12. default: '暂无记录'
  13. }
  14. })
  15. </script>
  16. <style lang="scss">
  17. .empty-box {
  18. display: flex;
  19. flex-direction: column;
  20. justify-content: center;
  21. align-items: center;
  22. margin-top: 200rpx;
  23. padding-bottom: 60rpx;
  24. image {
  25. width: 414rpx;
  26. height: 240rpx;
  27. }
  28. .txt {
  29. font-size: 26rpx;
  30. color: #999;
  31. }
  32. }
  33. </style>