emptyPage.vue 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. <template>
  2. <view class="empty-box">
  3. <image src="/static/images/empty-box.png"></image>
  4. <view class="txt">{{title}}</view>
  5. </view>
  6. </template>
  7. <script>
  8. // +----------------------------------------------------------------------
  9. // | CRMEB [ CRMEB赋能开发者,助力企业发展 ]
  10. // +----------------------------------------------------------------------
  11. // | Copyright (c) 2016~2024 https://www.crmeb.com All rights reserved.
  12. // +----------------------------------------------------------------------
  13. // | Licensed CRMEB并不是自由软件,未经许可不能去掉CRMEB相关版权
  14. // +----------------------------------------------------------------------
  15. // | Author: CRMEB Team <admin@crmeb.com>
  16. // +----------------------------------------------------------------------
  17. export default{
  18. props: {
  19. title: {
  20. type: String,
  21. default: '暂无记录',
  22. },
  23. },
  24. }
  25. </script>
  26. <style lang="scss">
  27. .empty-box{
  28. display: flex;
  29. flex-direction: column;
  30. justify-content: center;
  31. align-items: center;
  32. margin-top: 200rpx;
  33. image{
  34. width: 414rpx;
  35. height: 240rpx;
  36. }
  37. .txt{
  38. font-size: 26rpx;
  39. color: #999;
  40. }
  41. }
  42. </style>