| @@ -39,7 +39,13 @@ Page({ | |||
| placing:false, | |||
| buyState:false | |||
| }, | |||
| onLoad: function () { | |||
| onLoad: function (options) { | |||
| if (app.globalData.isFirstLogin){ | |||
| console.log("第一次进入"); | |||
| wx.reportAnalytics('event_source_launch', { | |||
| source: options.source ? options.source :0 | |||
| }); | |||
| } | |||
| app.globalData.nowPage = 1; | |||
| if (app.globalData.isFirstLogin) { | |||
| this.getStartAdvertising(); | |||