emptyPage.vue 589B

12345678910111213141516171819202122232425262728293031323334353637
  1. <template>
  2. <view class="empty-box">
  3. <image src="/static/images/noData.png"></image>
  4. <!-- <image src="../subPackages/static/images/noData.png" mode=""></image> -->
  5. <view class="txt">{{title}}</view>
  6. </view>
  7. </template>
  8. <script>
  9. export default{
  10. props: {
  11. title: {
  12. type: String,
  13. default: '暂无记录',
  14. },
  15. },
  16. }
  17. </script>
  18. <style lang="scss">
  19. .empty-box{
  20. display: flex;
  21. flex-direction: column;
  22. justify-content: center;
  23. align-items: center;
  24. margin: 100rpx 0;
  25. image{
  26. width: 600rpx;
  27. height: 440rpx;
  28. }
  29. .txt{
  30. color: #03BE5E;
  31. }
  32. }
  33. </style>