pinapp-empty-page.vue 581 B

12345678910111213141516171819202122232425262728293031323334353637
  1. <template>
  2. <view class="empty-box">
  3. <image src="/static/images/pinapp-empty-box.png"></image>
  4. <view class="txt">{{ title }}</view>
  5. </view>
  6. </template>
  7. <script>
  8. export default {
  9. props: {
  10. title: {
  11. type: String,
  12. default: '暂无数据',
  13. },
  14. },
  15. }
  16. </script>
  17. <style lang="scss">
  18. .empty-box {
  19. display: flex;
  20. flex-direction: column;
  21. justify-content: center;
  22. align-items: center;
  23. padding-top: 200rpx;
  24. image {
  25. width: 414rpx;
  26. height: 240rpx;
  27. }
  28. .txt {
  29. font-size: 26rpx;
  30. color: #999;
  31. }
  32. }
  33. </style>