diff --git a/static/js/category/brand.js b/static/js/category/brand.js index ca37ad7..20fbefb 100644 --- a/static/js/category/brand.js +++ b/static/js/category/brand.js @@ -331,10 +331,10 @@ if ($('.brand-search-page').length > 0) { brandsData = $.parseJSON($('#brands-data').html()); $keyword = $('#keyword'); - $keyword.on('input', function() { - searchInput(); - - }).focus(); + //$keyword.on('input', function() { + // searchInput(); + // + //}).focus(); // 2016.1.13 产品(高扬)要求进入页面默认显示取消按钮 $icon.css('color', '#444'); diff --git a/template/m.yohobuy.com/actions/category/brand/search.phtml b/template/m.yohobuy.com/actions/category/brand/search.phtml index 05acc77..bc2a0aa 100644 --- a/template/m.yohobuy.com/actions/category/brand/search.phtml +++ b/template/m.yohobuy.com/actions/category/brand/search.phtml @@ -2,7 +2,7 @@ <div class="brand-page brand-search-page yoho-page"> <div class="newbrand-search"> <form class="search-box clearfix"> - <input type="text" class="search-input" id="keyword" placeholder="查找品牌" autofocus> + <input type="text" class="search-input" id="keyword" placeholder="查找品牌"> <i class="search-icon iconfont"></i> <div class="search-action"> <span class="iconfont clear-text"></span>