Authored by htoooth

Merge remote-tracking branch 'origin/feature/new-product-detail' into feature/new-product-detail

@@ -41,10 +41,8 @@ @@ -41,10 +41,8 @@
41 {{!-- 因接口原因,暂存size的title的值 --}} 41 {{!-- 因接口原因,暂存size的title的值 --}}
42 42
43 <div id="size-title-json" style="display:none;">{{sizeTitleJson}}</div> 43 <div id="size-title-json" style="display:none;">{{sizeTitleJson}}</div>
  44 + <div id="package" class="package-box clearfix"></div>
44 <div class="total-content"> 45 <div class="total-content">
45 -  
46 - <div id="package" class="package-box hide clearfix"></div>  
47 -  
48 <div class="other-infos"> 46 <div class="other-infos">
49 <div class="description-material info-block getnav" id="goodsMessage" data-id="0"> 47 <div class="description-material info-block getnav" id="goodsMessage" data-id="0">
50 <p class="block-title"> 48 <p class="block-title">
@@ -1534,6 +1534,7 @@ window.fetchRecommend = window.once(loadRecommend); @@ -1534,6 +1534,7 @@ window.fetchRecommend = window.once(loadRecommend);
1534 // 加载套餐默认信息 1534 // 加载套餐默认信息
1535 $(function() { 1535 $(function() {
1536 if (!isPackageProduct) { 1536 if (!isPackageProduct) {
  1537 + $('#package').addClass('hide');
1537 return; 1538 return;
1538 } 1539 }
1539 1540
@@ -1549,7 +1550,6 @@ $(function() { @@ -1549,7 +1550,6 @@ $(function() {
1549 1550
1550 pkgData = result.data; 1551 pkgData = result.data;
1551 $('#package').html(packageTpl(pkgData)); 1552 $('#package').html(packageTpl(pkgData));
1552 - $('#package').removeClass('hide');  
1553 1553
1554 // 详情页套餐区 1554 // 详情页套餐区
1555 $('.good-info .good-detail-text > a').dotdotdot({ 1555 $('.good-info .good-detail-text > a').dotdotdot({