Authored by 张丽霞

详情页相关目录改变对应路径修改

... ... @@ -29,7 +29,7 @@ exports.index = (req, res) => {
vipLevel: vipLevel,
ua: req.get('user-agent') || ''
}).then((result) => {
res.render('detail', {
res.render('detail/detail', {
result: result,
module: 'product',
page: 'detail',
... ... @@ -48,7 +48,7 @@ exports.intro = (req, res) => {
intro({
productskn: req.params.productskn
}).then((result) => {
res.render('intro', {
res.render('detail/intro', {
result: result
});
});
... ...
... ... @@ -102,10 +102,10 @@
{{# feedbacks}}
<div class="feedback-list ">
{{#if commentsNum}}
{{> product/feedback-tab}}
{{> product/detail/feedback-tab}}
{{else}}
{{#if consultsNum}}
{{> product/feedback-tab}}
{{> product/detail/feedback-tab}}
{{else}}
<div class="nodata tap-hightlight" id="goto-consult">
<span>暂无商品评价和咨询</span>
... ... @@ -127,7 +127,7 @@
{{/ enterStore}}
<div id="productDesc"> </div>
{{> product/recommend-for-you}}
{{> product/detail/recommend-for-you}}
{{> cart/chose-panel}}
{{#cartInfo}}
... ...