index.js 349 B

1234567891011121314151617181920212223
  1. Component({
  2. properties: {
  3. cutBar: Function
  4. },
  5. options: {
  6. addGlobalClass: true,
  7. },
  8. data: {
  9. appid: "wxc1b6ae925ac1d06a"
  10. },
  11. methods: {
  12. openRecord(e) {
  13. const {
  14. it,
  15. item
  16. } = e.currentTarget.dataset;
  17. if (it.PageCur) this.triggerEvent("cutBar", it.PageCur)
  18. },
  19. toMsg(){
  20. this.triggerEvent("cutBar", 'Message')
  21. }
  22. }
  23. })