index.js 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. // components/My_MembersAndProducts/index.js
  2. Component({
  3. /**
  4. * 组件的属性列表
  5. */
  6. properties: {
  7. /* 是否主账号 */
  8. fisadministrator: {
  9. type: Boolean
  10. },
  11. /* 图片 */
  12. attinfos: {
  13. type: Object,
  14. value:{}
  15. },
  16. /* 标题 */
  17. title: {
  18. type: String
  19. },
  20. /* 第二行 */
  21. twoRow: {
  22. type: String
  23. },
  24. /* 第三行 */
  25. threeRow: {
  26. type: String
  27. },
  28. /* 图片尺寸 */
  29. imgSize: {
  30. type: String,
  31. value: "100rpx"
  32. },
  33. /* 图片圆角 */
  34. radius: {
  35. type: String,
  36. value: '50%'
  37. }
  38. },
  39. options: {
  40. addGlobalClass: true,
  41. },
  42. /**
  43. * 组件的初始数据
  44. */
  45. data: {
  46. },
  47. /**
  48. * 组件的方法列表
  49. */
  50. methods: {
  51. /* 修改成员信息 */
  52. changeMessage() {
  53. this.triggerEvent("changeMessage")
  54. }
  55. }
  56. })