1、界面跳转传递参数
获取参数
Page({
data:{
},onLoad:function(options){
// 生命周期函数--监听页面加载
this.setData({
title: options.title,what : options.what
})
}
})
2、使用事件传递参数
wx.navigateTo({
url: '../navigator/redirect?title="zxc"'
})
}