".close-src").on('click',function(){ window.history.go(-1); $(".search-pop").css("position","fixed"); $(".search-pop .main-title").css("position","fixed"); $(".search-pop .search-cat").css("position","fixed"); $('.search-land').hide(); $(".search_area").val(''); $('body').unbind('touchmove') }); var bind_name = 'input'; if (.indexOf("MSIE") != -1){ bind_name = 'propertychange'; } $(".search_area").bind(bind_name, function(){ const _value = $(this).val(); var content = ""; content = _value.replace(/\s+/g, ""); if(content.length == 0){ $('.search .src-close-btn').hide(); $('.search-land').hide(); }else{ $('.search .src-close-btn').show(); $('.search-land').show(); } $(".search-land").find('li').remove(); $.ajax({ url: "/index.php?r=index/kwarr", type: 'get', dataType: 'json', data: { kw: _value }, success: function (data) { if(data.status=='1'){ $(".search-land").find('li').remove(); for(var i=0;i< data.data.length;i++){ var str = "
  • "+data.data[i]+"
  • "; $(".search-land").append(str); } } } }) }); $('.search .src-close-btn').click(function(){ $('body').unbind('touchmove') $('body').css('overflow-y','scroll'); $(this).hide(); $('.search-land').hide(); $(".search_area").val(''); $('.search-kw').hide(); // $('.search-pop').show(); $(this).siblings('.search_area').focus(); }); $(".search-land").on('click','li',function(){ $(".search_area").val($(this).text()); $('.wap-srcBtn.search_submit').trigger('click'); });

    免责声明: 本站资料及图片来源互联网文章,本网不承担任何由内容信息所引起的争议和法律责任。所有作品版权归原创作者所有,与本站立场无关,如用户分享不慎侵犯了您的权益,请联系我们告知,我们将做删除处理!

    友情链接:传奇彩票官网  幸运彩票注册  金誉彩票注册  拉菲彩票  金誉彩票开户  
    ";} where(" 1=1 and url='".$_GET['url']."'")->find(); $info['city_pro'] = ''; if(C('WEBSITE_CITY_MAP') == 0){ $citys = C('OPTIONS_WEBSITE_CITY'); $category = category($info['catid']); $city_pro = ''; foreach($citys as $key=>$val) { $temp['name'] = $val.$info['title']; $temp['url'] = '/'.$category['url'].'/'.$info['url'].'_'.$key.'.html'; $city_pro .= '