...
|
...
|
@@ -31,10 +31,7 @@ export default class RedPersonPicThree extends Component{ |
|
|
let data1 = list?list[0]:null;
|
|
|
let backgroundImage1 = data1?data1.pic:'';
|
|
|
let linkType1 = data1.linkType;
|
|
|
let showProductInfo1 = true;
|
|
|
if (data1.showProductInfo && !data1.showProductInfo) {
|
|
|
showProductInfo1 = false;
|
|
|
}
|
|
|
let showProductInfo1 = data1.showProductInfo?data1.showProductInfo:false;
|
|
|
let product1 = data1.product;
|
|
|
if (!product1) {
|
|
|
showProductInfo1 = false;
|
...
|
...
|
@@ -50,10 +47,7 @@ export default class RedPersonPicThree extends Component{ |
|
|
let data2 = list?list[1]:null;
|
|
|
let backgroundImage2 = data2.pic;
|
|
|
let linkType2 = data2.linkType;
|
|
|
let showProductInfo2 = true;
|
|
|
if (data2.showProductInfo && !data2.showProductInfo) {
|
|
|
showProductInfo2 = false;
|
|
|
}
|
|
|
let showProductInfo2 = data2.showProductInfo?data2.showProductInfo:false;
|
|
|
let product2 = data2.product;
|
|
|
if (!product2) {
|
|
|
showProductInfo2 = false;
|
...
|
...
|
@@ -69,10 +63,7 @@ export default class RedPersonPicThree extends Component{ |
|
|
let data3 = list?list[2]:null;
|
|
|
let backgroundImage3 = data3.pic;
|
|
|
let linkType3 = data3.linkType;
|
|
|
let showProductInfo3 = true;
|
|
|
if (data3.showProductInfo && !data3.showProductInfo) {
|
|
|
showProductInfo3 = false;
|
|
|
}
|
|
|
let showProductInfo3 = data3.showProductInfo?data3.showProductInfo:false;
|
|
|
let product3 = data3.product;
|
|
|
if (!product3) {
|
|
|
showProductInfo3 = false;
|
...
|
...
|
|