You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

37 lines
589 B

4 months ago
  1. <template>
  2. <view class="noDate">
  3. <view class="img">
  4. <image src="@/static/images/nodata.png" mode=""></image>
  5. </view>
  6. <view class="text">
  7. <slot>
  8. <text>暂无数据</text>
  9. </slot>
  10. </view>
  11. </view>
  12. </template>
  13. <script>
  14. </script>
  15. <style lang="scss" scoped>
  16. .noDate {
  17. display: flex;
  18. align-items: center;
  19. justify-content: center;
  20. flex-direction: column;
  21. padding: 40rpx 0;
  22. }
  23. .img {
  24. width: 396rpx;height: 227rpx;
  25. image {
  26. display: block;
  27. width: 100%;
  28. height: 100%;
  29. }
  30. }
  31. .text {
  32. font-size: 26rpx;
  33. color: #999;
  34. margin-top: 60rpx;
  35. }
  36. </style>