Authored by 沈志敏

fix bug

... ... @@ -130,7 +130,6 @@
{{#unless @root.wap.ucenter.removePrefer}}
{{> common/recommend-for-you}}
{{/unless}}
{{> common/suspend-cart}}
</div>
{{> footer-tab}}
... ...
... ... @@ -25,7 +25,7 @@ const willStartActivity = {
// 奥莱首页控制器
exports.index = (req, res, next) => {
let headerData = headerModel.setNav({
navTitle: 'OUTLET',
navTitle: '奥莱',
navBtn: false
});
... ... @@ -36,7 +36,7 @@ exports.index = (req, res, next) => {
outletModel.getContent(categoryId, yhChannel, contentcode).then(result => {
res.render('outlet', Object.assign({
pageHeader: headerData,
title: 'OUTLET | Yoho!Buy有货 | 潮流购物逛不停',
title: '奥莱 | Yoho!Buy有货 | 潮流购物逛不停',
}, result));
}).catch(next);
};
... ... @@ -67,7 +67,7 @@ exports.activityTime = (req, res, next) => {
// 奥莱活动频道列表页
exports.activityList = (req, res, next) => {
let headerData = headerModel.setNav({
navTitle: 'OUTLET',
navTitle: '奥莱',
navBtn: false
});
... ...
... ... @@ -15,7 +15,7 @@ const api = global.yoho.API;
const resourcesProcess = require(`${utils}/resources-process`);
const dateFormate = (str) =>{
const dateFormate = (str) => {
var time = new Date(str * 1000);
var y = time.getFullYear();
var m = time.getMonth() + 1;
... ... @@ -85,7 +85,9 @@ const _convertNavData = (list) => {
});
});
return {data: formatData};
return {
data: formatData
};
};
/**
... ... @@ -235,7 +237,7 @@ const getActivity = (id) => {
return {
activity: res,
productPool: res[0] && res[0].productPoolId || '',
activityTitle: res[0] && res[0].title || 'OUTLET',
activityTitle: res[0] && res[0].title || '奥莱',
saleType: 4 // 促销类型, 奥莱为4
};
});
... ...