index.js 466 B

123456789101112131415161718192021
  1. Component({
  2. properties: {
  3. list: {
  4. type: Array
  5. }
  6. },
  7. lifetimes: {
  8. attached: function () {
  9. getApp().globalData.Language.getLanguagePackage(this)
  10. }
  11. },
  12. methods: {
  13. distribution({
  14. currentTarget
  15. }) {
  16. wx.navigateTo({
  17. url: `/packageA/publicClue/distribution?data=${JSON.stringify(currentTarget.dataset.item)}`,
  18. })
  19. }
  20. }
  21. })