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