C端小程序
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

34 行
529 B

  1. // pages/index/sw/index.js
  2. Component({
  3. /**
  4. * 组件的属性列表
  5. */
  6. properties: {
  7. list: {
  8. value: [],
  9. type: Array
  10. }
  11. },
  12. /**
  13. * 组件的初始数据
  14. */
  15. data: {
  16. swiperCurrent: 0,
  17. // discountcardUrl: wx.getStorageSync('imgurl').discountcard.url,
  18. discountcardUrl: ''
  19. },
  20. /**
  21. * 组件的方法列表
  22. */
  23. ready() {},
  24. methods: {
  25. gotoDiscountCardList:function(){
  26. wx.navigateTo({
  27. url: '/pages/discountCardList/discountCardList',
  28. })
  29. }
  30. }
  31. });