empty.vue 653 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. <template>
  2. <view class='null text-center u-p-b-50' :style="{marginTop:top+'rpx'}">
  3. <image src="../static/null.png" :style="{width:width+'rpx',height:height+'rpx'}" mode=""></image>
  4. <view class="u-font-30 text-center u-m-t-30">{{text}}</view>
  5. </view>
  6. </template>
  7. <script>
  8. export default {
  9. props:{
  10. top:{
  11. type:String,
  12. default: '370'
  13. },
  14. text:{
  15. type:String,
  16. default:'暂无数据'
  17. },
  18. width:{
  19. type:String,
  20. default:'412'
  21. },
  22. height:{
  23. type:String,
  24. default:'399'
  25. }
  26. },
  27. data() {
  28. return {
  29. }
  30. },
  31. onLoad() {
  32. },
  33. methods: {
  34. },
  35. }
  36. </script>
  37. <style scoped lang='scss'>
  38. </style>