PageSourceSearch

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

js cief.org.cn collected 2026-09-24 21:39:48 UTC 4,210 bytes, 1 lines download raw bytes

1import{_ as V}from"./H7pu5BV8.js";import{_ as I}from"./H0bg0IrG.js";import{_ as j,a as B,b as E}from"./DO89z47O.js";import{u as H}from"./DoyODQHl.js";import{u as _}from"./Cx6pI0a3.js";import{d as N,u as L,c as b,r as M,w as U,P,a,z as x,b as e,f as s,H as f,y as D,W as F,o as n}from"./cl7XfM0u.js";import{_ as S}from"./DlAUqK2U.js";import"./C8R0BvqS.js";import"./Dcdj5DrC.js";const W={class:"activities-page"},$={class:"bg-white sticky top-0 z-40 backdrop-blur-sm bg-white/95"},q={class:"flex max-w-6xl mx-auto items-center justify-between border-b border-gray-200"},A={class:"bg-zinc-100 py-20"},G={class:"cief-container max-w-6xl mx-auto bg-white rounded-xl py-10"},J={key:0,class:"flex flex-col items-center justify-center min-h-[400px]"},K={key:1,class:"flex flex-col items-center justify-center min-h-[400px]"},O={class:"text-center"},Q={class:"text-red-600 text-lg mb-4"},R={key:2,class:"space-y-12"},X={class:"text-center"},Y={class:"text-3xl font-bold text-gray-900 mb-4"},Z=["alt"],ee=["alt"],te=["alt"],se={class:"bg-white text-01"},oe=["innerHTML"],ae={key:0,class:"relative"},ne=["href"],ie=["src","alt"],le=["src","alt"],re={key:3,class:"flex flex-col items-center justify-center min-h-[400px]"},ce=N({__name:"activities",setup(de){const{t:r}=L(),h=b(()=>[{id:"world-chinese",label:r("brand.tabs.world_chinese")},{id:"confucius-day",label:r("brand.tabs.confucius_day")},{id:"short-video",label:r("brand.tabs.short_video")},{id:"cultural-exchange",label:r("brand.tabs.cloud_spring_festival")},{id:"teacher-training",label:r("brand.tabs.teacher_training")}]),m={"world-chinese":16,"confucius-day":17,"short-video":18,"cultural-exchange":19,"teacher-training":27},{content:o,loading:y,error:u,loadCategoryContent:v,retry:w}=H(),c=M("world-chinese");
1U(c,async i=>{const t=m[i];t&&await v(t)},{immediate:!0});const l=_(o,"title"),k=_(o,"content"),C=_(o,"image"),d=b(()=>{if(!o.value)return"";const i=C.value;return i||o.value.imageUrl||""}),p=i=>{const t=i.target;t&&(t.src="/images/one.jpg")};return P({title:"品牌活动 - 中国国际中文教育基金会",meta:[{name:"description",content:"了解孔子学院的品牌活动,包括世界中文大会、全球孔子学院日、文化交流活动和教师培训项目等重要活动。"},{property:"og:title",content:"品牌活动 - 中国国际中文教育基金会"},{property:"og:description",content:"了解孔子学院的品牌活动,包括世界中文大会、全球孔子学院日、文化交流活动和教师培训项目等重要活动。"}]}),(i,t)=>{const z=V,T=I;return n(),a("div",W,[x(z,{"title-image":"/images/brand/phd.png",alt:"品牌活动","background-image":"/images/brand/activities.png"}),e("section",$,[e("div",q,[x(T,{items:h.value,modelValue:c.value,"onUpdate:modelValue":t[0]||(t[0]=g=>c.value=g),class:"flex space-x-8 py-4"},null,8,["items","modelValue"])])]),e("section",A,[e("div",G,[s(y)?(n(),a("div",J,t[2]||(t[2]=[e("div",{class:"animate-spin rounded-full h-12 w-12 border-b-2 border-yellow-600 mb-4"},null,-1),e("p",{class:"text-gray-600"},"加载中...",-1)]))):s(u)?(n(),a("div",K,[e("div",O,[e("p",Q,f(s(u).message),1),e("button",{onClick:t[1]||(t[1]=g=>s(w)(m[c.value])),class:"px-6 py-2 bg-yellow-600 hover:bg-yellow-500 text-white rounded-lg transition-colors"}," 重试 ")])])):s(o)?(n(),a("div",R,[e("div",X,[e("h2",Y,[e("img",{src:j,alt:s(l),class:"inline-block w-[50px] mb-2"},null,8,Z),F(" "+f(s(l))+" ",1),e("img",{src:B,alt:s(l),class:"inline-block w-[50px] mb-2"},null,8,ee)]),e("img",{src:E,alt:s(l),class:"inline-block w-[450px] mb-3"},null,8,te)]),e("div",se,[e("div",{innerHTML:s(k),class:"prose prose-lg max-w-none text-base text-gray-700 leading-relaxed mb-4 whitespace-pre-line"},null,8,oe)]),d.value?(n(),a("div",ae,[s(o).link?(n(),a("a",{key:0,href:s(o).link,target:"_blank",rel:"noopener noreferrer"},[e("img",{src:d.value,alt:s(l),class:"w-full block hover:opacity-90 transition-opacity",onError:p},null,40,ie)],8,ne)):(n(),a("img",{key:1,src:d.value,alt:s(l),class:"w-full block",onError:p},null,40,le))])):D("",!0)])):(n(),a("div",re,t[3]||(t[3]=[e("p",{class:"text-gray-400 text-lg"},"暂无内容",-1)])))])])])}}}),ye=S(ce,[["__scopeId","data-v-c297dc4f"]]);export{ye 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.