Authored by 刘传洋

m

... ... @@ -91,10 +91,6 @@ const miniCart = (req, res, next) => {
data: ret
};
if (req.query.json === '1') {
return res.send(dest);
}
res.type('text/javascript');
res.send(req.query.callback + '(' + JSON.stringify(dest) + ')');
}).catch(next);
... ... @@ -153,10 +149,6 @@ const cart = (req, res, next) => {
service.getCartData(uid, shoppingKey)
.then(ret => {
if (req.query.json === '1') {
return res.send(ret);
}
return res.render('cart', {
title: '购物车 | ' + (res.locals.title || ''),
module: 'cart',
... ...
... ... @@ -1025,7 +1025,7 @@
background: transparent;
font-size: 14px;
font-weight: 300;
margin-top: 5px;
margin-top: 3px;
color:#ff575c;
&.tip-message-coin {
color: #000;
... ...