acdr-ui/dist/build/mp-weixin/sheep/components/s-video-block/s-video-block.js

2 lines
550 B
JavaScript
Raw Normal View History

2024-09-19 07:20:14 +08:00
"use strict";const e=require("../../../common/vendor.js"),t=require("../../index.js"),r=require("../../helper/index.js");if(!Array){e.resolveComponent("su-video")()}Math;const s={__name:"s-video-block",props:{data:{type:Object,default(){}},styles:{type:Object,default(){}}},setup:s=>(a,o)=>({a:e.p({uid:e.unref(r.guid)(),src:e.unref(t.sheep).$url.cdn(s.data.videoUrl),poster:e.unref(t.sheep).$url.cdn(s.data.posterUrl),height:2*s.styles.height,autoplay:s.data.autoplay})})},a=e._export_sfc(s,[["__scopeId","data-v-cac0c331"]]);wx.createComponent(a);