Authored by 王水玲

有货分期

... ... @@ -129,7 +129,7 @@ const _processRepayList = (list) => {
return list.rePayList;
} else {
return '';
return {};
}
};
... ... @@ -259,7 +259,13 @@ const getSearchIntallment = (params) => {
cache: true
}).then((result) => {
if (result && result.code === 200) {
return productProcess.processProductList(result.data.product_list);
let goods = productProcess.processProductList(result.data.product_list);
_.forEach(goods, (data) => {
data.url = data.url + `?openby:yohobuy={"action":"go.productDetail","params":{"product_skn":${data.productSkn}}}`;//eslint-disable-line
});
return goods;
} else {
logger.error('get instalment promote goods return code is not 200');
return Promise.reject(result);
... ... @@ -357,7 +363,7 @@ const getQueryRePayList = (params) => {
return _processRepayList(result.data);
} else {
logger.error('get queryRePayList data return code is not 200');
return '';
return {};
}
});
};
... ...
.installment-page {
.banner-swiper {
height: 200px;
}
.banner-swiper ul {
height: 200px;
}
.open-index {
background: #fff;
height: auto;
... ...