...
|
...
|
@@ -164,7 +164,8 @@ exports.comments = (req, res, next) => { |
|
|
res.render('detail/comments', Object.assign({
|
|
|
title: '购买评价',
|
|
|
pageHeader: headerData,
|
|
|
pageFooter: true
|
|
|
pageFooter: true,
|
|
|
localCss: true
|
|
|
}, result));
|
|
|
}).catch(next);
|
|
|
};
|
...
|
...
|
@@ -188,7 +189,8 @@ exports.consults = (req, res, next) => { |
|
|
res.render('detail/consults', Object.assign({
|
|
|
title: '购买咨询',
|
|
|
pageHeader: headerData,
|
|
|
pageFooter: true
|
|
|
pageFooter: true,
|
|
|
localCss: true
|
|
|
}, result));
|
|
|
}).catch(next);
|
|
|
};
|
...
|
...
|
@@ -237,7 +239,8 @@ exports.consultform = (req, res, next) => { |
|
|
pageHeader: headerData,
|
|
|
productId: req.query.product_id,
|
|
|
formUrl: '/product/detail/consultsubmit',
|
|
|
pageFooter: true
|
|
|
pageFooter: true,
|
|
|
localCss: true
|
|
|
});
|
|
|
};
|
|
|
|
...
|
...
|
@@ -336,7 +339,8 @@ exports.index = (req, res, next) => { |
|
|
result: result,
|
|
|
page: 'detail',
|
|
|
title: result.goodsName,
|
|
|
pageFooter: true
|
|
|
pageFooter: true,
|
|
|
localCss: true
|
|
|
});
|
|
|
}).catch(next);
|
|
|
};
|
...
|
...
|
|