Authored by 孙凯

修改 大数据埋点bug review by zhanglixia

@@ -838,7 +838,6 @@ function exposeBannerData(data,type,channel) { @@ -838,7 +838,6 @@ function exposeBannerData(data,type,channel) {
838 P_NAME: pageName, 838 P_NAME: pageName,
839 P_PARAM: channelStr, 839 P_PARAM: channelStr,
840 I_INDEX: parseInt(i) + 1 + '', 840 I_INDEX: parseInt(i) + 1 + '',
841 - BRAND_ID: item.brand_id,  
842 SHOP_ID: item.shops_id, 841 SHOP_ID: item.shops_id,
843 C_ID: channel, 842 C_ID: channel,
844 exposureEnd : 1, 843 exposureEnd : 1,
@@ -75,7 +75,14 @@ export default class DoubleImage extends React.Component { @@ -75,7 +75,14 @@ export default class DoubleImage extends React.Component {
75 } else if (linkType1 == '1') { 75 } else if (linkType1 == '1') {
76 url1 = `http://m.yohobuy.com?openby:yohobuy={"action":"go.productDetail","params":{"product_skn":"${linkReource1}"}}`; 76 url1 = `http://m.yohobuy.com?openby:yohobuy={"action":"go.productDetail","params":{"product_skn":"${linkReource1}"}}`;
77 } else if (linkType1 == '2') { 77 } else if (linkType1 == '2') {
78 - url1 = linkReource; 78 + url1 = linkReource1;
  79 + }
  80 + if (linkType2 == '0') {
  81 + url2 = `http://m.yohobuy.com?openby:yohobuy={"action":"go.poollist","params":{"productPool":"${linkReource2}"}}`;
  82 + } else if (linkType2 == '1') {
  83 + url2 = `http://m.yohobuy.com?openby:yohobuy={"action":"go.productDetail","params":{"product_skn":"${linkReource2}"}}`;
  84 + } else if (linkType2 == '2') {
  85 + url2 = linkReource2;
79 } 86 }
80 let yh_exposureData = this.props.yh_exposureData?this.props.yh_exposureData:null; 87 let yh_exposureData = this.props.yh_exposureData?this.props.yh_exposureData:null;
81 let yh_exposureData0 = null; 88 let yh_exposureData0 = null;