show-emtry.vue 573 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. <template>
  2. <view class="emtry_wrap">
  3. <image src="/static/market/empty.png" mode=""></image>
  4. <text>{{emtryText}}</text>
  5. </view>
  6. </template>
  7. <script>
  8. export default {
  9. props : {
  10. emtryText : {
  11. type : String,
  12. default : ()=> "暂无数据"
  13. },
  14. },
  15. data(){
  16. return {}
  17. },
  18. methods : {
  19. },
  20. mounted(){
  21. },
  22. }
  23. </script>
  24. <style lang="scss" scoped>
  25. .emtry_wrap{
  26. width: 750rpx;
  27. display: flex;
  28. flex-direction: column;
  29. align-items: center;
  30. color: #666666;
  31. font-size: 15px;
  32. image{
  33. width: 120px;
  34. height: 120px;
  35. }
  36. }
  37. </style>