http://blog.csdn.net/u013351340/article/details/71172574

1.在js文件里写个界面跳转的事件处理函数gotableinfo,var index = parseInt(e.currentTarget.dataset.index); 为获取当前点击列表的下脚标,wx.navigateTo为小程序提供的界面路由跳转的方法,参数url为要跳转页面的连接(?后面为连接携带的参数)

微信小程序之点击列表的item带参数跳转界面

2.data-index="{{index}}"为标记列表的下脚标,index的来源与wx:for="{{synctable}}"的列表渲染有关   默认列表下角标为index 列表内容为item

微信小程序之点击列表的item带参数跳转界面

3.从options.thumb_upid获取前一个页面所传参数

微信小程序之点击列表的item带参数跳转界面

相关文章:

  • 2021-05-09
  • 2021-04-07
  • 2021-11-23
  • 2022-12-23
  • 2021-11-23
  • 2022-01-16
  • 2021-12-26
  • 2022-12-23
猜你喜欢
  • 2021-11-23
  • 2022-12-23
  • 2022-02-07
  • 2021-08-28
  • 2021-11-23
  • 2022-12-23
  • 2021-08-25
相关资源
相似解决方案