index.js 401 B

123456789101112131415161718192021222324252627282930313233
  1. // components/cotent-title/index.js
  2. Component({
  3. options:{
  4. multipleSlots:true
  5. },
  6. externalClasses: ['l-content'],
  7. /**
  8. * 组件的属性列表
  9. */
  10. properties: {
  11. name: {
  12. type: String
  13. },
  14. cardPadding: {
  15. type: Boolean,
  16. value: true
  17. }
  18. },
  19. /**
  20. * 组件的初始数据
  21. */
  22. data: {
  23. },
  24. /**
  25. * 组件的方法列表
  26. */
  27. methods: {
  28. }
  29. });