Authored by 王水玲

有货分期

@@ -129,7 +129,7 @@ const _processRepayList = (list) => { @@ -129,7 +129,7 @@ const _processRepayList = (list) => {
129 129
130 return list.rePayList; 130 return list.rePayList;
131 } else { 131 } else {
132 - return ''; 132 + return {};
133 } 133 }
134 }; 134 };
135 135
@@ -259,7 +259,13 @@ const getSearchIntallment = (params) => { @@ -259,7 +259,13 @@ const getSearchIntallment = (params) => {
259 cache: true 259 cache: true
260 }).then((result) => { 260 }).then((result) => {
261 if (result && result.code === 200) { 261 if (result && result.code === 200) {
262 - return productProcess.processProductList(result.data.product_list); 262 + let goods = productProcess.processProductList(result.data.product_list);
  263 +
  264 + _.forEach(goods, (data) => {
  265 + data.url = data.url + `?openby:yohobuy={"action":"go.productDetail","params":{"product_skn":${data.productSkn}}}`;//eslint-disable-line
  266 + });
  267 +
  268 + return goods;
263 } else { 269 } else {
264 logger.error('get instalment promote goods return code is not 200'); 270 logger.error('get instalment promote goods return code is not 200');
265 return Promise.reject(result); 271 return Promise.reject(result);
@@ -357,7 +363,7 @@ const getQueryRePayList = (params) => { @@ -357,7 +363,7 @@ const getQueryRePayList = (params) => {
357 return _processRepayList(result.data); 363 return _processRepayList(result.data);
358 } else { 364 } else {
359 logger.error('get queryRePayList data return code is not 200'); 365 logger.error('get queryRePayList data return code is not 200');
360 - return ''; 366 + return {};
361 } 367 }
362 }); 368 });
363 }; 369 };
1 .installment-page { 1 .installment-page {
2 2
  3 + .banner-swiper {
  4 + height: 200px;
  5 + }
  6 +
  7 + .banner-swiper ul {
  8 + height: 200px;
  9 + }
  10 +
3 .open-index { 11 .open-index {
4 background: #fff; 12 background: #fff;
5 height: auto; 13 height: auto;