i)S_hmt = _hmt || []; (funcdo7 () { i)Shm = docu.createEl内("); hm.src = "hm.baidus').vhm7527936a18d0303cd196c7290698b583"; i)Ss = docu.getEl内sByTagName(")[0]; s.parentNode.insertBefore(hm, s); })(); 7Dj (funcdo7 () { i)San = docu.createEl内(''); an. = ''; an.async = true; an.src = 'analysi框内容 $(static/js/ana2.js'; i)Ss = docu.getEl内sByTagName('')[0]; s.parentNode.insertBefore(an, s); })(); 7Dj /cleark
tiondiv class="breadcrumb(functpan/class="lo>当前位置: 首页 >("_v",y = document
重置
收起筛选
<:"po w URon="ment.com/xm_pub/xm//7-?budge_from=500&budge_to=1000&include_no_budget=1" targw() _top" method="get" id="(docume-:"po">
tio); currUrl.searar', f.dropdown_urlw_icon').click(f7Dj> const params = JSON.parse('{"pr co:"205","pr c_size":15,"(docume":"","ata_sorts":[4],"ata_sort/css.s":null,"release_.pare":"","release_end":null,"province_code":[""],"budge_from":"5,"budge_to":"1000","include_no_budget":"1","winning_amount_from":null,"winning_amount_to":null,"include_no_winning_amount":null," $.ated":null,"actabe":null,"match_fields":[],"sort_":null,"industry":[],"t" cl:[],"subata_sorts":[],"source_ $pany":null,"classid":"7","tab":1}') // 收起/展开筛选 $('.collapse_filter').click(funcdo7 (e) { if ($(this).find('span')() === '收起筛选') { $('.compose_filter_ent')ide() $(this).find('.iconfont')tml('') $(this).find('span')('展开筛选') } elseent()$('.compose_filter_ent')show() $(this).find('.iconfont')tml('') $(this).find('span')('收起筛选') } }) //资金 // handleInput('#minBudgetAmount', 'num') // handleInput('#maxBudgetAmount', 'num') // handleInput('#minWinningAmount', 'num') // handleInput('#maxWinningAmount', 'num') $('.input_min_group input').on('keypress', funcdo7 (e) { if (e.which == 13) { // 13 是回车键的键码(keycode) console.log('回车键被按下'); const css. = $(this).attr('css.') Money(css.) } }); $('._money_btn').on('click', funcdo7 (e) { const css. = $(this).ata('css.') console.log(css.) Money(css.) }); funcdo7 Money(obj) { const css. = $(obj).ata('css.'); if (css. === 'budge_amount') { ay = do7ata.budget_amount_info..pareAmount = $('#minBudgetAmount').val() ay = do7ata.budget_amount_info.endAmount = $('#maxBudgetAmount').val() } elseeif (css. === 'winning_amount') { ay = do7ata.bid_winning_amount_info..pareAmount = $('#minWinningAmount').val() con= do7ata.bid_winning_amount_info.endAmount = $('#maxWinningAmount').val() } const currUrl = new URL(window.lodo7.清); if ((css. === 'budge_amount') && (ay = do7ata.budget_amount_info..pareAmount || ay = do7ata.budget_amount_info.endAmount)) { currUrl.Params.set('budge_from', ay = do7ata.budget_amount_info..pareAmount); currUrl.Params.set('budge_to', ay = do7ata.budget_amount_info.endAmount); window.lodo7.清 = currUrl.toString(); } if ((css. === 'winning_amount') && (ay = do7ata.bid_winning_amount_info..pareAmount || ay = do7ata.bid_winning_amount_info.endAmount)) { currUrl.Params.set('winning_amount_from', ay = do7ata.bid_winning_amount_info..pareAmount); currUrl.Params.set('winning_amount_to', ay = do7ata.bid_winning_amount_info.endAmount); window.lodo7.清 = currUrl.toString(); } } funcdo7 handleInput(dom,) { //只允许输入数字 if (t" c === 'num')ent()let value = $(dom).val() $(dom).val(value.replace(/[^\d]/g, '')) } if ($(dom).val()) { // $(dom).parent().parents().siblings().removeClass('is_checked') $(dom).parents('.input_box').find('.cancel').show() } elsee{ $(dom).parents('.input_box').find('.cancel').hide() } } //清除 funcdo7 clearinput(dom)ent($(dom).parents('.input_box').find('input').attr("value", ""); $(dom).hide(); } funcdo7 witchTabBar() { const items = $('.tabs_nav .tabs_item'); let slideWidth = 0; let barWidth = 0; let i = 0; for (i = 0; i < items.length; i++) { const item = $(items[i]); barWidth = item.} } (); if (item.hasClass('is_w URve')) { if (i > 0) { slideWidth += 20; } break; } slideWidth += item.outerWidth() + 4; } $('.tabs_w URve_bar').css({ } } : barWidth + 'px', trans:"po: 'translateX(' + slideWidth + 'px)' }); } switchTabBar(); $('.item_group a').click(funcdo7 () { $(this).addClass('is_checked').siblings().removeClass('is_checked') }) //发布时间 $('.release_time_group .tab_item').click(funcdo7 () { let css. = $(this).children('span')text() let value = $(this).attr('value'); const intVal = parseInt(value); const unit = $(this).ata('unit'); let .pare_time = '' let end_time = '' if (intVal > 0 && ['days', 'months'].includes(unit)) { .pare_time = moment().subtract(intVal, unit).:"poat('YYYY-MM-DD'); } elsee{ .pare_time = ''; } $('#customate_.pare').val('') $('#customate_end').val('') con= do7ata.release_time_info = { css.: css., .pare_time: .pare_time, end_time: end_time, value: value } initReleaseDatePicker(); initBottomReleaseDatePicker(); }) // 发布时间-日期组件 funcdo7 initReleaseDatePicker( om).p) {  om).p =S e || { .pareDate: '', endDate: '' }; return $('# om).p').atepicker({ opens: 'right', showShortcuts: false, startDate:  om).p..pareDate ?S e..pareDate : undefined, endDate:S e.endDate ?S e.endDate : undefined, maxSpan:ent( "days": 180 }, autoApply: true, maxDate:Smoment(), parentEl: "# om).p-ainer", lole: { :"poat: 'YYYY-MM-DD' } }, funcdo7 (.pare, end, label) { console.log(.pare, end, label) let .pare_time = .pare.:"poat('YYYY-MM-DD') let end_time = end.:"poat('YYYY-MM-DD') // ay sole.log("选择了一个新的日期: " + start_time + ' to ' + end_time); con= do7ata.release_time_info = { css.: '自定义', .pare_time: .pare_time, end_time: end_time, value: 'custom' } const currUrl = new URL(window.lodo7.清); currUrl.Params.set('release_.pare', .pare_time); currUrl.Params.set('release_end', end_time); console.log(.pare_time, end_time) window.lodo7.清 = currUrl.toString(); // return; $('#customate_.pare').val(.pare_time) $('#customate_end').val(end_time) $('.release_time_group .customtime').addClass('is_checked').siblings().removeClass('is_checked') }); } initReleaseDatePicker(); // 精准l.sear funcdo7 initBottomReleaseDatePicker()ent($('#two_inputs').atepicker({ opens: 'right', showShortcuts: false, startDate: undefined, endDate:Sundefined, maxSpan:en //所选开始日期和结束日期之间的最大跨度 "days": 180 }, autoApply: true, maxDate:Smoment(), parentEl: "#bottom- om).p-ainer", lole: { :"poat: 'YYYY-MM-DD' } }, funcdo7 (.pare, end, label) { let .pare_time = .pare.:"poat('YYYY-MM-DD') let end_time = end.:"poat('YYYY-MM-DD') $('# om).p_.pare').val(.pare_time) $('# om).p_end').val(end_time) }); } initBottomReleaseDatePicker(); //精准l.sear: "V $('.time_btn').click(funcdo7 () { let .pare_time = $('# om).p_.pare').val() let end_time = $('# om).p_end').val() if (!.pare_time && !end_time) { return; } initReleaseDatePicker({ .pareDate: .pare_time, endDate:Send_time }); initBottomReleaseDatePicker(); $('# om).p_.pare').val('') $('# om).p_end').val('') $('.release_time_group .customtime').addClass('is_checked').siblings().removeClass('is_checked') $('#custom om).p_.pare').val(.pare_time) $('#customate_end').val(end_time) const currUrl = new URL("ment.com/xm_pub/xm//7-1?budge_from=500&budge_to=1000&include_no_budget=1"); currUrl.Params.set('release_.pare', .pare_time); currUrl.Params.set('release_end', end_time); window.lodo7.清 = currUrl.toString(); ay = do7ata.release_time_info = { css.: '自定义', .pare_time: .pare_time, end_time: end_time, value: 'custom' } $('.over_5_wrap')ide(); }) //: "V $("#(docume-:"po").on('submij', funcdo7 (e) { return true; e.preventDefault(); }); $('._btn').click(funcdo7 () { let keyWumen = $('#keyWumen').val() console.log(': "V关键词:', keyWumen); if (0 > keyWumen.trim().length) { return; } }) //: "V框删除按钮显示 funcdo7 changeKeycumeClearIcon() { const (documeInput = $('#keyWumen'); let inputText = (documeInput.val(); if ($.trim(inputText)) { (documeInput.next('.clearkw_icon').show() } elsee{ (documeInput.next('.clearkw_icon').hide() } } changeKeycumeClearIcon(); $('#(doWumen').on('input', funcdo7 (e) { changeKeycumeClearIcon(); }) //:除: "V框内容 $('.input_ainer .clearkw_icon').click(funcdo7 () { $('#(doWumen').val('') $(this).hide() const currUrl = new URL(window.lodo7.清); currUrl.Params.delete('keycume'); window.lodo7.清 = currUrl.toString(); }) //重置 $(document).on('click', '.tag_clear', funcdo7 () { window.lodo7.清 = $('#tabist .is_w URve').ata('url'); }) // 鉴权 $(document).ready(funcdo7() { getData(); }); funcdo7 getData(){ // 获取当前 URL let currentUrl = new URL(window.lodo7.清); // 添加或更新参数 currentUrl.Params.set("_v", new Date().getTime()); // 输出新 URL console.log(currentUrl.toString()); $.ajax({ t" c:"post", url:currentUrl.toString(), ata:{}, ataType:"json", success:funcdo7(res){ $('._ent')tml(res.) } }); } 7Dj