index.vue 815 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. <template>
  2. <view class="none-box">
  3. <img src="/static/serverImg/list/null.png" alt="" style="width: 267rpx; height: 267rpx;">
  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: 103rpx;
  22. .none-text {
  23. font-family: Inter;
  24. font-size: 27.63rpx;
  25. font-weight: bold;
  26. line-height: 33.63rpx;
  27. text-align: center;
  28. display: flex;
  29. align-items: center;
  30. letter-spacing: normal;
  31. color: #687383;
  32. margin-top: 14rpx;
  33. }
  34. }
  35. </style>