list.js 478 B

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