import{a as s,S as e,P as t,N as a,A as o}from"./chunk-C68fSiJm.js";import{N as n,f as l,b as i}from"./souav-I_ihqEhP.js";import{N as r}from"./chunk-Cc8vDyyC.js";import{C as c,r as p,b as u,P as d,B as m,O as f,H as h,U as k,M as j,S as x,V as v,R as b,u as w,N as g}from"./chunk-BRI0aX6c.js";import"./chunk-D1JGNTfG.js";import"./chunk-9PZSJnHb.js";import"./chunk-Bf-nSo-6.js";import"./chunk-DwkOxDMO.js";import"./chunk-CMQyd8eO.js";import"./chunk-a7obrEbD.js";import"./chunk-DQhVL27x.js";import"./chunk-cn7T4ICr.js";import"./chunk-Bh3yC0yB.js";import"./chunk-DjdYu-xF.js";import"./chunk-BHPWSuhB.js";/* empty css              */const y={class:"relative mt-3 w-full rounded-[5px] px-2"},_=["onClick"],S={class:"flex items-center justify-center space-x-1 text-white"},V={class:"text-[12px]"},B=i(c({__name:"BannerVodView",props:{list:{}},setup(i){const c=i,B=[t,a,o],C=p(),N=s=>{C.value=s},P=()=>{};return u(()=>{C&&C.value.update()}),(t,a)=>(g(),d("div",y,[m(w(e),{spaceBetween:10,slidesPerView:1,centeredSlides:!0,autoplay:{delay:3e3,disableOnInteraction:!1},pagination:{clickable:!0,dynamicBullets:!1},navigation:!1,loop:!1,modules:B,class:"mySwiper",onSwiper:N,onSlideChange:P},{default:f(()=>[(g(!0),d(h,null,k(c.list,(e,t)=>(g(),j(w(s),{key:t},{default:f(()=>[x("div",{class:"relative w-full pb-5",onClick:s=>{return t=e,void l.openVod(t);var t}},[m(n,{src:e.vod_pic,class:"w-full rounded-[5px] object-cover aspect-video",alt:e.vod_name},null,8,["src","alt"]),a[2]||(a[2]=x("div",{class:"absolute top-1.5 right-1.5 rounded-[3px] bg-green-500 px-1 text-[11px] text-white"},"免费",-1)),x("div",{class:v([5,"absolute bottom-5 w-full h-[30px] rounded-b-[4px] bg-gradient-to-b from-transparent to-black/70 flex flex-row items-center justify-between px-3"])},[a[1]||(a[1]=x("div",null,null,-1)),x("div",S,[a[0]||(a[0]=x("i",{class:"iconfont icon-clock font-semibold",style:{"font-size":"13px"}},null,-1)),x("span",V,b(w(r).formatSeconds(e.duration)),1)])])],8,_)]),_:2},1024))),128))]),_:1})]))}}),[["__scopeId","data-v-b13984c9"]]);export{B as default};
