list.js 448 B

1234567891011121314151617181920212223
  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. },
  13. options: {
  14. addGlobalClass: true
  15. },
  16. methods: {
  17. callOut(e) {
  18. wx.makePhoneCall({
  19. phoneNumber: e.currentTarget.dataset.phonenumber
  20. })
  21. },
  22. }
  23. })