Authored by 郭成尧

Merge branch 'release/5.3.1' into 'gray'

search hide



See merge request !94
... ... @@ -80,6 +80,7 @@ function inputAction() {
var $searchAssociate = $('.search-associate');
var $icon = $('.search-icon');
var $searchItems = $('.search-items');
var $hotsearch = $('.hot-search-new');
$input.on('input', function() {
if ($input.val() === '') {
... ... @@ -87,6 +88,7 @@ function inputAction() {
$clear.addClass('hide');
$searchAssociate.html('');
$searchItems.show();
$hotsearch.show();
$searchAssociate.hide();
} else {
$icon.css('color', '#666');
... ... @@ -114,6 +116,7 @@ function inputAction() {
$searchAssociate.html(ajaxHtml);
$searchItems.hide();
$hotsearch.hide();
} else {
$searchAssociate.html('');
}
... ...