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