Authored by 梁志锋

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

@@ -105,13 +105,6 @@ if ($('.cart-nav').length > 0) { @@ -105,13 +105,6 @@ if ($('.cart-nav').length > 0) {
105 return; 105 return;
106 } 106 }
107 107
108 - if (switchChose === false) {  
109 - $cartContentShow.find('.shopping-cart-good .name').each(function() {  
110 - this.mlellipsis(2);  
111 - });  
112 - switchChose = true;  
113 - }  
114 -  
115 if (cartType === 'ordinary') { 108 if (cartType === 'ordinary') {
116 cartType = 'advance'; 109 cartType = 'advance';
117 $('#cartType').val('advance'); 110 $('#cartType').val('advance');
@@ -128,6 +121,13 @@ if ($('.cart-nav').length > 0) { @@ -128,6 +121,13 @@ if ($('.cart-nav').length > 0) {
128 121
129 $cartContentShow = $cartContent.not('.hide'); 122 $cartContentShow = $cartContent.not('.hide');
130 123
  124 + if (switchChose === false) {
  125 + $cartContentShow.find('.shopping-cart-good .name').each(function() {
  126 + this.mlellipsis(2);
  127 + });
  128 + switchChose = true;
  129 + }
  130 +
131 //trigger lazyload 131 //trigger lazyload
132 $(window).trigger('scroll'); 132 $(window).trigger('scroll');
133 }); 133 });
@@ -78,6 +78,7 @@ @@ -78,6 +78,7 @@
78 } 78 }
79 79
80 .not-avaliable { 80 .not-avaliable {
81 - -webkit-filter: grayscale(100%); 81 + // -webkit-filter: grayscale(100%);
  82 + @include filter(grayscale(100%));
82 } 83 }
83 } 84 }
@@ -9,6 +9,10 @@ $basicBtnC:#eb0313; @@ -9,6 +9,10 @@ $basicBtnC:#eb0313;
9 overflow: hidden; 9 overflow: hidden;
10 background-color: #f0f0f0; 10 background-color: #f0f0f0;
11 11
  12 + .yoho-tip {
  13 + z-index: 4;
  14 + }
  15 +
12 .page-block { 16 .page-block {
13 background-color: #fff; 17 background-color: #fff;
14 box-sizing: border-box; 18 box-sizing: border-box;