diff --git a/src/mip-story/mip-story-bookend.js b/src/mip-story/mip-story-bookend.js index c680e154c..db691b727 100644 --- a/src/mip-story/mip-story-bookend.js +++ b/src/mip-story/mip-story-bookend.js @@ -88,12 +88,14 @@ define(function (require) { data: ['_trackEvent', '小故事关闭按钮_分享页', '点击', window.location.href] }) ); - var recommendStats = encodeURIComponent( - JSON.stringify({ - type: 'click', - data: ['_trackEvent', '更多推荐', '点击', window.location.href] - }) - ); + var recommendStats = function (url) { + return encodeURIComponent( + JSON.stringify({ + type: 'click', + data: ['_trackEvent', '更多推荐', '点击', url] + }) + ); + }; var infoStats = encodeURIComponent( JSON.stringify({ type: 'click', @@ -111,7 +113,7 @@ define(function (require) { var item = items[i]; innerTpl += '' + '' + + '" class="recommend-item" data-stats-baidu-obj="' + recommendStats(item.url) + '">' + '
' @@ -144,7 +146,9 @@ define(function (require) { + historyTpl + shareTpl + '' - + '
' + + '
' + + '
' + + '
' + '
' + '