Commit 94aef77a by xuzhenghua

埋点

parent bd68c3ca
......@@ -76,8 +76,6 @@ class FormalDraw extends Component {
}
draw = id => {
var _czc = _czc || []
_czc.push(["_trackEvent", '点击抽奖', 'm端双十一正式活动-点击抽奖'])
let {surplus, is_prize, hot_value} = this.state.userValue
if(hot_value<50){
Toast.info('你的福气值未达到参与抽奖所需福气值分数,快去积攒福气值吧', 2, null, false)
......@@ -91,6 +89,8 @@ class FormalDraw extends Component {
}).then(res => {
const {code, msg, data} = res.data
if (code == 200) {
var _czc = _czc || []
_czc.push(["_trackEvent", '点击抽奖', 'm端双十一正式活动-点击抽奖'])
QRCode.toDataURL(data.url, (err, url) => {
this.popupInstance = Popup({
title: '你已成功参与本时段抽奖',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment