1.
index.js
wx.navigateTo 可返回
itemClick:function(){ wx.navigateTo({ url:"../log/log?id=1" }) }2.redirectTo 不可返回
itemClick:function(){ wx.redirectTo({ url:"../log/log?id=1" }) }3.navigator 可返回
<navigator url="../log/log?id=1"> ...... </navigator >4.navigator redirect 不可返回
<navigator url="../log/log?id=1" redirect> ..... </navigator >多个参数用&
读取参数放在onLoad上
onLoad: function (options) { console.log(options.id) console.log(options.title) this.setData({getID:options.id}) },