Showing
2 changed files
with
5 additions
and
5 deletions
@@ -29,7 +29,7 @@ exports.index = (req, res) => { | @@ -29,7 +29,7 @@ exports.index = (req, res) => { | ||
29 | vipLevel: vipLevel, | 29 | vipLevel: vipLevel, |
30 | ua: req.get('user-agent') || '' | 30 | ua: req.get('user-agent') || '' |
31 | }).then((result) => { | 31 | }).then((result) => { |
32 | - res.render('detail', { | 32 | + res.render('detail/detail', { |
33 | result: result, | 33 | result: result, |
34 | module: 'product', | 34 | module: 'product', |
35 | page: 'detail', | 35 | page: 'detail', |
@@ -48,7 +48,7 @@ exports.intro = (req, res) => { | @@ -48,7 +48,7 @@ exports.intro = (req, res) => { | ||
48 | intro({ | 48 | intro({ |
49 | productskn: req.params.productskn | 49 | productskn: req.params.productskn |
50 | }).then((result) => { | 50 | }).then((result) => { |
51 | - res.render('intro', { | 51 | + res.render('detail/intro', { |
52 | result: result | 52 | result: result |
53 | }); | 53 | }); |
54 | }); | 54 | }); |
@@ -102,10 +102,10 @@ | @@ -102,10 +102,10 @@ | ||
102 | {{# feedbacks}} | 102 | {{# feedbacks}} |
103 | <div class="feedback-list "> | 103 | <div class="feedback-list "> |
104 | {{#if commentsNum}} | 104 | {{#if commentsNum}} |
105 | - {{> product/feedback-tab}} | 105 | + {{> product/detail/feedback-tab}} |
106 | {{else}} | 106 | {{else}} |
107 | {{#if consultsNum}} | 107 | {{#if consultsNum}} |
108 | - {{> product/feedback-tab}} | 108 | + {{> product/detail/feedback-tab}} |
109 | {{else}} | 109 | {{else}} |
110 | <div class="nodata tap-hightlight" id="goto-consult"> | 110 | <div class="nodata tap-hightlight" id="goto-consult"> |
111 | <span>暂无商品评价和咨询</span> | 111 | <span>暂无商品评价和咨询</span> |
@@ -127,7 +127,7 @@ | @@ -127,7 +127,7 @@ | ||
127 | {{/ enterStore}} | 127 | {{/ enterStore}} |
128 | 128 | ||
129 | <div id="productDesc"> </div> | 129 | <div id="productDesc"> </div> |
130 | - {{> product/recommend-for-you}} | 130 | + {{> product/detail/recommend-for-you}} |
131 | {{> cart/chose-panel}} | 131 | {{> cart/chose-panel}} |
132 | 132 | ||
133 | {{#cartInfo}} | 133 | {{#cartInfo}} |
-
Please register or login to post a comment