"T,8-H_info`pRk?FDBC "q//行业_info`release_time"T{ id: '', _time end_time value: 'all' }发布时间 province"T[]省份地区 // pRk?FDBC "q //行业_info`budget_amount"T{ id: '不限', id }预算金额 bid_winning_amount"T{ id: '不限', id } 金额 // >cy"T{ id: '不限', id } 代理单位 // act_mode"T{ id: '不限', id } 联系方式 // release_timemode"T{ id: '从近到远', idarch' }发布时间模式 // match_"T[] 匹配范围 }; /sy/">--> " class="xt/j"> 首页 资讯中心 /form>指数 行情通 大数据 商城 .pxw标
--> /mall="ht/sellerCe 商城入驻 --> /mall="ht/buyerCe 买家中心 --> /mall="ht/sellerCe 卖家中心 --> :;" onclick="window.open('ipc/login?ref class="s%3A%2F%2F%2Fxm%2F%2F4%3Fbudge_from%3D1000%26release_%3D3days%26winning_amountto%3D500%26_v%3D1749380347', '_top')" /sy/"="" class="login_btn"> 注册/登录 简体 English
>div class="breadcrumbpan/class="lo>当前位置: --> /xm/">首页 > input
重置
收起筛选
-> on="/xm//4?budge_from=1000&release_=3days&winning_amountto=500" targ"htt_top" method="get" id="-/ul>"> >
> 发布时间:
> 省份地区:
--> /xm//4?budge_from=1000&release_=3days&winning_amountto=500" class="tab_item_area all_area " value="all"> 不限 --> /xm//411000?budge_from=1000&release_=3days&winning_amountto=500" class="tab_item_area "> 北京 --> /xm//444?budge_from=1000&release_=3days&winning_amountto=500" class="tab_item_area "> 广东 --> /xm//431000?budge_from=1000&release_=3days&winning_amountto=500" class="tab_item_area "> 上海 --> /xm//432?budge_from=1000&release_=3days&winning_amountto=500" class="tab_item_area "> 江苏 --> /xm//433?budge_from=1000&release_=3days&winning_amountto=500" class="tab_item_area "> 浙江 --> /xm//437?budge_from=1000&release_=3days&winning_amountto=500" class="tab_item_area "> 山东 --> /xm//442?budge_from=1000&release_=3days&winning_amountto=500" class="tab_item_area "> 湖北 --> /xm//451000?budge_from=1000&release_=3days&winning_amountto=500" class="tab_item_area "> 四川 --> /xm//413?budge_from=1000&release_=3days&winning_amountto=500" class="tab_item_area "> 河北 --> /xm//441000?budge_from=1000&release_=3days&winning_amountto=500" class="tab_item_area "> 河南 --> /xm//412?budge_from=1000&release_=3days&winning_amountto=500" class="tab_item_area "> 天津 --> /xm//414?budge_from=1000&release_=3days&winning_amountto=500" class="tab_item_area "> 山西 --> /xm//41?budge_from=1000&release_=3days&winning_amountto=500" class="tab_item_area "> 内蒙古 --> /xm//421000?budge_from=1000&release_=3days&winning_amountto=500" class="tab_item_area "> 辽宁 --> /xm//422?budge_from=1000&release_=3days&winning_amountto=500" class="tab_item_area "> 吉林 --> /xm//423?budge_from=1000&release_=3days&winning_amountto=500" class="tab_item_area "> 黑龙江 --> /xm//434?budge_from=1000&release_=3days&winning_amountto=500" class="tab_item_area "> 安徽 --> /xm//43?budge_from=1000&release_=3days&winning_amountto=500" class="tab_item_area "> 福建 --> /xm//436?budge_from=1000&release_=3days&winning_amountto=500" class="tab_item_area "> 江西 --> /xm//443?budge_from=1000&release_=3days&winning_amountto=500" class="tab_item_area "> 湖南 --> /xm//4?budge_from=1000&release_=3days&winning_amountto=500" class="tab_item_area is_checked"> input --> /xm//446?budge_from=1000&release_=3days&winning_amountto=500" class="tab_item_area "> 海南 --> /xm//4?budge_from=1000&release_=3days&winning_amountto=500" class="tab_item_area "> 重庆 --> /xm//452?budge_from=1000&release_=3days&winning_amountto=500" class="tab_item_area "> 贵州 --> /xm//453?budge_from=1000&release_=3days&winning_amountto=500" class="tab_item_area "> 云南 --> /xm//44?budge_from=1000&release_=3days&winning_amountto=500" class="tab_item_area "> 西藏 --> /xm//461000?budge_from=1000&release_=3days&winning_amountto=500" class="tab_item_area "> 陕西 --> /xm//462?budge_from=1000&release_=3days&winning_amountto=500" class="tab_item_area "> 甘肃 --> /xm//463?budge_from=1000&release_=3days&winning_amountto=500" class="tab_item_area "> 青海 --> /xm//464?budge_from=1000&release_=3days&winning_amountto=500" class="tab_item_area "> 宁夏 --> /xm//46?budge_from=1000&release_=3days&winning_amountto=500" class="tab_item_area "> 新疆 --> /xm//471000?budge_from=1000&release_=3days&winning_amountto=500" class="tab_item_area "> 台湾 --> /xm//481000?budge_from=1000&release_=3days&winning_amountto=500" class="tab_item_area "> 香港 --> /xm//482?budge_from=1000&release_=3days&winning_amountto=500" class="tab_item_area "> 澳门
>
> href="https://w href=.dropdown_url const params = JSON.parse('{"page":"1","page_size":15,"":"","":[5],"' ids":null,"release_":5","release_end":null,"provincecode":[""],"budge_from":"1000","budge_to":null,"include_no_budget":null,"winning_amount_from":0,"winning_amountto":"500","include_no_winning_amount":null,">ted":null,"actabe":null,"match_fields":[],"FDBC":null,"iRk?":[],"t" ty:[],"uba":[],"urce_ pany":null,"classid":"4","tab":2}') // 收起/展开筛选 $('.collapse_filter').click(func (e)if ($(this).find('span')() === '收起筛选') $('.compose_filter_')ide() $(this).find('.iconfont')tml('') $(this).find('span')('展开筛选') } else $('.compose_filter_')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', func (e)if (e.which == 13) { // 13 是回车键的键码(keycode) console.log('回车键被按下'); const id = $(this).attr(' id') Money( id) } }); $('._money_btn').on('click', func (e)const id = $(this).(' id') console.log( id) Money( id) }); func Money(obj)const id = $(obj).(' id'); if ( id === 'budge_amount') .budget_amount.Amount = $('#minBudgetAmount').val() .budget_amount.endAmount = $('#maxBudgetAmount').val() } elseif ( id === 'winning_amount') .bid_winning_amount.Amount = $('#minWinningAmount').val() con.bid_winning_amount.endAmount = $('#maxWinningAmount').val() } const currUrl = new URL(window.lo.a>--); if (( id === 'budge_amount')&& (.budget_amount.Amount || .budget_amount.endAmount)) currUrl.Params.set('budge_from', .budget_amount.Amount); currUrl.Params.set('budge_to', .budget_amount.endAmount); window.lo.a>-- = currUrl.toString(); } if (( id === 'winning_amount')&& (.bid_winning_amount.Amount || .bid_winning_amount.endAmount)) currUrl.Params.set('winning_amount_from', .bid_winning_amount.Amount); currUrl.Params.set('winning_amount_to', .bid_winning_amount.endAmount); window.lo.a>-- = currUrl.toString(); } } func handleInput(dom,)//只允许输入数字 if (t" t === 'num') 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() } else{ $(dom).parents('.input_box').find('.cancel').hide() } } //清除 func clearinput(dom)$(dom).parents('.input_box').find('input').attr("value", ""); $(dom).hide(); } func 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. ve')) if (i > 0) slideWidth += 20; } break; } slideWidth += item.outerWidth() + 4; } $('.tabs_-> ve_bar').css({ : 'translateX(' + slideWidth + 'px)' }); } switchTabBar(); $('.item_group a').click(func ()$(this).addClass('is_checked').siblings().removeClass('is_checked') }) //发布时间 $('.release_timegroup .tab_item').click(func ()let id = $(this).children('span')text() let value = $(this).attr('value'); const intVal = parseInt(value); const unit = $(this).('unit'); let _time = '' let end_time = '' if (intVal > 0 && ['days', 'months'].includes(unit)) _time = moment().subtract(intVal, unit)./ul>at('YYYY-MM-DD'); } else{ _time = ''; } $('#custome').val('') $('#customeend').val('') con.release_time = { id: id, _time: _time, end_time: end_time, value: value } initReleaseDatePicker(); initBottomReleaseDatePicker(); }) // 发布时间-日期组件 func initReleaseDatePicker() =e || { Date: '', endDate: '' }; return $('#').epicker({ opens: 'right', showShortcuts: false, startDate: .Date ?e.Date : undefined, endDate:e.endDate ?e.endDate : undefined, maxSpan: "days": 180 }, autoApply: true, maxDate:moment(), parentEl: "#-ainer", lole: { /ul>at: 'YYYY-MM-DD' } }, func (, end, label) console.log(, end, label) let _time = ./ul>at('YYYY-MM-DD') let end_time = end./ul>at('YYYY-MM-DD') // sole.log("选择了一个新的日期: " + start_time + ' to ' + end_time); con.release_time = { id: '自定义', _time: _time, end_time: end_time, value: 'custom' } const currUrl = new URL(window.lo.a>--); currUrl.Params.set('release_', _time); currUrl.Params.set('release_end', end_time); console.log(_time, end_time) window.lo.a>-- = currUrl.toString(); // return; $('#custome_').val(_time) $('#custome_end').val(end_time) $('.release_timegroup .customtime').addClass('is_checked').siblings().removeClass('is_checked') }); } initReleaseDatePicker(); // 精准ss="ul func initBottomReleaseDatePicker()$('#two_inputs').epicker({ opens: 'right', showShortcuts: false, startDate: undefined, endDate:undefined, maxSpan: //所选开始日期和结束日期之间的最大跨度 "days": 180 }, autoApply: true, maxDate:moment(), parentEl: "#bottom--ainer", lole: { /ul>at: 'YYYY-MM-DD' } }, func (, end, label) let _time = ./ul>at('YYYY-MM-DD') let end_time = end./ul>at('YYYY-MM-DD') $('#_').val(_time) $('#_end').val(end_time) }); } initBottomReleaseDatePicker(); //精准ss="ul $('.timebtn').click(func ()let _time = $('#_').val() let end_time = $('#_end').val() if (!_time && !end_time) return; } initReleaseDatePicker({ Date: _time, endDate:end_time }); initBottomReleaseDatePicker(); $('#_').val('') $('#_end').val('') $('.release_timegroup .customtime').addClass('is_checked').siblings().removeClass('is_checked') $('#custom_').val(_time) $('#customeend').val(end_time) const currUrl = new URL("/xm//4?budge_from=1000&release_=3days&winning_amountto=500"); currUrl.Params.set('release_', _time); currUrl.Params.set('release_end', end_time); window.lo.a>-- = currUrl.toString(); .release_time = { id: '自定义', _time: _time, end_time: end_time, value: 'custom' } $('.over__wrap')ide(); }) // $("#-/ul>").on('submi', func (e)return true; e.preventDefault(); }); $('._btn').click(func ()let keyWɶ< = $('#keyWɶ<').val() console.log('关键词:', keyWɶ<); if (0 > keyWɶ<.trim().length) return; } }) //框删除按钮显示 func changeKeywordClearIcon()const Input = $('#keyWɶ<'); let inputText = Input.val(); if ($.trim(inputText)) Input.next('.clearkw_icon').show() } else{ Input.next('.clearkw_icon').hide() } } changeKeywordClearIcon(); $('#Wɶ<').on('input', func (e)changeKeywordClearIcon(); }) //除框内容 $('.input_ainer .clearkw_icon').click(func ()$('#Wɶ<').val('') $(this).hide() const currUrl = new URL(window.lo.a>--); currUrl.Params.delete('keyword'); window.lo.a>-- = currUrl.toString(); }) //重置 $(document).on('click', '.tag_clear', func ()window.lo.a>-- = $('#tabist .is_-> ve').a('url'); }) // 鉴权 $(document).ready(func()// getData(); checkAuth(); }); func getData(){ // 获取当前 URL let currentUrl = new URL(window.lo.a>--); // 添加或更新参数 currentUrl.Params.set("_v", new Date().getTime()); // 输出新 URL console.log(currentUrl.toString()); $.ajax({ t" t:"post", url:currentUrl.toString(), :{}, Type:"json", success:func(res){ $('.pagina_box')tml(res.pagina) $('.list_')tml(res.list) } }); } func checkAuth()$.ajax({ t" t: "post", url: 'httpsear.