PageSourceSearch

https://xaams.cn/_nuxt/DhBQx3Rs.js

js xaams.cn collected 2026-10-07 06:32:25 UTC 3,673 bytes, 1 lines download raw bytes

1import{d as y,t as w,a as k,a5 as $,m as o,D as e,A as a,j as n,b as l,G as _,E as d,F as i,M as I,I as F,o as r,ag as N,a7 as c,$ as j}from"#entry";import{_ as C,a as u,b as m,c as D,d as L,t as M,e as T}from"./CqzbBOUc.js";import{_ as g}from"./c3yLrnvX.js";const V={class:"mx-auto max-w-[1920px] px-4 py-8 md:px-8"},B={class:"flex flex-col lg:flex-row mt-10 items-center gap-[64px]"},S={key:0,class:"w-[302px] h-[212px] mb-10 border"},E=["src"],H={class:"flex-1 text-[#1d1d1f] text-[28px] md:text-[36px] leading-tight text-center font-semibold tracking-tight mb-6"},R={class:"flex flex-wrap justify-center gap-x-6 gap-y-2 text-[14px] text-[#86868b] mb-6"},q={key:0},z={key:0,class:"flex flex-wrap justify-center gap-3 mb-10"},A={key:0,class:"px-4 py-1 rounded-full text-[13px] bg-[#f5f5f7] text-[#1d1d1f]"},G={key:1,class:"px-4 py-1 rounded-full text-[13px] bg-[#f5f5f7] text-[#1d1d1f]"},O=["innerHTML"],J={key:0,class:"mt-[40px] border-t pt-[20px]"},K={class:"space-y-[8px]"},P=["href"],Q=y({__name:"[id]",setup(U){const s=w(null),b=k();async function v(x){const t=await $fetch("/api/contents/findContents",{query:{ID:x}});s.value=t.data}return $(async()=>{v(b.params.id)}),(x,t)=>{const p=N;return r(),o("div",{class:"min-h-screen bg-[#f5f7fb] bg-no-repeat bg-center bg-cover",style:_({backgroundImage:`url(${l(T)})`})},[e("div",V,[a(l(L),{class:"mb-[20px] text-[24px] text-[#666]"},{default:n(()=>[a(l(C),null,{default:n(()=>[a(l(u),null,{default:n(()=>[...t[0]||(t[0]=[e("span",null,"当前位置:",-1)])]),_:1}),a(l(u),null,{default:n(()=>[a(l(g),null,{default:n(()=>[a(p,{href:"/",class:"cursor-pointer"},{default:n(()=>[...t[1]||(t[1]=[c("首页",-1)])]),_:1})]),_:1})]),_:1}),a(l(m)),a(l(u),null,{default:n(()=>[a(l(g),null,{default:n(()=>[a(p,{href:"/kxyj/disciplineDirection",class:"cursor-pointer"},{default:n(()=>[...t[2]||(t[2]=[c("科学研究",-1)])]),_:1})]),_:1})]),_:1}),a(l(m)),a(l(u),null,{default:n(()=>[a(l(D),{class:"text-[#3575FF]"},{default:n(()=>[...t[3]||(t[3]=[c(" 科研成果 ",-1)])]),_:1})]),_:1})]),_:1})]),_:1}),e("section",{class:"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:_({backgroundImage:`url(${l(M)})`})},[t[6]||(t[6]=e("div",{class:"border-b"},[e("h2",{class:"text-[28px] font-semibold text-[#1c1c1e] py-[30px]"}," 科研成果 "),e("div",{class:"h-[5px] w-[60px] bg-[#3d55a7]"})],-1)),e("div",B,[s.value?.coverImage?(r(),o("div",S,[e("img",{src:`https://www.xaams.cn/api/${s.value.coverImage}`,alt:"封面图",class:"w-full h-full object-cover rounded-2xl shadow-sm"},null,8,E)])):d("",!0),e("div",null,[e("div",H,i(s.value?.title),1),e("div",R,[s.value?.author?(r(),o("span",q,"作者 · "+i(s.value.author),1)):d("",!0)]),s.value?.cstr||s.value?.doi?(r(),o("div",z,[s.value?.cstr?(r(),o("div",A," CSTR:"+i(s.value.cstr),1)):d("",!0),s.value?.doi?(r(),o("div",G," DOI:"+i(s.value.doi),1)):d("",!0)])):d("",!0)])]),t[7]||(t[7]=e("div",{class:"w-full h-px bg-[#e5e5e7] mb-10"},null,-1)),e("div",{class:"rich-text text-[#1d1d1f] text-[17px] leading-[1.8] tracking-[0.01em]",innerHTML:s.value?.content},null,8,O),s.value?.attachments?.length?(r(),o("div",J,[t[5]||(t[5]=e("div",{class:"text-[18px] font-semibold text-[#1c1c1e] mb-[12px]"}," 附件下载 ",-1)),e("ul",K,[(r(!0),o(I,null,F(s.value.attachments,(f,h)=>(r(),o("li",{key:h,class:"flex items-center gap-[10px]"},[t[4]||(t[4]=e("span",{class:"text-[#999]"},"📎",-1)),e("a",{href:`https://www.xaams.cn/api/${f.url}`,target:"_blank",class:"text-[#3575FF] hover:underline"},i(f.name),9,P)]))),128))])])):d("",!0)],4)])],4)}}}),Z=j(Q,[["__scopeId","data-v-7f589a8c"]]);export{Z 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.