Authored by 郭成尧

banner

... ... @@ -2,7 +2,7 @@
* @Author: Targaryen
* @Date: 2017-03-23 11:02:31
* @Last Modified by: Targaryen
* @Last Modified time: 2017-08-02 11:11:07
* @Last Modified time: 2017-08-11 11:40:02
*/
/* 红人店铺数据处理 */
... ... @@ -279,7 +279,7 @@ const floor = (decoratorsData) => {
*/
const shopIntro = (params) => {
if (params) {
params.shop_intro_link = helpers.urlFormat('/product/index/intro', {shop_id: params.shops_id});
params.shop_intro_link = helpers.urlFormat('/product/index/intro', { shop_id: params.shops_id });
}
return params;
... ... @@ -380,7 +380,8 @@ const getShopBanner = (shopDecoratorList) => {
// 店铺banner
if (floorData.shopTopBannerApp) {
banner = resData[0].shopSrc;
banner = resData[0].shopSrc +
'?imageMogr2/auto-orient/strip/thumbnail/x{height}/crop/{width}x{height}';
}
});
... ...