Authored by 郭成尧

'合并代码''

... ... @@ -14,6 +14,8 @@ exports.index = (req, res, next) => {
};
indexModel.index(params).then(result => {
result.isLogin = true;
if (result) {
console.log(result);
res.render('index', result);
... ... @@ -28,17 +30,17 @@ exports.index = (req, res, next) => {
// pageFooter: 1,
// cartUrl: '//m.dev.yohobuy.com/cart/index/index',
// signinUrl: '//m.dev.yohobuy.com/signin.html?refer=%2F%2Fm.dev.yohobuy.com%2Fhome',
// isLogin: 1,
// wait_pay_num: 0,
// wait_cargo_num: 0,
// send_cargo_num: 0,
// brand_favorite_total: 0,
// product_favorite_total: 0,
// inbox_total: 0,
// comment_total: 0,
// refund_exchange_num: 0,
// yoho_coin_num: 0,
// coupon_num: 0,
// product_browse: 0
// isLogin: true,
// wait_pay_num: 99,
// wait_cargo_num: 99,
// send_cargo_num: 99,
// brand_favorite_total: 99,
// product_favorite_total: 99,
// inbox_total: 99,
// comment_total: 99,
// refund_exchange_num: 99,
// yoho_coin_num: 99,
// coupon_num: 99,
// product_browse: 99
// });
};
... ...
... ... @@ -99,7 +99,7 @@
width: 212px;
&.highlight {
background: rgba(200,200,200,.1) !important;
background: rgba(200, 200, 200, 0.1) !important;
}
p {
... ...