JPcontent.vue 808 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. <template>
  2. <view class="contentBody" >
  3. <view v-show="status==0" style="display: flex;justify-content: center;margin: 40px 0;" >
  4. <view class="uni-toast" style="display: flex;font-size: 60rpx; color: rgb(192, 196, 204);" >
  5. <i class="uni-icon_toast uni-loading"
  6. style="
  7. width: 80rpx;
  8. height: 80rpx;
  9. "
  10. ></i><p class="uni-toast__content"> </p>加载中...</view>
  11. </view>
  12. <view v-show="status==1">
  13. <u-divider :isnone="true" nonetext="无记录"
  14. border-color="#fff"></u-divider>
  15. </view>
  16. <view v-show="status==2">
  17. <slot ></slot>
  18. </view>
  19. </view>
  20. </template>
  21. <script>
  22. export default {
  23. name:"contentBody",
  24. props:{
  25. status: {
  26. type: Number,
  27. default: 0
  28. },
  29. },
  30. data() {
  31. return {
  32. };
  33. }
  34. }
  35. </script>
  36. <style>
  37. </style>