驭风行PC站
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

1 lines
3.4 KiB

import{f as I,k as a,l as C,c as s,a as e,t as n,u as w,d as r,g as i,F as j,o,_ as F}from"./Ca9y1zsW.js";const T={class:"w-full bg-white pb-20 mb-3 hidden-sm-and-down"},B={class:"text-center flex flex-col items-center py-15 relative"},S={class:"sub-title"},E={class:"text-gray-200 text-5xl font-bold dark:text-gray-700 py-0 line-height-5"},H={class:"text-3xl font-bold tracking-tight text-[#FF6E0CFF] lg:text-5xl"},J={key:0,class:"xl:w-screen-xl m-auto text-xl scale"},L={key:0,class:"carousel py-3 text-center"},M=["poster"],N=["src"],D={class:"vjs-no-js"},q=["href"],z={class:"w-full bg-white pb-20 mb-3 hidden-sm-and-up"},A={class:"text-center flex flex-col items-center py-15 relative"},G={class:"sub-title"},K={class:"text-gray-200 text-6xl font-bold dark:text-gray-700 py-0 line-height-5"},O={class:"text-3xl font-bold tracking-tight text-[#FF6E0CFF] lg:text-5xl"},P={key:0,class:"xl:w-screen-xl m-auto text-xl scale"},Q={key:0,class:"hidden-sm-and-down carousel py-3 text-center"},R=["poster"],U=["src"],W={class:"vjs-no-js"},X=["href"],Y={key:1,class:"hidden-sm-and-up carousel text-center"},Z=["poster"],$=["src"],ee={class:"vjs-no-js"},te=["href"],se=I({__name:"VideoCenter",props:{config:{},list:{},disabled:{type:Boolean},title:{default:"卡片标题"},comments:{default:"卡片描述"},scrollTop:{}},emits:["done"],setup(k,{emit:oe}){const l=k;a(),a();const V=async()=>{},d=a(!1);return C(()=>l.scrollTop,()=>{l.scrollTop>=1500&&(d.value=!0)},{immediate:!0}),V(),(t,ie)=>{var c,h,p,_,u,g,f,v,m,x,b,y;return o(),s(j,null,[e("div",T,[e("div",B,[e("div",S,[e("p",E,n(t.comments),1)]),e("h2",H,n(t.title),1)]),t.config&&w(d)?(o(),s("div",J,[(c=t.config)!=null&&c.IndexVideoCenter?(o(),s("div",L,[e("video",{id:"my-video",class:"video-js vjs-default-skin",controls:"",preload:"auto",width:"900",height:"510",poster:(h=t.config)==null?void 0:h.IndexVideoImg,"data-setup":"{}"},[e("source",{src:(p=t.config)==null?void 0:p.IndexVideoCenter,type:"video/mp4"},null,8,N),e("p",D,[r(" To view this video please enable JavaScript, and consider upgrading to a web browser that "),e("a",{href:(_=t.config)==null?void 0:_.IndexVideoCenter,target:"_blank"},"supports HTML5 video",8,q)])],8,M)])):i("",!0)])):i("",!0)]),e("div",z,[e("div",A,[e("div",G,[e("p",K,n(t.comments),1)]),e("h2",O,n(t.title),1)]),t.config&&w(d)?(o(),s("div",P,[(u=t.config)!=null&&u.IndexVideoCenter?(o(),s("div",Q,[e("video",{id:"my-video",class:"video-js vjs-default-skin",controls:"",preload:"auto",width:"900",height:"510",poster:(g=t.config)==null?void 0:g.IndexVideoImg,"data-setup":"{}"},[e("source",{src:(f=t.config)==null?void 0:f.IndexVideoCenter,type:"video/mp4"},null,8,U),e("p",W,[r(" To view this video please enable JavaScript, and consider upgrading to a web browser that "),e("a",{href:(v=t.config)==null?void 0:v.IndexVideoCenter,target:"_blank"},"supports HTML5 video",8,X)])],8,R)])):i("",!0),(m=t.config)!=null&&m.IndexVideoCenter?(o(),s("div",Y,[e("video",{id:"my-video",class:"video-js vjs-default-skin",controls:"",preload:"auto",width:"350",height:"210",poster:(x=t.config)==null?void 0:x.IndexVideoImg,"data-setup":"{}"},[e("source",{src:(b=t.config)==null?void 0:b.IndexVideoCenter,type:"video/mp4"},null,8,$),e("p",ee,[r(" To view this video please enable JavaScript, and consider upgrading to a web browser that "),e("a",{href:(y=t.config)==null?void 0:y.IndexVideoCenter,target:"_blank"},"supports HTML5 video",8,te)])],8,Z)])):i("",!0)])):i("",!0)])],64)}}}),de=F(se,[["__scopeId","data-v-8d118092"]]);export{de as default};