分享的时候携带参数 /** * 用户点击转发 */ onShareAppMessage: function(res) { if (res.from === 'button') { var cardno = wx.getStorageSync("distCardNo"