Authored by TaoHuang

add fix

... ... @@ -119,6 +119,7 @@ export default {
}
.zanbar {
margin-top: 40px;
margin-bottom: 40px;
padding-left: 30px;
padding-right: 30px;
... ...
... ... @@ -16,7 +16,7 @@ export default {
<style :lang="scss" scoped>
.item {
margin-bottom: 20px;
margin-left: 20px;
margin-right: 20px;
}
</style>
... ...
... ... @@ -63,7 +63,6 @@ export default {
},
onclick(e) {
console.log('huangtao12=>',e);
},
slideChangeHandler(currentPageIndex) {
this.currentPageIndex = currentPageIndex;
... ...
... ... @@ -350,12 +350,9 @@ export function pushGoodsInfo(finalDetail, goodsList, favsList) {
finalDetail[key].relatedReco.goods = [];
forEach(goodsSkn, (item, subKey) => {
console.log(goodsObj, item)
if (goodsObj[item]) {
console.log(goodsObj[item])
finalDetail[key].relatedReco.goods[subKey] = goodsObj[item];
} else {
console.log('delete');
delete finalDetail[key].relatedReco.goods[subKey];
}
});
... ...