C端小程序
25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

28 lines
392 B

  1. // pages/index/sw/index.js
  2. Component({
  3. /**
  4. * 组件的属性列表
  5. */
  6. properties: {
  7. data: {
  8. value: {},
  9. type: Object,
  10. },
  11. },
  12. /**
  13. * 组件的初始数据
  14. */
  15. data: {
  16. },
  17. methods: {
  18. onLogin(e){
  19. let { id } = e.currentTarget.dataset.date;
  20. wx.navigateTo({
  21. url: `../../pages/coupons/details/index?id=${id}`,
  22. })
  23. }
  24. }
  25. })