index.js 561 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. // components/My_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. icon: {
  16. type: String,
  17. value: 'icon-zanwushuju'
  18. }
  19. },
  20. options: {
  21. addGlobalClass: true
  22. },
  23. /**
  24. * 组件的初始数据
  25. */
  26. data: {
  27. },
  28. /**
  29. * 组件的方法列表
  30. */
  31. methods: {
  32. }
  33. })