index.js 367 B

12345678910111213141516171819
  1. Page({
  2. data: {
  3. aid:'',
  4. },
  5. onLoad: function (options) {
  6. console.log(options)
  7. this.setData({aid:options.aid})
  8. },
  9. onShow: function () {
  10. },
  11. onShareAppMessage(res) {
  12. let url='/pages/public/showGoodsList/index?aid='+this.data.aid;
  13. return {
  14. title: '查看活动物品清单,提前准备所需物品~',
  15. path: url,
  16. }
  17. }
  18. })