nothingOrder.vue 738 B

12345678910111213141516171819202122232425262728293031323334353637383940
  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. position: absolute;
  20. top: 0;
  21. left: 0;
  22. right: 0;
  23. bottom: 0;
  24. height: 700upx;
  25. }
  26. .nothing>view{
  27. line-height: 1;
  28. }
  29. .nothing>view.icon{
  30. /* color: #66A3FF; */
  31. color: #989898;
  32. font-size: 260upx;
  33. }
  34. .nothing>view.text{
  35. font-size: 28upx;
  36. color: #989898;
  37. }
  38. </style>