index.js 785 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. Component({
  2. /**
  3. * 组件的属性列表
  4. */
  5. properties: {
  6. },
  7. data: {
  8. },
  9. methods: {
  10. open(
  11. currentTarget
  12. ) {
  13. /* if (currentTarget.dataset.isclick) {
  14. return
  15. } */
  16. this.getTabBar().setData({
  17. mask: true
  18. })
  19. // #if MP
  20. // #elif ANDROID
  21. // #endif
  22. },
  23. showTranscript() {
  24. this.getTabBar().setData({
  25. mask: true
  26. })
  27. this.selectComponent("#popUp").showModal()
  28. },
  29. closeTranscript() {
  30. this.getTabBar().setData({
  31. mask: false
  32. })
  33. this.selectComponent("#popUp").hideModal()
  34. },
  35. }
  36. })