Authored by 周少峰

Merge branch 'release/5.6' into gray

@@ -321,11 +321,11 @@ const getShopList = params => { @@ -321,11 +321,11 @@ const getShopList = params => {
321 } 321 }
322 322
323 // 店铺/品牌的小分类 323 // 店铺/品牌的小分类
324 - _.forEach(value.sort, sortInfo => { 324 + _.forEach(_.get(value, 'sortInfo.sort', []), sortInfo => {
325 _.forEach(_.get(sortInfo, 'sub', []), subSort => { 325 _.forEach(_.get(sortInfo, 'sub', []), subSort => {
326 let sortHref; 326 let sortHref;
327 327
328 - if (value.is_global === 'Y') { 328 + if (value.is_global !== 'Y') {
329 sortHref = helpers.urlFormat('', {misort: subSort.sort_id}, 329 sortHref = helpers.urlFormat('', {misort: subSort.sort_id},
330 value.shop_domain || value.brand_domain); 330 value.shop_domain || value.brand_domain);
331 } else { 331 } else {
@@ -1801,13 +1801,6 @@ $('.package-box').on('click', '#buy-detail', function() { @@ -1801,13 +1801,6 @@ $('.package-box').on('click', '#buy-detail', function() {
1801 return $(value).data('id'); 1801 return $(value).data('id');
1802 }); 1802 });
1803 1803
1804 - var option = { // eslint-disable-line  
1805 - PRD_ID: +$('.main').data('id'),  
1806 - PACKAGE_GOODS: goodIds.join(',')  
1807 - };  
1808 -  
1809 - yas.givePoint('YB_GDS_PACKAGE_BUY_NOW_C', option);  
1810 -  
1811 if (flag) { 1804 if (flag) {
1812 1805
1813 // 套餐加入购物车埋点 1806 // 套餐加入购物车埋点
@@ -1005,7 +1005,7 @@ @@ -1005,7 +1005,7 @@
1005 .icon-note { 1005 .icon-note {
1006 display: inline-block; 1006 display: inline-block;
1007 background: url("/layout/note.png") no-repeat; 1007 background: url("/layout/note.png") no-repeat;
1008 - width: 14px; 1008 + width: 15px;
1009 height: 14px; 1009 height: 14px;
1010 margin-top: -2px; 1010 margin-top: -2px;
1011 margin-right: 5px; 1011 margin-right: 5px;
@@ -293,8 +293,9 @@ @@ -293,8 +293,9 @@
293 .swindle-info { 293 .swindle-info {
294 margin: 10px; 294 margin: 10px;
295 padding: 10px; 295 padding: 10px;
296 - font-size: 13px; 296 + font-size: 12px;
297 background-color: #faf6da; 297 background-color: #faf6da;
  298 + color: #444;
298 299
299 span { 300 span {
300 color: #cd0c25; 301 color: #cd0c25;