Authored by OF1706

recommend list

... ... @@ -19,7 +19,7 @@ var $head = $('.head-wrapper'),
$searchRecommend = $head.find('.search-hot'),
$searchHistoryHbs = $head.find('#search-suggest-history'),
$searchRecommendHbs = $head.find('#search-suggest-recommend');
$goCart = $head.find('.go-cart'),
$goCart = $head.find('.go-cart'),
$myYohoBox = $('#myYohoBox'),
$goodsNum = $goCart.find('.goods-num-tip'),
$miniCart = $head.find('.mini-cart-wrapper');
... ... @@ -918,6 +918,7 @@ function searchSuggestRecommend(key) {
// if (jsonData.data && jsonData.data.hotTerms.length && jsonData.data.guessTerms.length) {
searchSuggestRecommendHtml = handlebars.compile($searchRecommendHbs.html() || '');
$searchRecommend.html(searchSuggestRecommendHtml(jsonData)).show();
// } else {
// $searchRecommend.hide();
// }
... ...