index.vue 718 B

12345678910111213141516171819202122232425262728293031323334
  1. <template>
  2. <view class="none-box">
  3. <img src="/static/serverImg/list/null.png" alt="" style="width: 382rpx; height: 244rpx;">
  4. <view class="none-text">{{value}}</view>
  5. </view>
  6. </template>
  7. <script setup>
  8. const props = defineProps({
  9. value: {
  10. type: String,
  11. default: '数据为空'
  12. }
  13. })
  14. </script>
  15. <style scoped lang="scss">
  16. .none-box{
  17. display: flex;
  18. flex-direction: column;
  19. align-items: center;
  20. justify-content: center;
  21. margin-top: 100rpx;
  22. .none-text {
  23. font-size: 24rpx;
  24. font-weight: 400;
  25. letter-spacing: 0rpx;
  26. line-height: 28.96rpx;
  27. color: rgba(119, 119, 119, 1);
  28. text-align: center;
  29. }
  30. }
  31. </style>