Showing
1 changed file
with
2 additions
and
7 deletions
| @@ -587,19 +587,14 @@ export struct TopNavigationComponentNew { | @@ -587,19 +587,14 @@ export struct TopNavigationComponentNew { | ||
| 587 | clickMorningEveningPaper() { | 587 | clickMorningEveningPaper() { |
| 588 | 588 | ||
| 589 | // 早晚报埋点 | 589 | // 早晚报埋点 |
| 590 | - const params: ParamType = { | ||
| 591 | - "pageName": this.pageName, | ||
| 592 | - "pageId": this.pageId, | ||
| 593 | - } | ||
| 594 | - Tracking.event("morning_evening_news_click", params) | 590 | + TrackingButton.click('morning_evening_news_click', TrackConstants.SummaryType.MorningAndEveningNews, |
| 591 | + TrackConstants.SummaryType.MorningAndEveningNews) | ||
| 595 | 592 | ||
| 596 | if (NetworkUtil.isNetConnected()) { | 593 | if (NetworkUtil.isNetConnected()) { |
| 597 | DailyPaperTopicModel.getDailyPaperTopic().then(dailyPaperTopicBean => { | 594 | DailyPaperTopicModel.getDailyPaperTopic().then(dailyPaperTopicBean => { |
| 598 | if (dailyPaperTopicBean && dailyPaperTopicBean.id > 0) { | 595 | if (dailyPaperTopicBean && dailyPaperTopicBean.id > 0) { |
| 599 | SPHelper.default.saveSync('dailyPaperTopicPageId', dailyPaperTopicBean.id); | 596 | SPHelper.default.saveSync('dailyPaperTopicPageId', dailyPaperTopicBean.id); |
| 600 | ProcessUtils.gotoMorningEveningPaper() | 597 | ProcessUtils.gotoMorningEveningPaper() |
| 601 | - TrackingButton.click('morning_evening_news_click', TrackConstants.SummaryType.MorningAndEveningNews, | ||
| 602 | - TrackConstants.SummaryType.MorningAndEveningNews) | ||
| 603 | } else { | 598 | } else { |
| 604 | ToastUtils.showToast('暂无早晚报信息', 1000) | 599 | ToastUtils.showToast('暂无早晚报信息', 1000) |
| 605 | } | 600 | } |
-
Please register or login to post a comment