index.ts 459 B

123456789101112131415161718192021222324252627282930313233
  1. // components/w-empty/index.ts
  2. Component({
  3. options: {
  4. multipleSlots: true,
  5. styleIsolation: "shared",
  6. },
  7. /**
  8. * 组件的属性列表
  9. */
  10. properties: {
  11. image: {
  12. type: String,
  13. value: "https://oss.dayaedu.com/ktyq/1741336580521.png"
  14. },
  15. text: {
  16. type: String,
  17. value: "暂无内容"
  18. }
  19. },
  20. /**
  21. * 组件的初始数据
  22. */
  23. data: {
  24. },
  25. /**
  26. * 组件的方法列表
  27. */
  28. methods: {
  29. }
  30. })