PageSourceSearch

https://cief.org.cn/_nuxt/Dba6Mf_L.js

js cief.org.cn collected 2026-10-02 09:55:44 UTC 4,873 bytes, 1 lines download raw bytes

1import{d as y,R as v,M as f,r as m,ak as w,P as b,a as n,y as g,f as s,b as e,z as _,A as k,H as d,_ as D,o as r,W as I}from"./D3L1gIDB.js";import{_ as B}from"./DrupClhV.js";import"./DPhtfMym.js";import{r as C}from"./Ck6mwUdI.js";/* empty css        *//* empty css        */import{_ as M}from"./DlAUqK2U.js";const S={key:0,class:"min-h-screen flex items-center justify-center"},V={key:1,class:"min-h-screen flex items-center justify-center"},N={class:"text-center"},T={key:2,class:"regulation-content"},j={class:"bg-white py-8 lg:py-12"},z={class:"cief-container"},A={class:"max-w-4xl mx-auto"},H={key:0,class:"mb-4"},L={class:"px-3 py-1 bg-primary-100 text-primary-700 text-sm font-medium rounded-full"},P={class:"text-3xl md:text-4xl lg:text-5xl font-bold text-gray-900 mb-6 leading-tight"},Z={class:"flex flex-wrap items-center gap-6 text-gray-500 mb-6"},$={class:"flex items-center space-x-2"},R={class:"flex items-center space-x-2"},E={class:"bg-gray-50"},O={class:"cief-container py-10"},W={class:"grid grid-cols-1 lg:grid-cols-3 gap-8"},q={class:"lg:col-span-3 bg-white"},F={class:"rounded-lg shadow-sm p-10 max-w-4xl mx-auto"},G={class:"prose prose-lg max-w-none"},J=["innerHTML"],K=y({__name:"[id]",setup(Q){const p=v(),x=f(),a=m(null),u=m(!1),i=m(!1);w(async()=>{const o=p.params.id;if(!o){i.value=!0,console.error("规章制度ID缺失");return}try{u.value=!0,i.value=!1,a.value=null;const t=await C.getRegulationDetail(o);a.value={id:t.data.regulationId,regulationId:t.data.regulationId,title:t.data.titleZh,content:t.data.contentZh,summary:t.data.contentZh?t.data.contentZh.substring(0,200)+"...":"",category:t.data.category,author:t.data.createBy,publishDate:t.data.publishTime,viewCount:0,isPublished:t.data.status==="0",slug:`regulation-${t.data.regulationId}`,status:t.data.status,createdAt:t.data.createTime||new Date().toISOString(),updatedAt:t.data.updateTime||new Date().toISOString()}}catch(t){console.error("获取规章制度详情失败:",t),i.value=!0,a.value=null}finally{u.value=!1}});const h=o=>new Date(o).toLocaleDateString("zh-CN",{year:"numeric",month:"long",day:"numeric"});return b(()=>{var o,t,l,c;return{title:a.value?`${a.value.title} - 中国国际中文教育基金会`:"规章制度详情",meta:[{name:"description",content:((o=a.value)==null?void 0:o.summary)||"中国国际中文教育基金会规章制度详情"},{name:"keywords",content:(t=a.value)!=null&&t.category?`规章制度,${a.value.category}`:"规章制度,管理制度"},{property:"og:title",content:((l=a.value)==null?void 0:l.title)||"规章制度详情"},{property:"og:description",content:((c=a.value)==null?void 0:c.summary)||"中国国际中文教育基金会规章制度详情"},{property:"og:type",content:"article"}]}}),(o,t)=>{const l=D,c=B;return r(),n("div",{class:"regulation-detail-page mt-24",key:String(s(p).params.id)},[s(u)?(r(),n("div",S,t[0]||(t[0]=[e("div",{class:"text-center"},[e("div",{class:"loading-spinner mx-auto mb-4"}),e("p",{class:"text-gray-500"},"加载中...")],-1)]))):s(i)?(r(),n("div",V,[e("div",N,[t[2]||(t[2]=e("svg",{class:"w-16 h-16 text-gray-300 mx-auto mb-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},[e("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M9 12h6m-6-4h6m2 5.291A7.962 7.962 0 0112 15c-2.34 0-4.47-.881-6.08-2.33"})],-1)),t[3]||(t[3]=e("h1",{class:"text-2xl font-bold text-gray-900 mb-2"},"规章制度不存在",-1)),t[4]||(t[4]=e("p",{class:"text-gray-500 mb-6"},"抱歉,您访问的规章制度页面不存在或已被删除。",-1)),_(l,{to:s(x)("/info/regulations"),class:"inline-flex items-center px-4 py-2 bg-primary-600 text-white rounded-lg hover:bg-primary-700 transition-colors"},{default:k(()=>t[1]||(t[1]=[I(" 返回规章制度列表 ",-1)])),_:1,__:[1]},8,["to"])])])):s(a)?(r(),n("div",T,[_(c,{title:"规章制度","background-image":"/images/info/banner.png"}),e("header",j,[e("div",z,[e("div",A,[s(a).category?(r(),n("div",H,[e("span",L,d(s(a).category),1)])):g("",!0),e("h1",P,d(s(a).title),1),e("div",Z,[e("div",$,[t[5]||(t[5]=e("svg",{class:"w-5 h-5",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},[e("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M16 7a4 4 0 11-8 0 4 4 0 018 0zM12 14a7 7 0 00-7 7h14a7 7 0 00-7-7z"})],-1)),e("span",null,d(s(a).author),1)]),e("div",R,[t[6]||(t[6]=e("svg",{class:"w-5 h-5",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},[e("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M8 7V3m8 4V3m-9 8h10M5 21h14a2 2 0 002-2V7a2 2 0 00-2-2H5a2 2 0 00-2 2v12a2 2 0 002 2z"})],-1)),e("span",null,d(h(s(a).publishDate)),1)])])])])]),e("main",E,[e("div",O,[e("div",W,[e("article",q,[e("div",F,[e("div",G,[e("div",{innerHTML:s(a).content},null,8,J)])])])])])])])):g("",!0)])}}}),ot=M(K,[["__scopeId","data-v-49c8766e"]]);export{ot 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.