nothingOrder.vue 677 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. <template>
  2. <view class="d-flex a-center j-center flex-column nothing animated fadeIn fast" :style="getHeight">
  3. <view class="icon iconfont icon-meiyoudingdan"></view>
  4. <view class="text">这里什么也没有哦~</view>
  5. </view>
  6. </template>
  7. <script>
  8. export default {
  9. computed: {
  10. getHeight() {
  11. let height = uni.getSystemInfoSync().windowHeight - uni.upx2px(180);
  12. return `height: ${height}px;`;
  13. }
  14. },
  15. }
  16. </script>
  17. <style>
  18. .nothing {
  19. height: 700upx;
  20. }
  21. .nothing>view {
  22. line-height: 1;
  23. }
  24. .nothing>view.icon {
  25. /* color: #66A3FF; */
  26. color: #989898;
  27. font-size: 260upx;
  28. }
  29. .nothing>view.text {
  30. font-size: 28upx;
  31. color: #989898;
  32. }
  33. </style>