...
|
...
|
@@ -12,7 +12,6 @@ const helpers = global.yoho.helpers; |
|
|
|
|
|
const newProductsName = '新品上架 NEW';
|
|
|
const hotProductsName = '人气单品 HOT';
|
|
|
const shopRecommentName = '经典推荐';
|
|
|
const shopListUrl = '/product/shoplist';
|
|
|
|
|
|
/**
|
...
|
...
|
@@ -109,6 +108,7 @@ const shopTopBanner = (data) => { |
|
|
|
|
|
return {
|
|
|
shopTopBanner: {
|
|
|
bannerHeight: 200,
|
|
|
banner: `${src}${str}imageView2/1/w/{width}/h/{height}`,
|
|
|
detailSrc: data[0].detailSrc || '',
|
|
|
isShowShopName: data[0].isShowShopName === 'Y'
|
...
|
...
|
@@ -202,7 +202,7 @@ const recommend = (data) => { |
|
|
|
|
|
return {
|
|
|
recommend: {
|
|
|
title: dest[0].title || shopRecommentName,
|
|
|
title: dest[0].title,
|
|
|
list: dest
|
|
|
}
|
|
|
};
|
...
|
...
|
@@ -225,6 +225,7 @@ const brandBrowse = (data, params) => { |
|
|
url: helpers.urlFormat(shopListUrl, {
|
|
|
shopId: _.get(params, 'shopId', ''),
|
|
|
brand: value.id,
|
|
|
title: value.title,
|
|
|
navBar: 1
|
|
|
}),
|
|
|
brandName: value.brandName,
|
...
|
...
|
@@ -233,7 +234,7 @@ const brandBrowse = (data, params) => { |
|
|
});
|
|
|
|
|
|
resData.brandBrowse = {
|
|
|
title: '品牌集合',
|
|
|
title: list[0].title,
|
|
|
list: list
|
|
|
};
|
|
|
}
|
...
|
...
|
@@ -262,7 +263,7 @@ const hotRecommend = (data) => { |
|
|
});
|
|
|
|
|
|
resData.hotRecommend = {
|
|
|
title: title || '热销推荐',
|
|
|
title: title,
|
|
|
list: list
|
|
|
};
|
|
|
}
|
...
|
...
|
|