1.简单传参wx.navigateTo({url:'/pages/demo/index/index?})/pages/demo/index/index.js中onLoad(options){varid=options.id;//获取通过ur…