🏛️ 公考信息监控

所有信息皆从公开渠道获取 📡 RSS 订阅

最后更新:2026-06-30 18:48:31 | 每2小时自动更新

670
📋 总公告
270
国考
223
备考
177
省考
225
公示
174
其他
87
面试
65
公告
54
报名
23
笔试
21
职位
21
招考
全部
🔴 国考 🔵 省考
📢 公告 📋 公示 🎯 招考 🎤 面试 💼 职位
123...34下一页 ›

由 Hermes Agent 自动监控更新 · 2026-06-30 18:48

let _allCards=[],_pgEl=null,_ftEl=null; document.addEventListener('DOMContentLoaded',function(){ _allCards=Array.from(document.querySelectorAll('.card')); _pgEl=document.querySelector('.pg'); _ftEl=document.querySelector('.ft'); const ctn=document.querySelector('.ctn'); const sb=document.createElement('div');sb.id='search-box';sb.style.display='none'; const info=document.createElement('div');info.id='search-info';info.style.cssText='color:var(--tm);font-size:13px;margin:8px 0;display:none'; const clr=document.createElement('button');clr.id='search-clear';clr.textContent='✕ 清除搜索';clr.style.cssText='display:none;background:var(--card);border:1px solid var(--bd);color:var(--ac);padding:6px 14px;border-radius:6px;font-size:13px;cursor:pointer;margin-bottom:12px'; clr.onclick=function(){document.getElementById('search').value='';filterCards()}; sb.appendChild(info);sb.appendChild(clr); ctn.insertBefore(sb,_pgEl); }); function highlight(t,q){ if(!q)return t; const esc=t.replace(/&/g,'&').replace(//g,'>'); const safe=q.replace(/[-\/\\^$*+?.()|[\]{}]/g,'\\$&'); return esc.replace(new RegExp(safe,'gi'),'$&'); } function filterCards(){ const q=document.getElementById('search').value.trim().toLowerCase(); const sb=document.getElementById('search-box'); const info=document.getElementById('search-info'); const clr=document.getElementById('search-clear'); if(!q){ _allCards.forEach(c=>{c.classList.remove('hide');c.querySelector('.ct').innerHTML=c.dataset.title||c.querySelector('.ct').textContent}); if(_pgEl)_pgEl.style.display='';if(_ftEl)_ftEl.style.display=''; if(sb)sb.style.display='none';if(info)info.style.display='none';if(clr)clr.style.display='none'; return; } if(_pgEl)_pgEl.style.display='none';if(_ftEl)_ftEl.style.display='none'; if(sb)sb.style.display='';if(info)info.style.display='block';if(clr)clr.style.display='inline-block'; let n=0; _allCards.forEach(c=>{ const ti=(c.dataset.title||c.querySelector('.ct').textContent).toLowerCase(); const co=(c.dataset.content||'').toLowerCase(); const m=ti.includes(q)||co.includes(q); c.classList.toggle('hide',!m); if(m){n++;c.querySelector('.ct').innerHTML=highlight(c.dataset.title||c.querySelector('.ct').textContent,q)} }); info.textContent='找到 '+n+' 条相关结果'; if(sb){sb.innerHTML='';sb.appendChild(info);sb.appendChild(clr);_allCards.filter(c=>!c.classList.contains('hide')).forEach(c=>sb.appendChild(c))} } function setF(el,f){document.querySelectorAll('.fb a').forEach(b=>b.classList.remove('on'));el.classList.add('on');return false}