2 lines
931 B
JavaScript
2 lines
931 B
JavaScript
import{a as d,f as s,q as c,aE as u,o as l,h as f,j as p,l as m,i as _,bo as v}from"./index.203f4f59.js";import{_ as y}from"./index.4b37ed3f.js";import"./other.d43d2a78.js";const V=d({name:"VideoFlv",components:{LiveVideo:y},props:{id:{type:[String,Number],default:null},screen:{type:Boolean,default:!0},name:{type:String,default:""}},setup(e,{emit:o}){const t=s(()=>e.name),n=s(()=>e.screen);function a(){n.value?o("onScreen",{id:e.id,name:e.name}):o("onClick")}return{pName:t,onScreen:a,isScreen:n}}}),S={class:"w-full h-full relative"};function g(e,o,t,n,a,k){const i=u("LiveVideo");return l(),f("div",S,[e.id?(l(),p(i,{key:e.id,class:"bg-gray-700 bg-opacity-30 w-full h-full",id:e.id},null,8,["id"])):m("",!0),_("div",{class:"absolute left-0 w-full top-0 h-full",onClick:o[0]||(o[0]=v((...r)=>e.onScreen&&e.onScreen(...r),["prevent","stop"]))})])}var C=c(V,[["render",g],["__scopeId","data-v-4e393eda"]]);export{C as default};
|