index.js 643 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. // components/Yl_Empty/index.js
  2. Component({
  3. /**
  4. * 组件的属性列表
  5. */
  6. properties: {
  7. text: {
  8. type: String,
  9. value: "暂无数据"
  10. },
  11. marTop: {
  12. type: String,
  13. value: "150rpx"
  14. },
  15. sonMarTop: {
  16. type: String,
  17. value: "20"
  18. },
  19. icon: {
  20. type: String,
  21. value: 'icon-zanwushuju'
  22. }
  23. },
  24. options: {
  25. addGlobalClass: true
  26. },
  27. /**
  28. * 组件的初始数据
  29. */
  30. data: {
  31. },
  32. /**
  33. * 组件的方法列表
  34. */
  35. methods: {
  36. }
  37. })