...
|
...
|
@@ -72,23 +72,6 @@ const _newGoods = (req, res, next) => { |
|
|
let banner = _.get(result, 'ads[0]', {});
|
|
|
let handPick = _.get(result, 'ads[1]', {});
|
|
|
|
|
|
console.log(handPick);
|
|
|
|
|
|
// handPick.data = [
|
|
|
// // {
|
|
|
// // src: 'http://img10.static.yhbimg.com/yhb-img01/2017/01/09/13/01da40539b33823497bde77bcfdb6d94b5.jpg?imageView2/{mode}/w/{width}/h/{height}',
|
|
|
// // alt: '',
|
|
|
// // title: '',
|
|
|
// // url: 'https://m.yohobuy.com/product/new'
|
|
|
// // },
|
|
|
// {
|
|
|
// src: 'http://img10.static.yhbimg.com/yhb-img01/2017/01/13/14/012d3366259d5afe4c4d4bf6d5a23278f7.jpg?imageView2/{mode}/w/{width}/h/{height}',
|
|
|
// alt: '',
|
|
|
// title: '',
|
|
|
// url: 'http://www.yohobuy.com'
|
|
|
// }
|
|
|
// ];
|
|
|
|
|
|
if (handPick.data) {
|
|
|
if (handPick.data.length > 2) {
|
|
|
handPick.three = true;
|
...
|
...
|
|