":"absolute","height":$(window).height()}); }); $('.old-search.search_area').focusout(function(){ // $(".search-pop").css("position","fixed"); $(".search-pop .main-title").css("position","fixed"); $(".search-pop .search-cat").css("position","fixed"); }); //判断是否首页搜索框 $(function(){ if($('.wap-src-cat').length>0){ $(".close-src").on('click',function(){ $(".search-pop").hide(); $('.search-land').hide(); $(".search-pop").find(".search_area").val(''); $('body').unbind('touchmove') $('body').css('overflow-y','scroll'); }); }else{ } })