Authored by hf

Merge branch 'develop' of http://git.dev.yoho.cn/web/yohobuy into develop

@@ -77,8 +77,8 @@ if (typeof window.cookie === 'function' && 'y' === window.cookie('_hasShowCartPr @@ -77,8 +77,8 @@ if (typeof window.cookie === 'function' && 'y' === window.cookie('_hasShowCartPr
77 77
78 if ('advance' === cartType) { 78 if ('advance' === cartType) {
79 $cartContent.toggleClass('hide'); 79 $cartContent.toggleClass('hide');
80 - $('presell-cart-nav').addClass('active');  
81 - $('common-cart-nav').removeClass('active'); 80 + $('#common-cart-nav').removeClass('active');
  81 + $('#presell-cart-nav').addClass('active');
82 } 82 }
83 83
84 if ($('.cart-nav').length > 0) { 84 if ($('.cart-nav').length > 0) {
@@ -101,7 +101,7 @@ a { @@ -101,7 +101,7 @@ a {
101 color: #fff; 101 color: #fff;
102 font-size: 18px; 102 font-size: 18px;
103 border: none; 103 border: none;
104 - z-index:2; 104 + z-index:4;
105 @include border-radius(10px); 105 @include border-radius(10px);
106 } 106 }
107 107
@@ -19,13 +19,13 @@ @@ -19,13 +19,13 @@
19 {{^}} 19 {{^}}
20 {{#if cartNav}} 20 {{#if cartNav}}
21 <ul class="cart-nav clearfix"> 21 <ul class="cart-nav clearfix">
22 - <li class="active">  
23 - <span id="common-cart-nav"> 22 + <li class="active" id="common-cart-nav">
  23 + <span >
24 普通商品({{commonGoodsCount}}) 24 普通商品({{commonGoodsCount}})
25 </span> 25 </span>
26 </li> 26 </li>
27 - <li>  
28 - <span id="presell-cart-nav"> 27 + <li id="presell-cart-nav">
  28 + <span >
29 预售商品({{presellGoodsCount}}) 29 预售商品({{presellGoodsCount}})
30 </span> 30 </span>
31 <div id="presell-tip" class="presell-tip hide"> 31 <div id="presell-tip" class="presell-tip hide">