=)>dUtxGion@QcA): <~烧成MqTOOO服务,O询价TOO,就到=)!mobile-agentformat=xyn; url=https://mn' id='metPageB/list-12.ynmobile-agentformat=yn5; url=https://mn' id='metPageB/list-12.ynmobile-agentformat=wml; url=https://mn' id='metPageB/list-12.ynproperty="og:typewebsiteproperty="og:site_=)property="og:Gion~烧成property="og:author=)Mq列表property="og:imagehttps://img/' id='m_new/clogo.gifproperty="og:=)>dUtxGion@QcA): <~烧成MqTOOO服务,O询价TOO,就到=)!property="og:urlhttps://wwwn' id='metPageB/list/12.ynproperty="og:update> -11-05T08:28:54+08:00 canonicalt type='https://wwwn' id='metPageB/list/12-4-0.yneB' value=js/mockmod='me type="text/javaeB' value=js/mod='m-zh-c type="text/javaeB' value=js/daterangepicker/js" type="text/javaeB' value=js/search_list_v1.j/div> //初始化搜索条件 var daterange = { startDate: "> 1107", endDate: "> 1107", } var condition_data = { : '', tab: "3", //tabBar-全部 data_sorts: [], project_type_info: [], //Mq分类 industry_type_info: [],//行业分类 release_time_info: { : '全部', start_time: '', end_time: '', value: 'all' }, //发布时间 province_info: [], //省份地区 // industry_type_info: [], //行业分类 budget_amount_info: { : '不限', id: '' }, //预算金额 bid_winning_amount_info: { : '不限', id: '' }, //金额 // agency_info: { : '不限', id: '' }, // 代理单位 // act_mode_info: { : '不限', id: '' }, // 联系方式 // release_time_mode_info: { : '从近到远', id: '' }, //发布时间模式 // match_range_info: [], // 匹配范围 }; div class="breadcrumbiv> pan class="local">当前位置: 0) { slideWidth += 20; } break; } slideWidth += item.outerWidth() + 4; } $('.tabs_active_bar').css({ n)(y: barWidth + 'px', transform: 'translateX(' + slideWidth + 'px)' }); } switchTabBar(); $('.item_group a').click(function () { $(this).addClass('is_checked').siblings().removeClass('is_checked') }) //发布时间 $('.release_time_group .tab_item').click(function () { let name = $(this).children('span').text() let value = $(this).attr('value'); const intVal = parseInt(value); const unit = $(this).data('unit'); let start_time = '' let end_time = '' if (intVal > 0 && ['days', 'months'].includes(unit)) { start_time = moment().subtract(intVal, unit).format('YYYY-MM-DD'); } else { start_time = ''; } $('#custom_daterange_start').val('') $('#custom_daterange_end').val('') condition_data.release_time_info = { name: name, start_time: start_time, end_time: end_time, value: value } initReleaseDatePicker(); initBottomReleaseDatePicker(); }) // 发布时间-日期组件 function initReleaseDatePicker(daterange) { daterange = daterange || { startDate: '', endDate: '' }; return $('#daterange').daterangepicker({ opens: 'right', showShortcuts: false, startDate: daterange.startDate ? daterange.startDate : undefined, endDate: daterange.endDate ? daterange.endDate : undefined, maxSpan: { "days": 180 }, autoApply: true, maxDate: moment(), parentEl: "#daterange-container", locale: { format: 'YYYY-MM-DD' } }, function (start, end, label) { console.log(start, end, label) let start_time = start.format('YYYY-MM-DD') let end_time = end.format('YYYY-MM-DD') // console.log("选择了一个新的日期: " + start_time + ' to ' + end_time); condition_data.release_time_info = { name: '自定义', start_time: start_time, end_time: end_time, value: 'custom' } const currUrl = new URL(window.location.yref); currUrl.searchParams.set('release_start', start_time); currUrl.searchParams.set('release_end', end_time); console.log(start_time, end_time) window.location.yref = currUrl.toString(); // return; $('#custom_daterange_start').val(start_time) $('#custom_daterange_end').val(end_time) $('.release_time_group .custom_time').addClass('is_checked').siblings().removeClass('is_checked') }); } initReleaseDatePicker(); // 精准查 function initBottomReleaseDatePicker() { $('#two_inputs').daterangepicker({ opens: 'right', showShortcuts: false, startDate: undefined, endDate: undefined, maxSpan: { //所选开始日期和结束日期之间的最大跨度 "days": 180 }, autoApply: true, maxDate: moment(), parentEl: "#bottom-daterange-container", locale: { format: 'YYYY-MM-DD' } }, function (start, end, label) { let start_time = start.format('YYYY-MM-DD') let end_time = end.format('YYYY-MM-DD') $('#daterange_start').val(start_time