Empty.vue 483 B

123456789101112131415161718192021222324252627282930
  1. <script setup name="Empty">
  2. defineProps({
  3. text: {
  4. type: String,
  5. default: "敬请期待",
  6. },
  7. });
  8. </script>
  9. <template>
  10. <view class="empty">
  11. <view>{{ text }}</view>
  12. </view>
  13. </template>
  14. <style lang="scss" scoped>
  15. .empty {
  16. flex: 1;
  17. width: 100%;
  18. display: flex;
  19. align-items: center;
  20. justify-content: center;
  21. flex-direction: column;
  22. gap: 20rpx;
  23. font-family: PingFang SC, PingFang SC;
  24. font-weight: 500;
  25. font-size: 28rpx;
  26. color: #999999;
  27. }
  28. </style>