noData.vue 582 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. <template>
  2. <view>
  3. <view class="nodata">
  4. <image class="n-img" src="../../static/noData.png"></image>
  5. <text class="n-text">暂无数据</text>
  6. </view>
  7. </view>
  8. </template>
  9. <script>
  10. export default {
  11. name: "noData",
  12. data() {
  13. return {};
  14. }
  15. }
  16. </script>
  17. <style lang="scss">
  18. .nodata {
  19. display: flex;
  20. flex-direction: column;
  21. align-items: center;
  22. justify-content: center;
  23. width: 100%;
  24. height: 750rpx;
  25. .n-img {
  26. width: 300rpx;
  27. height: 300rpx;
  28. }
  29. .n-text {
  30. font-size: 28rpx;
  31. color: #666;
  32. margin-top: 20rpx;
  33. }
  34. }
  35. </style>