Authored by ccbikai

活动专题图片大小问题

@@ -371,7 +371,9 @@ const getDiscountDetailData = (id, yhChannel) => { @@ -371,7 +371,9 @@ const getDiscountDetailData = (id, yhChannel) => {
371 return _discount(param).then((result) => { 371 return _discount(param).then((result) => {
372 if (result && result.code === 200) { 372 if (result && result.code === 200) {
373 res = _processDiscount(result.data); 373 res = _processDiscount(result.data);
374 - 374 + if (res[0] && res[0].coverUrl) {
  375 + res[0].coverUrl = res[0].coverUrl.replace('/extent/{width}x{height}', '');
  376 + }
375 return { 377 return {
376 title: res[0] && res[0].title, 378 title: res[0] && res[0].title,
377 productPool: res[0] && res[0].productPool, 379 productPool: res[0] && res[0].productPool,