页面传值 通过url传值 edit_address:function(e){ let index=e.currentTarget.dataset.index wx.navigateTo({ url: '/pages/customer/ads/adsEdit/adsEdit?index='+index, }) }, 在接收页面onLoad生命周期函数接收数据 onLoad:function(options