...
|
...
|
@@ -115,20 +115,20 @@ exports.getSaleGoodsData = (params) => { |
|
|
switch (params.saleType) {
|
|
|
case '5':
|
|
|
finalResult.goods.push({
|
|
|
thumb: 'http://img02.yohoboys.com/staticimg/2016/06/06/15/027f2ebe0f35a0f6dc29ffb11d40d58c68.jpg?imageMogr2/thumbnail/{width}x{height}/extent/{width}x{height}/background/d2hpdGU=/position/center/quality/90',
|
|
|
thumb: '//cdn.yoho.cn/yohobuy-node/assets/img/sale/all-broken.jpg',
|
|
|
url: '/product/sale/breakingYards?channel=' + params.channel
|
|
|
});
|
|
|
break;
|
|
|
case '2':
|
|
|
finalResult.goods.push({
|
|
|
thumb: 'http://img02.yohoboys.com/staticimg/2016/06/06/15/02c513694df76e78449781997d1ae2a67e.jpg?imageMogr2/thumbnail/{width}x{height}/extent/{width}x{height}/background/d2hpdGU=/position/center/quality/90',
|
|
|
thumb: '//cdn.yoho.cn/yohobuy-node/assets/img/sale/all-vip.jpg',
|
|
|
url: '/product/sale/vip?channel=' + params.channel,
|
|
|
vipPicture: true // 为了处理首页最后一张图片
|
|
|
});
|
|
|
break;
|
|
|
case '0':
|
|
|
finalResult.goods.push({
|
|
|
thumb: 'http://img02.yohoboys.com/staticimg/2016/06/06/15/02161115728d763520bd4695d2530b2132.jpg?imageMogr2/thumbnail/{width}x{height}/extent/{width}x{height}/background/d2hpdGU=/position/center/quality/90',
|
|
|
thumb: '//cdn.yoho.cn/yohobuy-node/assets/img/sale/all-sale.jpg',
|
|
|
url: '/product/sale/newSale?channel=' + params.channel
|
|
|
});
|
|
|
break;
|
...
|
...
|
|