Authored by 郭成尧

bug-fixed

1 1
2 @import "layout/swiper"; 2 @import "layout/swiper";
3 3
4 -$swiper-container-height: 232px; 4 +$swiper-container-height: 233px;
5 5
6 .jit-detail-page { 6 .jit-detail-page {
7 background-color: #f0f0f0; 7 background-color: #f0f0f0;
@@ -20,6 +20,8 @@ $swiper-container-height: 232px; @@ -20,6 +20,8 @@ $swiper-container-height: 232px;
20 } 20 }
21 21
22 .top { 22 .top {
  23 + padding-top: 4px;
  24 + padding-bottom: 4px;
23 margin-bottom: 1PX; 25 margin-bottom: 1PX;
24 font-size: 26px; 26 font-size: 26px;
25 } 27 }
@@ -31,6 +33,7 @@ $swiper-container-height: 232px; @@ -31,6 +33,7 @@ $swiper-container-height: 232px;
31 .bottom { 33 .bottom {
32 font-size: 28px; 34 font-size: 28px;
33 margin-bottom: 28px; 35 margin-bottom: 28px;
  36 + padding-bottom: 8px;
34 } 37 }
35 38
36 .swiper-container { 39 .swiper-container {
@@ -454,15 +454,16 @@ function transformJit(packageList) { @@ -454,15 +454,16 @@ function transformJit(packageList) {
454 discount: pValue.shopping_cut_cost 454 discount: pValue.shopping_cut_cost
455 }); 455 });
456 } 456 }
457 - result.packages.push(perPackageData);  
458 457
459 _.forEach(pValue.goods_list, gValue => { 458 _.forEach(pValue.goods_list, gValue => {
460 - result.packages[pKey].goods.push({ 459 + perPackageData.goods.push({
461 thumb: gValue.goods_images, 460 thumb: gValue.goods_images,
462 isAdd: gValue.goods_type === 'price_gift', 461 isAdd: gValue.goods_type === 'price_gift',
463 isGift: gValue.goods_type === 'gift' 462 isGift: gValue.goods_type === 'gift'
464 }); 463 });
465 }); 464 });
  465 +
  466 + result.packages.push(perPackageData);
466 }); 467 });
467 return result; 468 return result;
468 } 469 }