storeItem.js 559 B

123456789101112131415161718192021222324252627282930
  1. // components/house-item/house-item.js
  2. Component({
  3. /**
  4. * 组件的属性列表
  5. */
  6. properties: {
  7. store: Object
  8. },
  9. /**
  10. * 组件的初始数据
  11. */
  12. data: {
  13. },
  14. /**
  15. * 组件的方法列表
  16. */
  17. methods: {
  18. // toDetail () {
  19. // getApp().autoSubcrebe && getApp().autoSubcrebe()
  20. // getApp().globalData.lastHouse = this.properties.house
  21. // console.log(this.properties.house)
  22. // wx.navigateTo({
  23. // url: `/pages/detail/detail?house_id=${this.properties.house.house_id}`
  24. // })
  25. // }
  26. }
  27. })