import{C as e,r as s,b as t,P as l,B as i,O as o,Q as a,S as n,H as c,U as r,u,T as p,V as m,N as f,M as x}from"./chunk-BRI0aX6c.js";/* empty css              */import{_ as d}from"./chunk-M9zU1roC.js";import{w as h}from"./souav-I_ihqEhP.js";import"./chunk-Cc8vDyyC.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";const k={key:0,class:"flex h-full w-full flex-col bg-black"},j={class:"grid grid-cols-2 gap-x-2 gap-y-2 px-1 flex-col overflow-y-auto pb-[60px]"},v=e({__name:"WatchRecordView",emits:["clickClose"],setup(e,{expose:v,emit:w}){const _=s("pointer-events-none"),y=s(!1),b=w;s("");const g=()=>{y.value=!1,_.value="pointer-events-none",b("clickClose")},C=h(),V=()=>{C.clearRecords()};return t(()=>{C.loadRecords()}),v({show:()=>{_.value="",y.value=!0},hide:g}),(e,s)=>(f(),l("div",{class:m(["fixed top-[0px] bottom-[56px] z-[11] flex h-full w-full flex-col max-w-[480px]",_.value])},[i(p,{"enter-active-class":"animate__animated animate__slideInLeft","leave-active-class":"animate__animated animate__slideOutLeft",style:{"animation-duration":"0.3s"}},{default:o(()=>[y.value?(f(),l("div",k,[n("div",{class:"w-full flex flex-row items-center justify-between py-3"},[n("i",{class:"ml-1 iconfont icon-close1 text-white px-3 h-full flex items-center justify-center",style:{"font-size":"20px"},onClick:g}),s[1]||(s[1]=n("p",{class:"text-white text-[16px]"},"观看记录",-1)),n("div",{class:"ml-3 mr-3 px-1 h-full flex flex-row items-center justify-center",onClick:V},s[0]||(s[0]=[n("i",{class:"iconfont icon-delete leading-none pb-[1px]",style:{"font-size":"12px"}},null,-1),n("p",{class:"text-white text-[14px]"},"清空",-1)]))]),n("div",j,[(f(!0),l(c,null,r(u(C).records,(e,s)=>(f(),x(d,{model:e,key:s,onClickVideo:g},null,8,["model"]))),128))])])):a("",!0)]),_:1})],2))}});export{v as default};
