...
|
...
|
@@ -835,10 +835,28 @@ function homeFloorAutoReportData(list,channel) { |
|
|
break;
|
|
|
}
|
|
|
case 'single_image': {
|
|
|
break;
|
|
|
//list添加曝光数据
|
|
|
let itemList = floorData ? floorData : [];
|
|
|
for (let j = 0; j < itemList.length; j++) {
|
|
|
let imageItem = itemList[j];
|
|
|
let inFloorIndex = parseInt(j) + 1 + '';
|
|
|
let actionUrl = imageItem.url;
|
|
|
let param = autoReportData(channlStr,floorName,floorID,floorIndex,inFloorIndex,actionUrl);
|
|
|
imageItem.yh_exposureData = param;
|
|
|
}
|
|
|
break;
|
|
|
}
|
|
|
case 'single_name_image': {
|
|
|
break;
|
|
|
//list添加曝光数据
|
|
|
let itemList = floorData ? floorData : [];
|
|
|
for (let j = 0; j < itemList.length; j++) {
|
|
|
let imageItem = itemList[j];
|
|
|
let inFloorIndex = parseInt(j) + 1 + '';
|
|
|
let actionUrl = imageItem.url;
|
|
|
let param = autoReportData(channlStr,floorName,floorID,floorIndex,inFloorIndex,actionUrl);
|
|
|
imageItem.yh_exposureData = param;
|
|
|
}
|
|
|
break;
|
|
|
}
|
|
|
case 'recommend_content_one': {
|
|
|
let recommend_content_onelarge = item.data.big_image?item.data.big_image:[];
|
...
|
...
|
@@ -1075,6 +1093,13 @@ function homeFloorAutoReportData(list,channel) { |
|
|
break;
|
|
|
}
|
|
|
case 'shopRecommend': {
|
|
|
//more添加曝光数据
|
|
|
let title = floorData.title ? floorData.title : {};
|
|
|
let moreUrl = title.more_url ? title.more_url : "";
|
|
|
let titleParam = autoReportData(channlStr,floorName,floorID,floorIndex,"0",moreUrl);
|
|
|
title.yh_exposureData = titleParam ? titleParam : "";
|
|
|
|
|
|
|
|
|
|
|
|
break;
|
|
|
}
|
...
|
...
|
|