您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. // components/views/view-flex/view-flex.js
  2. Component({
  3. /**
  4. * 组件的属性列表
  5. */
  6. properties: {
  7. justify: {
  8. type: String,
  9. value: ''
  10. },
  11. align: {
  12. type: String,
  13. value: ''
  14. },
  15. vertical: {
  16. type: Boolean,
  17. value: false
  18. },
  19. height: {
  20. type: Number,
  21. value: ''
  22. },
  23. wrap: {
  24. type: String,
  25. value: 'nowrap'
  26. },
  27. styleCss: {
  28. type: String,
  29. value: ''
  30. },
  31. },
  32. /**
  33. * 组件的初始数据
  34. */
  35. data: {
  36. },
  37. /**
  38. * 组件的方法列表
  39. */
  40. methods: {
  41. }
  42. })