import{d as x,r as v,a1 as h,k as b,o as a,f as l,n as t,X as f,u as s,c as k,aq as y,ar as w,J as _,t as o,as as z,K as m,b as D,at as Y,_ as L}from"./index-CUMBhq1p.js";const N={class:"hot-video-main"},S={class:"hot-video-content"},B={class:"detail_list"},I={class:"detail_list_content"},V={class:"detail_list_img"},j=["src"],A={class:"detail_list_info"},C={class:"title"},E={class:"detail_intro"},M={class:"text"},H={class:"swiper_box"},P={class:"actors_swiper"},R={class:"actors_box"},U=["src"],q={class:"swiper_box"},F={class:"jz_swiper"},J=x({name:"HotVideoContent",__name:"content",setup(K){const e=v({}),u=v(""),p=async()=>{const i=await Y(Number(c)||7286);i.status==0&&(e.value=i.data.film,u.value=e.value.poster)};let c=-1;return h(()=>{const i=localStorage.getItem("YY_Hot_Video_ID");Number(i)!=c&&(c=Number(i),e.value={},p())}),(i,n)=>{const g=b("el-image");return a(),l("div",N,[t("div",{class:"hot-video-main_bg",style:f({backgroundImage:"url("+s(u)+")",backgroundSize:"cover",backgroundPosition:"center",backgroundRepeat:"no-repeat"})},null,4),t("div",S,[s(e).name?(a(),l(_,{key:1},[t("div",B,[n[0]||(n[0]=t("div",{class:"detail_list_filter"},null,-1)),t("div",I,[t("div",V,[t("img",{src:s(e).poster},null,8,j)]),t("div",A,[t("text",C,o(s(e).name),1),t("text",null,"导演: "+o(s(e).director),1),t("text",null,"评分: "+o(s(e).grade),1),t("text",null,o(s(e).category),1),t("text",null,o(s(e).nation)+" / "+o(s(e).runtime)+"分钟",1),t("text",null,o(s(z)(new Date(s(e).premiereAt*1e3),"YYYY-mm-dd"))+" 上映",1)])])]),t("div",E,[t("div",M,o(s(e).synopsis),1)]),t("div",H,[n[1]||(n[1]=t("div",{class:"detail_title"},"演职人员",-1)),t("div",P,[(a(!0),l(_,null,m(s(e).actors,(r,d)=>(a(),l("div",{class:"actors_list",key:d},[t("div",R,[t("img",{src:r.avatarAddress},null,8,U),t("text",null,o(r.name),1),t("text",null,o(r.role),1)])]))),128))])]),t("div",q,[n[2]||(n[2]=t("div",{class:"jz_title"},"剧照",-1)),t("div",F,[(a(!0),l(_,null,m(s(e).photos,(r,d)=>(a(),l("div",{class:"jz_list",key:d},[D(g,{lazy:"","preview-teleported":"","preview-src-list":s(e).photos,src:r},null,8,["preview-src-list","src"])]))),128))])])],64)):(a(),k(s(w),{key:0,text:"",background:"transparent",spin:s(y).PULSE2},null,8,["spin"]))])])}}}),Z=L(J,[["__scopeId","data-v-8953bd55"]]);export{Z as default};
