//调用页面js
goSignUpPage(){
var dataList=encodeURIComponent(JSON.stringify(this.data.canBuyTicketList));
wx.navigateTo({
url: `/pages/signUp/index?priceList=${dataList}&ConferenceId=${this.data.meetId}&ChannelType=${this.data.comeType}`,
})
},
//目的页面js
onLoad:function(options){
let aa=decodeURIComponent(options.priceList)
let prices=JSON.parse(aa) //prices及传递过来的json数组
}
网友评论