PageSourceSearch

https://xaams.cn/_nuxt/Pohst-1g.js

js xaams.cn collected 2026-10-07 06:32:07 UTC 4,103 bytes, 1 lines download raw bytes

1import{d as N,t as x,a5 as j,g as B,m as i,D as t,A as a,j as s,b as e,G as w,M as m,I as h,o as r,ag as F,a7 as d,J as M,K as T,F as u,i as V,E as Y,bL as $}from"#entry";import{_ as z,a as g,b as k,c as E,d as P,t as U,e as q}from"./CqzbBOUc.js";import{b as A,_ as G}from"./3m02_sg0.js";import{i as J,_ as K,a as H,b as O,c as Q,d as R}from"./BKdcipbh.js";import{_ as y}from"./c3yLrnvX.js";const W={class:"mx-auto max-w-[1920px] px-4 py-8 md:px-8"},X={class:"flex flex-col gap-[53px] lg:flex-row lg:items-start"},Z=["onClick"],ee={class:"w-full h-[224px] md:w-[204px] md:h-[135px] overflow-hidden"},ae=["src"],te={class:"flex-1 flex flex-col justify-between"},se={class:"text-[#3d55a7] font-bold text-[18px] mb-[10px] group-hover:text-black"},le={class:"line-clamp-2 text-[#808080] text-[14px] mb-[10px]"},oe={class:"flex items-center gap-2 text-[#a6a6a6] text-[16px] pb-[24px] md:pb-0 border-b md:border-0"},ne=["src"],ce={class:"flex flex-col gap-6 mt-[10px]"},_e=N({__name:"index",setup(re){const p=x(null),_=x(1),I=x(2);async function b(){p.value=await $fetch("/api/contents/getContentsList",{query:{page:_.value,pageSize:10,site:1,tags:I.value,status:1,sort:"publish_time",order:"descending"}})}j(async()=>{b()});const D=B(()=>p.value?.data.list??[]),C=o=>{window.open(`/xwgg/notice/${o.ID}`,"_blank")};function S(o){_.value=o,b()}function L(o){switch(console.log(o),o){case 0:console.log("2333"),$("/xwgg/news");break;case 1:console.log("2333"),$("/xwgg/list");break}}return(o,l)=>{const v=F;return r(),i("div",{class:"min-h-screen bg-[#f5f7fb] bg-no-repeat bg-center bg-cover",style:w({backgroundImage:`url(${e(q)})`})},[t("div",W,[a(e(P),{class:"mb-[20px] text-[24px] text-[#666]"},{default:s(()=>[a(e(z),null,{default:s(()=>[a(e(g),null,{default:s(()=>[...l[0]||(l[0]=[t("span",null,"当前位置:",-1)])]),_:1}),a(e(g),null,{default:s(()=>[a(e(y),null,{default:s(()=>[a(v,{href:"/",class:"cursor-pointer"},{default:s(()=>[...l[1]||(l[1]=[d(" 首页 ",-1)])]),_:1})]),_:1})]),_:1}),a(e(k)),a(e(g),null,{default:s(()=>[a(e(y),null,{default:s(()=>[a(v,{href:"/xwgg/news",class:"cursor-pointer"},{default:s(()=>[...l[2]||(l[2]=[d(" 新闻公告 ",-1)])]),_:1})]),_:1})]),_:1}),a(e(k)),a(e(g),null,{default:s(()=>[a(e(E),{class:"text-[#3575FF]"},{default:s(()=>[...l[3]||(l[3]=[d(" 通知公告 ",-1)])]),_:1})]),_:1})]),_:1})]),_:1}),t("div",X,[a(e(G),{title:"新闻公告",items:[{label:"新闻动态"},{label:"通知公告"}],defaultSelected:1,bgImage:e(A),class:"hidden lg:block","onUpdate:selected":L},null,8,["bgImage"]),t("section",{class:"flex-1 bg-white shadow-[0px_0px_14px_0px_rgba(35,95,223,0.3)] rounded-xl pb-[30px] px-[30px] bg-no-repeat bg-top-right",style:w({backgroundImage:`url(${e(U)})`})},[l[4]||(l[4]=t("div",{class:"border-b"},[t("h2",{class:"text-[28px] font-semibold text-[#1c1c1e] py-[30px]"},"通知公告"),t("div",{class:"h-[5px] w-[60px] bg-[#3d55a7]"})],-1)),(r(!0),i(m,null,h(D.value,(n,f)=>(r(),i("div",{class:"mt-[30px] flex flex-col md:flex-row gap-[10px] md:gap-[20px] border-0 md:border-b md:pb-[20px] group",key:f,onClick:c=>C(n)},[M(t("div",ee,[t("img",{src:`https://www.xaams.cn/api/${n.coverImage}`,class:"w-full h-full object-cover transition-transform duration-300 ease-out group-hover:scale-110",alt:""},null,8,ae)],512),[[T,n.coverImage]]),t("div",te,[t("div",null,[t("div",se,u(n.title),1),t("div",le,u(n.content.replace(/<[^>]*>/g,"").replace(/nbsp;/g," ").replace(/&/g," ")),1)]),t("div",oe,[t("img",{src:e(J),class:"w-4 h-4"},null,8,ne),t("span",null,u(o.$moment(n.publishTime).format("YYYY-MM-DD")),1)])])],8,Z))),128)),t("div",ce,[a(e(R),{page:_.value,"items-per-page":p.value?.data.pageSize||10,total:p.value?.data.total||0,"default-page":1,"onUpdate:page":S},{default:s(({page:n})=>[a(e(K),null,{default:s(({items:f})=>[a(e(H)),(r(!0),i(m,null,h(f,c=>(r(),i(m,{key:c.ID},[c.type==="page"?(r(),V(e(O),{key:0,value:c.value,"is-active":c.value===n},{default:s(()=>[d(u(c.value),1)]),_:2},1032,["value","is-active"])):Y("",!0)],64))),128)),a(e(Q))]),_:2},1024)]),_:1},8,["page","items-per-page","total"])])],4)])])],4)}}});export{_e as default};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.