|
@@ -151,7 +151,7 @@ export default {
|
|
|
attr3: "订购页",
|
|
|
});
|
|
|
let info = await detMainProduct({ productId: data.primaryProductId })
|
|
|
- // console.log(info)
|
|
|
+
|
|
|
let productJson = JSON.parse(data.productJson)
|
|
|
let mainJson = productJson.product;
|
|
|
let viceJson = productJson.viceProduct ? productJson.viceProduct : ''
|
|
@@ -185,7 +185,7 @@ export default {
|
|
|
c: mainJson.orderImg,
|
|
|
p: mainJson.explainImg
|
|
|
},
|
|
|
- id: info.data.primaryProductId,
|
|
|
+ id: data.primaryProductId,
|
|
|
isCompositeProduct: info.data.isCompositeProduct, //是否复合产品
|
|
|
logoPic: mainJson.logoPic,
|
|
|
manualInfo: info.data.manualInfo,
|
|
@@ -222,14 +222,14 @@ export default {
|
|
|
recommend: recommend,
|
|
|
remarks: JSON.parse(data.extJson),
|
|
|
viceJson: viceJson, //副产品json
|
|
|
- mainJson: productJson,
|
|
|
+ mainJson: mainJson,
|
|
|
otherJson: data.otherJson, //备用json
|
|
|
strategyInfo: {
|
|
|
activityLogo: data.activityLogo,
|
|
|
activityType: data.activityType,
|
|
|
directCharge: null,
|
|
|
extJson: data.extJson,
|
|
|
- id: null,
|
|
|
+ id: data.id,
|
|
|
linkUrl: data.linkUrl,
|
|
|
maskText: data.maskText,
|
|
|
posterPhoto: data.posterPhoto,
|