(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/productConSwiper/index"],{"0e2b":function(t,e,i){"use strict";i.r(e);var n=i("ab7a"),o=i.n(n);for(var r in n)["default"].indexOf(r)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(r);e["default"]=o.a},6508:function(t,e,i){"use strict";i.r(e);var n=i("e28f"),o=i("0e2b");for(var r in o)["default"].indexOf(r)<0&&function(t){i.d(e,t,(function(){return o[t]}))}(r);i("8424");var s=i("828b"),u=Object(s["a"])(o["default"],n["b"],n["c"],!1,null,"60ca5161",null,!1,n["a"],void 0);e["default"]=u.exports},8424:function(t,e,i){"use strict";var n=i("90a58"),o=i.n(n);o.a},"90a58":function(t,e,i){},ab7a:function(t,e,i){"use strict";(function(t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i={props:{currents:{type:Number,default:0},imgUrls:{type:Array,default:function(){return[]}},videoline:{type:String,default:""},showDot:{type:Number,default:1},autoHeight:{type:Number,default:0},sku:{type:String,default:""},showSku:{type:Boolean,default:!1},pageHide:{type:Boolean,default:!1}},data:function(){return{indicatorDots:!1,circular:!0,interval:3e3,duration:500,controls:!0,isPlay:!0,videoContext:"",imgHeight:375}},watch:{currents:function(t){0!=t&&(this.controls=!0)}},mounted:function(){this.videoline&&this.imgUrls.shift(),this.videoContext=t.createVideoContext("myVideo",this)},computed:{dotWidth:function(){var e=t.getWindowInfo().windowWidth;return(2*e-(40+12*(this.imgUrls.length-1)))/this.imgUrls.length},swiperHeight:function(){var e=t.getWindowInfo().windowWidth,i=this;return this.autoHeight?this.videoline?{height:"750rpx"}:(t.getImageInfo({src:this.imgUrls[0],success:function(t){i.imgHeight=t.height*e/t.width}}),{height:"".concat(this.imgHeight,"px")}):{height:"750rpx"}}},methods:{getpreviewImage:function(e){this.showSku?this.$emit("previewImageOpen"):t.previewImage({urls:this.imgUrls,current:this.imgUrls[e]})},videoPause:function(t){},bindPause:function(){this.videoContext.play(),this.$set(this,"controls",!1),this.autoplay=!1},change:function(t){this.$emit("attrPicIndex",t.detail.current),this.showSku&&this.$emit("changeAttrPic",t.detail.current)}}};e.default=i}).call(this,i("df3c")["default"])},e28f:function(t,e,i){"use strict";i.d(e,"b",(function(){return n})),i.d(e,"c",(function(){return o})),i.d(e,"a",(function(){}));var n=function(){var t=this.$createElement,e=(this._self._c,this.__get_style([this.swiperHeight])),i=this.imgUrls.length>1&&this.showDot&&this.controls;this.$mp.data=Object.assign({},{$root:{s0:e,g0:i}})},o=[]}}]);
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
    'components/productConSwiper/index-create-component',
    {
        'components/productConSwiper/index-create-component':(function(module, exports, __webpack_require__){
            __webpack_require__('df3c')['createComponent'](__webpack_require__("6508"))
        })
    },
    [['components/productConSwiper/index-create-component']]
]);
