Merge branch 'develop' of http://git.dev.yoho.cn/web/yohobuy into develop
Showing
3 changed files
with
7 additions
and
7 deletions
@@ -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) { |
@@ -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"> |
-
Please register or login to post a comment