...
|
...
|
@@ -23,25 +23,6 @@ export default class RedPersonPicThree extends Component{ |
|
|
return null;
|
|
|
}
|
|
|
|
|
|
let yh_exposureData = this.props.yh_exposureData?this.props.yh_exposureData:null;
|
|
|
let yh_exposureData0 = null;
|
|
|
let yh_exposureData1 = null;
|
|
|
let yh_exposureData2 = null;
|
|
|
if (yh_exposureData) {
|
|
|
yh_exposureData0 = {
|
|
|
I_INDEX: 0,
|
|
|
...yh_exposureData,
|
|
|
};
|
|
|
yh_exposureData1 = {
|
|
|
I_INDEX: 1,
|
|
|
...yh_exposureData,
|
|
|
};
|
|
|
yh_exposureData2 = {
|
|
|
I_INDEX: 2,
|
|
|
...yh_exposureData,
|
|
|
}
|
|
|
}
|
|
|
|
|
|
let list = resource.get('module_data').get('data').toJS();
|
|
|
let properties = resource.get('module_data').get('properties').toJS();
|
|
|
let isModuleMargin = properties.isModuleMargin;
|
...
|
...
|
@@ -88,6 +69,60 @@ export default class RedPersonPicThree extends Component{ |
|
|
let moduleOrder = resource.get('module_order') + 1;
|
|
|
let moduleType = resource.get('module_type');
|
|
|
|
|
|
|
|
|
let yh_exposureData = this.props.yh_exposureData?this.props.yh_exposureData:null;
|
|
|
let yh_exposureData0 = null;
|
|
|
let yh_exposureData1 = null;
|
|
|
let yh_exposureData2 = null;
|
|
|
|
|
|
|
|
|
let url1 = '';
|
|
|
if (linkType1 == '0') {
|
|
|
url1 = `http://m.yohobuy.com?openby:yohobuy={"action":"go.poollist","params":{"productPool":"${linkReource1}"}}`;
|
|
|
} else if (linkType1 == '1') {
|
|
|
url1 = `http://m.yohobuy.com?openby:yohobuy={"action":"go.productDetail","params":{"product_skn":"${linkReource1}"}}`;
|
|
|
} else if (linkType1 == '2') {
|
|
|
url1 = linkReource1;
|
|
|
}
|
|
|
if (yh_exposureData) {
|
|
|
yh_exposureData0 = {
|
|
|
I_INDEX: 0,
|
|
|
ACTION_URL: url1,
|
|
|
...yh_exposureData,
|
|
|
};
|
|
|
}
|
|
|
let url2 = '';
|
|
|
if (linkType2 == '0') {
|
|
|
url2 = `http://m.yohobuy.com?openby:yohobuy={"action":"go.poollist","params":{"productPool":"${linkReource2}"}}`;
|
|
|
} else if (linkType2 == '1') {
|
|
|
url2 = `http://m.yohobuy.com?openby:yohobuy={"action":"go.productDetail","params":{"product_skn":"${linkReource2}"}}`;
|
|
|
} else if (linkType2 == '2') {
|
|
|
url2 = linkReource2;
|
|
|
}
|
|
|
if (yh_exposureData) {
|
|
|
yh_exposureData1 = {
|
|
|
I_INDEX: 1,
|
|
|
ACTION_URL: url2,
|
|
|
...yh_exposureData,
|
|
|
};
|
|
|
}
|
|
|
|
|
|
let url3 = '';
|
|
|
if (linkType3 == '0') {
|
|
|
url3 = `http://m.yohobuy.com?openby:yohobuy={"action":"go.poollist","params":{"productPool":"${linkReource3}"}}`;
|
|
|
} else if (linkType3 == '1') {
|
|
|
url3 = `http://m.yohobuy.com?openby:yohobuy={"action":"go.productDetail","params":{"product_skn":"${linkReource3}"}}`;
|
|
|
} else if (linkType3 == '2') {
|
|
|
url3 = linkReource3;
|
|
|
}
|
|
|
if (yh_exposureData) {
|
|
|
yh_exposureData2 = {
|
|
|
I_INDEX: 2,
|
|
|
ACTION_URL: url3,
|
|
|
...yh_exposureData,
|
|
|
};
|
|
|
}
|
|
|
|
|
|
switch (displayType) {
|
|
|
case '1':
|
|
|
return (
|
...
|
...
|
|