| | |
| | | * 生命周期函数--监听页面加载 |
| | | */ |
| | | onLoad: function (options) { |
| | | this.setData({ |
| | | userId:wx.getStorageSync('userId'), |
| | | if (options.act == 1) { |
| | | let url = options.url + '?id=' + options.id |
| | | this.setData({ |
| | | url: url, |
| | | userId: wx.getStorageSync('userId'), |
| | | }) |
| | | } else { |
| | | this.setData({ |
| | | userId: wx.getStorageSync('userId'), |
| | | // url:'http://120.220.4.138:9591/user/share/shareIndex.html?uid='+wx.getStorageSync('userId')+'&type='+1, |
| | | url:'https://xn95128.cn/user/share/shareIndex.html?uid='+wx.getStorageSync('userId')+'&type='+1, |
| | | url: 'https://xn95128.cn/user/share/shareIndex.html?uid=' + wx.getStorageSync('userId') + '&type=' + 1, |
| | | // url1:'http://39.108.148.228:8080/orderShare/index.html?orderId=1622' |
| | | }) |
| | | }) |
| | | } |
| | | |
| | | }, |
| | | |
| | | /** |