Authored by whb

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

@@ -166,19 +166,21 @@ if ($('.brand-search-page').length) { @@ -166,19 +166,21 @@ if ($('.brand-search-page').length) {
166 166
167 $keyword.on('input', function() { 167 $keyword.on('input', function() {
168 if ($keyword.val().length) { 168 if ($keyword.val().length) {
169 - $icon.css('color', '#000');  
170 - $(this).closest('.search-box').css('width', '11.25rem'); 169 + $icon.css('color', '#444');
  170 +
  171 + // $(this).closest('.search-box').css('width', '11.25rem');
171 $searchAction.show().find('.clear-text').show(); 172 $searchAction.show().find('.clear-text').show();
172 } else { 173 } else {
173 $icon.css('color', '#b2b2b2'); 174 $icon.css('color', '#b2b2b2');
174 - $(this).closest('.search-box').css('width', '12.5rem');  
175 - $searchAction.hide(); 175 +
  176 + // $(this).closest('.search-box').css('width', '12.5rem');
  177 + $searchAction.find('.clear-text').hide();
176 } 178 }
177 searchResult(); 179 searchResult();
178 }).focus(); 180 }).focus();
179 181
180 // 2016.1.13 产品(高扬)要求进入页面默认显示取消按钮 182 // 2016.1.13 产品(高扬)要求进入页面默认显示取消按钮
181 - $icon.css('color', '#000'); 183 + $icon.css('color', '#444');
182 $keyword.closest('.search-box').css('width', '11.25rem'); 184 $keyword.closest('.search-box').css('width', '11.25rem');
183 $searchAction.show().find('.clear-text').hide(); 185 $searchAction.show().find('.clear-text').hide();
184 186
@@ -202,7 +202,7 @@ @@ -202,7 +202,7 @@
202 li:before { 202 li:before {
203 content: ""; 203 content: "";
204 display: inline-block; 204 display: inline-block;
205 - margin-right: 20rem / $pxConvertRem; 205 + margin-right: 10rem / $pxConvertRem;
206 width: 8rem / $pxConvertRem; 206 width: 8rem / $pxConvertRem;
207 height: 8rem / $pxConvertRem; 207 height: 8rem / $pxConvertRem;
208 background-color: #000; 208 background-color: #000;
@@ -129,6 +129,7 @@ @@ -129,6 +129,7 @@
129 display: inline; 129 display: inline;
130 font-size: 28rem / $pxConvertRem; 130 font-size: 28rem / $pxConvertRem;
131 vertical-align: middle; 131 vertical-align: middle;
  132 + color: #444;
132 } 133 }
133 134
134 .clear-text { 135 .clear-text {
@@ -248,6 +248,12 @@ @@ -248,6 +248,12 @@
248 248
249 .slide-wrapper { 249 .slide-wrapper {
250 height: 100%; 250 height: 100%;
  251 +
  252 + li {
  253 + a {
  254 + width: 100%;
  255 + }
  256 + }
251 } 257 }
252 258
253 .slide-switch { 259 .slide-switch {