|
@@ -38,7 +38,6 @@ Page({
|
|
|
popBgPic: '',
|
|
|
boxBgPic: '',
|
|
|
bgColor: '',
|
|
|
- channelId: '',
|
|
|
},
|
|
|
|
|
|
/**
|
|
@@ -65,8 +64,7 @@ Page({
|
|
|
return
|
|
|
}
|
|
|
this.setData({
|
|
|
- isLogin: getMobileCache() != '',
|
|
|
- channelId: options.channelId,
|
|
|
+ isLogin: getMobileCache() != ''
|
|
|
})
|
|
|
this.data.activityId = options.id
|
|
|
this.loadActivity()
|
|
@@ -77,8 +75,7 @@ Page({
|
|
|
Statistics.done({
|
|
|
module: 'luckdraw',
|
|
|
action: 'visit',
|
|
|
- businessId: this.data.activityId,
|
|
|
- department: this.data.channelId,
|
|
|
+ businessId: this.data.activityId
|
|
|
})
|
|
|
},
|
|
|
loadActivity: function() {
|
|
@@ -239,8 +236,7 @@ Page({
|
|
|
Statistics.done({
|
|
|
module: 'luckdraw',
|
|
|
action: 'click',
|
|
|
- businessId: this.data.activityId,
|
|
|
- department: this.data.channelId,
|
|
|
+ businessId: this.data.activityId
|
|
|
})
|
|
|
},
|
|
|
|