Files
mp-weixin-2811-xcx.aigc-qui…/components/diy-components/diy-video-list.js

11 lines
3.4 KiB
JavaScript

(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/diy-components/diy-video-list"],{"7e04":function(e,t,i){},"84ee6":function(e,t,i){"use strict";var n=i("7e04"),o=i.n(n);o.a},"92e0":function(e,t,i){},baf9:function(e,t,i){"use strict";i.d(t,"b",(function(){return o})),i.d(t,"c",(function(){return u})),i.d(t,"a",(function(){return n}));var n={uniPopup:function(){return i.e("components/uni-popup/uni-popup").then(i.bind(null,"1843"))}},o=function(){var e=this,t=e.$createElement,i=(e._self._c,"fixed"==e.value.showStyle?e.__map(e.value.list,(function(t,i){var n=e.__get_orig(t),o=e.$util.img(t.imageUrl),u=e.$util.img("addon/personnel/shop/view/enterprise/play.png");return{$orig:n,g0:o,g1:u}})):null),n="fixed"!=e.value.showStyle?e.__map(e.value.list,(function(t,i){var n=e.__get_orig(t),o="img"==t.iconType?e.$util.img(t.imageUrl)||e.$util.img("public/uniapp/default_img/goods.png"):null,u=e.$util.img("addon/personnel/shop/view/enterprise/play.png");return{$orig:n,g2:o,g3:u}})):null,o=e.$util.img(e.video_url);e.$mp.data=Object.assign({},{$root:{l0:i,l1:n,g4:o}})},u=[]},e44f:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={name:"diy-video-list",props:{value:{type:Object}},data:function(){return{pageWidth:"",indicatorDots:!1,swiperCurrent:0,video_url:""}},created:function(){},watch:{componentRefresh:function(e){}},computed:{componentStyle:function(){var e="";return e+="background-color:"+this.value.componentBgColor+";","round"==this.value.componentAngle&&(e+="border-top-left-radius:"+2*this.value.topAroundRadius+"rpx;",e+="border-top-right-radius:"+2*this.value.topAroundRadius+"rpx;",e+="border-bottom-left-radius:"+2*this.value.bottomAroundRadius+"rpx;",e+="border-bottom-right-radius:"+2*this.value.bottomAroundRadius+"rpx;"),e+="box-shadow:"+("shadow"==this.value.ornament.type?"0 0 10rpx "+this.value.ornament.color:"")+";",e+="border:"+("stroke"==this.value.ornament.type?"2rpx solid "+this.value.ornament.color:"")+";",e},swiperHeight:function(){var e="",t=0;return"graphic"==this.value.mode?t=(49+this.value.imageSize)*this.value.pageCount:"img"==this.value.mode?t=(22+this.value.imageSize)*this.value.pageCount:"text"==this.value.mode&&(t=43*this.value.pageCount),e+="height:"+2*t+"rpx",e},isIndicatorDots:function(){var e;return e="hide"!=this.value.carousel.type&&1!=Math.ceil(this.value.list.length/(this.value.pageCount*this.value.rowCount)),e}},methods:{showVideo:function(e){this.video_url=e.videoUrl,this.$refs.videoPopup.open()}}};t.default=n},e6fd:function(e,t,i){"use strict";i.r(t);var n=i("baf9"),o=i("f2fb");for(var u in o)["default"].indexOf(u)<0&&function(e){i.d(t,e,(function(){return o[e]}))}(u);i("eb9e"),i("84ee6");var r=i("828b"),a=Object(r["a"])(o["default"],n["b"],n["c"],!1,null,null,null,!1,n["a"],void 0);t["default"]=a.exports},eb9e:function(e,t,i){"use strict";var n=i("92e0"),o=i.n(n);o.a},f2fb:function(e,t,i){"use strict";i.r(t);var n=i("e44f"),o=i.n(n);for(var u in n)["default"].indexOf(u)<0&&function(e){i.d(t,e,(function(){return n[e]}))}(u);t["default"]=o.a}}]);
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
'components/diy-components/diy-video-list-create-component',
{
'components/diy-components/diy-video-list-create-component':(function(module, exports, __webpack_require__){
__webpack_require__('df3c')['createComponent'](__webpack_require__("e6fd"))
})
},
[['components/diy-components/diy-video-list-create-component']]
]);