1import{_ as e}from"./default_pic-BD5mNGFJ.js";import{d as t,r as a,o as l,f as s,h as i,l as c,y as r,j as o,p as u,k as v,B as n,m,u as d,a as p,F as _,G as g,n as h,x as f,a6 as I,D as w,E as y,_ as k,e as b}from"./index-PYvdPb2S.js";import{T as L}from"./titleNav-DYIdDPMW.js";import{b as x}from"./culture-oDXsmBm9.js";import"./requests-DBY9LJDp.js";import"./axios-Tes9ALzA.js";const z={class:"card-topic"},j={key:0,class:"card-topic__main"},T=["href"],P={class:"topic-item__content"},M={class:"topic-item__title"},C={class:"topic-item__sub-title"},q=(e=>(w("data-v-737c05aa"),e=e(),y(),e))((()=>c("div",{class:"topic-item_bg"},null,-1))),N={class:"topic_item_box"},R=["onClick"],S=k(t({__name:"swiper-new",props:{swiperImgList:{type:Array,default:()=>[]}},setup(e){const t=d();p();const w=e,y=a(0),k=a(),b=a(!1),L=a(0),x=a(0),S=a(0),Y=a(0),A=e=>{S.value=e.scrollTop},B=e=>{L.value=e.clientY,b.value=!0},D=()=>{L.value=0,x.value=0,Y.value=S.value,b.value=!1},E=()=>{b.value&&D()},F=e=>{b.value&&(x.value=e.clientY-L.value-Y.value,k.value.setScrollTop(-x.value))},G=a(null),H=a(0),U=e=>{var t,a;let l=H.value,s=l/194;H.value||(H.value=null==(t=G.value)?void 0:t.offsetHeight,l=H.value,s=l/194),null==(a=k.value)||a.scrollTo({top:(31*s+8*s)*(e+1)+11*s-l/2,behavior:"smooth"})},$=a(null),J=()=>{clearInterval($.value),$.value=null,$.value=setInterval((()=>{y.value++,y.value>=w.swiperImgList.length&&(y.value=0),U(y.value)}),2e3)},K=e=>{let a;if("41"==e.action.redirectType)a="https://zmtv.cztv.com/cmsh5-share/prod/cztv-hdLive/index.html?pageId="+e.action.redirectId;else{if("27"==e.action.redirectType){return t.resolve({name:"commonPage",query:{pageId:e.action.redirectId}}).href}if("37"==e.action.redirectType)return e.action.redirectUrl;a="https://zmtv.cztv.com/cmsh5-share/prod/cztv-news-tvPlay/index.html?pageId="+e.action.redirectId}return a};return l((()=>{J()})),(t,a)=>(s(),i("div",z,[e.swiperImgList.length>0?(s(),i("div",j,[c("div",{class:"topic_item_main",ref_key:"boxRef",ref:G,style:n([e.swiperImgList[y.value].cover[0].url?"background-image: url("+e.swiperImgList[y.value].cover[0].url+")":""])},[c("a",{class:"relative",href:K(e.swiperImgList[y.value]),target:"_blank"},[c("div",P,[c("div",M,r(e.swiperImgList[y.value].title),1),c("div",C,r(e.swiperImgList[y.value].subtitle),1)]),q],8,T),o(v(I),{class:"topic_item_scroll",ref_key:"scrollbarRef",ref:k,onMousedown:B,onMouseup:D,onMousemove:F,onScroll:A,onMouseleave:E},{default:u((()=>[c("div",N,[(s(!0),i(_,null,g(e.swiperImgList,((e,t)=>(s(),i("div",{class:h(["topic_item",{active:t===y.value}]),onClick:f((e=>(e=>{y.value=e,U(y.value),J()})(t)),["stop"]),key:t,style:n([e.cover[0].url?"background-image: url("+e.cover[0].url+")":""])},null,14,R)))),128))])])),_:1},512)],4)])):m("",!0)]))}}),[["__scopeId","data-v-737c05aa"]]),Y={class:"culture_main"},A={class:"list_box"},B=["href"],D=(e=>(w("data-v-29385627"),e=e(),y(),e))((()=>c("div",{class:"image-slot"},[c("img",{src:e,alt:"1"})],-1))),E={key:0,class:"tag"},F=["src"],G={class:"title"},H={class:"desc"},U=k(t({__name:"cultureNews",setup(e){d();const t=a([]),v=a([]),n=e=>{let t;return t="https://zmtv.cztv.com/cmsh5-share/prod/cztv-news-tvPlay/index.html?pageId="+e.action.redirectId,t};return l((()=>{x().then((e=>{const a=e.data.blocks;t.value=a[0].contents,v.value=a.slice(1,a.length)}));try{countClick(2341456,"www.cztv.com",1,1,11796)}catch(e){}})),(e,a)=>{const l=b("el-image");return s(),i("div",Y,[o(S,{swiperImgList:t.value},null,8,["swiperImgList"]),(s(!0),i(_,null,g(v.value,((e,t)=>(s(),i(_,{key:t},[o(L,{title:e.blockTitle,showMore:!1,target:"_blank"},null,8,["title"]),c("div",A,[(s(!0),i(_,null,g(e.contents,((e,t)=>(s(),i("a",{class:"list_item",key:t,href:n(e),target:"_blank"},[o(l,{class:"cover_img",src:e.cover[0].url},{error:u((()=>[D])),_:2},1032,["src"]),e.tags.classicPic&&e.tags.classicPic.length>0?(s(),i("div",E,[(s(!0),i(_,null,g(e.tags.classicPic,((e,t)=>(s(),i("img",{src:e,alt:"1",class:"tag_icon"},null,8,F)))),256))])):m("",!0),c("div",G,r(e.title),1),c("div",H,r(e.subtitle),1)],8,B)))),128))])],64)))),128))])}}}),[["__scopeId","data-v-29385627"]]);export{U 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.