Authored by hf

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

... ... @@ -11,6 +11,8 @@ var $input = $('#search-input input');
var $clear = $('#search-input .clear-input');
var $icon = $('.search-icon');
var $form = $('#search-form');
var $history = $('.history');
... ... @@ -32,8 +34,10 @@ chHammer.on('tap', function() {
$input.on('input', function() {
if ($input.val() === '') {
$icon.css('color','#b2b2b2');
$clear.addClass('hide');
} else {
$icon.css('color','#000');
$clear.removeClass('hide');
}
});
... ...
... ... @@ -38,7 +38,7 @@
left: 515rem / $pxConvertRem;
border: none;
background: transparent;
color: #000;
color: #b2b2b2;
font-size: 32rem / $pxConvertRem;
line-height: 56rem / $pxConvertRem;
}
... ...