list.js 580 B

12345678910111213141516171819202122232425262728293031323334
  1. // pages/threadedTree/modules/list/list.js
  2. Component({
  3. /**
  4. * 组件的属性列表
  5. */
  6. properties: {
  7. list: Array,
  8. tagColor: {
  9. type: String,
  10. value: "#FA8C16"
  11. },
  12. auth: Array
  13. },
  14. options: {
  15. addGlobalClass: true
  16. },
  17. /**
  18. * 组件的初始数据
  19. */
  20. data: {
  21. },
  22. /**
  23. * 组件的方法列表
  24. */
  25. methods: {
  26. callOut(e) {
  27. wx.makePhoneCall({
  28. phoneNumber: e.currentTarget.dataset.phonenumber
  29. })
  30. },
  31. }
  32. })