Authored by ccbikai

Merge branch 'develop' into feature/sale

... ... @@ -44,7 +44,7 @@ const channelPage = (req, res, data) => {
gender: data.gender,
uid: _.toString(req.user.uid)
}).then(result => {
res.render('channel', Object.assign(renderData, data, result));
res.render('channel', Object.assign({}, renderData, data, result));
}).catch((err) => {
channelLogger(err, res);
});
... ... @@ -107,7 +107,7 @@ exports.kids = (req, res) => {
channelPage(req, res, {
gender: 'kids',
title: '潮童首页',
boysHomePage: true
kidsHomePage: true
});
};
... ...
<div class="mobile-container">
<div class="mobile-wrap boys-wrap yoho-page">
<div class="mobile-wrap {{#if boysHomePage}}boys-wrap{{/if}} {{#if girlsHomePage}}girls-wrap{{/if}} {{#if kidsHomePage}}kids-wrap{{/if}} {{#if lifestyleHomePage}}lifestyle-wrap{{/if}} yoho-page">
{{! 首页header}}
{{#homeHeader}}
{{> channel/home-header}}
... ...