Authored by 陈峰

seobug修改

@@ -59,4 +59,5 @@ @@ -59,4 +59,5 @@
59 {{> footer-tab}} 59 {{> footer-tab}}
60 {{# params}} 60 {{# params}}
61 {{> common/query-param}} 61 {{> common/query-param}}
62 -{{/params}}  
  62 +{{/params}}
  63 +<input type="hidden" id="no-download">
@@ -56,7 +56,7 @@ const _processPublicData = (req, title, page, backUrl) => { @@ -56,7 +56,7 @@ const _processPublicData = (req, title, page, backUrl) => {
56 let index = (req, res, next) => { 56 let index = (req, res, next) => {
57 let refer = req.get('Referer') || `${global.yoho.config.siteUrl}/${req.cookies._Channel || ''}`; 57 let refer = req.get('Referer') || `${global.yoho.config.siteUrl}/${req.cookies._Channel || ''}`;
58 let reqPath = req.baseUrl + req.path; 58 let reqPath = req.baseUrl + req.path;
59 - let backUrl = refer.indexOf(reqPath) === -1 ? refer : ''; 59 + let backUrl = refer.indexOf(reqPath) === -1 && refer.indexOf('-sale') === -1 ? refer : '';
60 60
61 if (['boys', 'girls', 'kids', 'lifestyle'].indexOf(req.yoho.channel) === -1) { 61 if (['boys', 'girls', 'kids', 'lifestyle'].indexOf(req.yoho.channel) === -1) {
62 return next(); 62 return next();