跳过导航栏
猜你喜欢

2024.11.17
') : (h = "suggestion", i = "", j = ""), g.push(i), k = 0; l > k; k++) g.push('
'),g.push(a[k]), g.push("
"); for (a = a1, g = g, h = "word", i = "", j = "", l = a.length > d.maxLen ? d.maxLen : a.length, c || (d.curMaxLen = l, d.cache.curVal = d.input.value), 0 == b ? (h = "word", i = '
大家正在搜:\r\n
', j = '') : (h = "suggestion", i = "", j = ""), g.push(i), k = 0; l > k; k++) g.push('
'), g.push(a[k]), g.push("
"); return g.push(j), g.join(""); }}, r }), window.search_suggest = new SHM.home.suggest({input: document.SearchEcho.SerchKey,maxLen: 10,onoff: "on",controlFunction: function() { return "微博" === document.SearchEcho.SerchType.value || "新闻" === document.SearchEcho.SerchType.value ? !0 : !1 }}) }}); //}); // 20140403 MOD lqf {update the default hot} end }, error:function(){ console.log('error'); } }); function news_click(url){ console.log(url); location.href= url; } function tSearchUatrack(val) { try{ _S_uaTrack('index_new_search', val); }catch(e){} } function formSubmit(form,isWb,key){ var isFF = /firefox/.test(navigator.userAgent.toLowerCase()); if(isFF){ if(!isWb) { setTimeout(function(){ form.submit(); },0); } else { setTimeout(function(){ !!key ? form.setAttribute('action', '//s.weibo.com/weibo/@@key@@'.replace('@@key@@',key)) : form.setAttribute('action', '//s.weibo.com/weibo/'); form.submit(); },0); } } else { if(!isWb) { form.submit(); } else { !!key ? form.setAttribute('action', '//s.weibo.com/weibo/@@key@@'.replace('@@key@@',key)) : form.setAttribute('action', '//s.weibo.com/weibo/'); form.submit(); } } } function SearchSubmit(){ var key = document.SearchEcho.SerchKey.value.replace(/(^[\s\u3000]*)|([\s\u3000]*$)/g, ""); var ipt = document.SearchEcho.SerchKey; if(key == "请输关键词" || key == "请输入关键字" || key === "") { ipt.value = ""; ipt.className = 'inp-txt inp-txt-click'; setTimeout(function(){ipt.className='inp-txt'},500); ipt.focus(); return false; } else if(key === window.___homeSugVal___) { key = key.replace("\u5927\u5BB6\u6B63\u5728\u641C\uFF1A",""); document.hform_10.Refer.value = 'sina_direct_index'; } switch(document.SearchEcho.SerchType.value){ case "新闻" : var token = 0; for(var i=0;i
    • 选品牌

    • 选车型

    '+ '
    '+ '
    '+ '
    '+ '
    '+ ''; } $('.cartype-cont').children('div').eq(nindex).attr('loaded',1).children('ul').html(auto_html); } } }); } $('.cartype-title .type span[tab-type=tab-nav]').on('mouseenter', function() { creat_autocategory($(this).index(), $(this).attr('data-type')); var $curdiv = $('.cartype-cont').children('div').eq($('.cartype-cont').attr('index')); $curdiv.find('.scroll-pic-box').css('left', '0px'); $curdiv.find('.scroll-arr-l-cartype').hide(); $curdiv.find('.scroll-arr-r-cartype').removeClass('end'); $('.cartype-cont').attr('index', $(this).index()); }); $('.mod-10 .order-menu span').eq(1).on('mouseenter', function() { var nindex = $('.cartype-title .type .selected').index(); creat_autocategory(nindex, $('.cartype-title .type .selected').attr('data-type')); $('.cartype-cont').attr('index', nindex); }); $('.mod-10').delegate('.scroll-arr-r-cartype', 'click', function() { var $box = $(this).siblings('.scroll-pic-box'); if ($(this).attr('scrollwidth-init') != 1) { $box.width($box.find('.scroll-pic-wrap').width()+1); $(this).attr('scrollwidth-init', 1); } $(this).siblings('.scroll-arr-l-cartype').show(); if ($box.position().left == 256-$box.width()) { window.open($(this).parents('.scroll-pic-frame-autotype').siblings('.ftb').attr('href')) } else if (Math.abs($box.position().left)+256*2>$box.width() || $box.position().left==2*256-$box.width()) { $(this).addClass('end'); $box.animate({left: (256-$box.width())+'px'}); } else { $box.animate({left:'-=256px'}); } }); $('.mod-10').delegate('.scroll-arr-l-cartype', 'click', function() { var $box = $(this).siblings('.scroll-pic-box'); $(this).siblings('.scroll-arr-r-cartype').removeClass('end'); if (Math.abs($box.position().left)<256) { $box.animate({left: '0px'}); $(this).hide(); } else { $box.animate({left:'+=256px'}); } });

    热点关注

    • 广告