Authored by zhangxiaoru

editorial

@@ -230,8 +230,6 @@ const _getRelatedData = (idList) => { @@ -230,8 +230,6 @@ const _getRelatedData = (idList) => {
230 }); 230 });
231 }); 231 });
232 232
233 -  
234 - console.log(productList)  
235 return productList; 233 return productList;
236 } else { 234 } else {
237 logger.error('推荐商品 cood 不是 200'); 235 logger.error('推荐商品 cood 不是 200');
@@ -356,11 +354,11 @@ const _processContentData = (list) => { @@ -356,11 +354,11 @@ const _processContentData = (list) => {
356 data = _.assign(data, result[index]); 354 data = _.assign(data, result[index]);
357 } 355 }
358 }); 356 });
359 - 357 +
360 if (!data.name) { 358 if (!data.name) {
361 delete related.relatedGroup[key]; 359 delete related.relatedGroup[key];
362 } 360 }
363 - 361 +
364 }); 362 });
365 } 363 }
366 364
@@ -259,7 +259,7 @@ $('.comments-list').find('li:last').css('border-bottom', 'none'); @@ -259,7 +259,7 @@ $('.comments-list').find('li:last').css('border-bottom', 'none');
259 $('.good-info').each(function() { 259 $('.good-info').each(function() {
260 var $this = $(this).find('.price'); 260 var $this = $(this).find('.price');
261 261
262 - if($this.text().indexOf('.') < 0 ){  
263 - $this.html($this.text() + '.00') 262 + if ($this.text().indexOf('.') < 0) {
  263 + $this.html($this.text() + '.00');
264 } 264 }
265 -})  
  265 +});