(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/z-swiper/index"],{"395f":function(t,e,i){},"5ed3":function(t,e,i){"use strict";i.r(e);var a=i("7b82"),n=i.n(a);for(var o in a)"default"!==o&&function(t){i.d(e,t,(function(){return a[t]}))}(o);e["default"]=n.a},"5f4a":function(t,e,i){"use strict";var a=i("395f"),n=i.n(a);n.a},"7b82":function(t,e,i){"use strict";(function(t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i={name:"z-swiper",props:{list:{type:Array,default:function(t){return[{type:"video",topTip:"顶部提示",poster:"https://img2.baidu.com/it/u=2141851239,1037607188&fm=26&fmt=auto&gp=0.jpg",src:"https://bjetxgzv.cdn.bspapp.com/VKCEYUGU-uni-app-doc/a876efc0-4f35-11eb-97b7-0dc4655d6e68.mp4",bottomTip:"底部提示"},{type:"image",src:"https://img0.baidu.com/it/u=875130878,1196408569&fm=11&fmt=auto&gp=0.jpg"},{type:"image",src:"https://img2.baidu.com/it/u=293682470,1155349941&fm=26&fmt=auto&gp=0.jpg"},{type:"image",src:"https://img0.baidu.com/it/u=3464142916,229554071&fm=26&fmt=auto&gp=0.jpg"},{type:"video",currentTime:120,poster:"https://img1.baidu.com/it/u=1297253752,1185196455&fm=26&fmt=auto&gp=0.jpg",src:"https://bjetxgzv.cdn.bspapp.com/VKCEYUGU-uni-app-doc/a876efc0-4f35-11eb-97b7-0dc4655d6e68.mp4"},{type:"image",src:"https://img1.baidu.com/it/u=2057763469,3313822915&fm=26&fmt=auto&gp=0.jpg"},{type:"image",src:"https://img0.baidu.com/it/u=1570602913,157918019&fm=26&fmt=auto&gp=0.jpg"}]}},videoKey:{type:String,default:"src"},imageKey:{type:String,default:"src"},indicatorPos:{type:String,default:"bottomCenter"},mode:{type:String,default:"round"},fullScreen:{type:Boolean,default:!1},navHeight:{type:Number,default:44},height:{type:Number,default:160},contentRadius:{type:String,default:"0rpx"},topFloat:{type:Boolean,default:!0},fotterFloat:{type:Boolean,default:!0},effect3d:{type:Boolean,default:!1},effect3dMargin:{type:String,default:"40rpx"},imgMode:{type:String,default:"scaleToFill"},bgColor:{type:String,default:"#f3f4f6"},bgColorItem:{type:String,default:"rgba(0,0,0,0)"},topTextKey:{type:String,default:"topTip"},topColor:{type:String,default:"#FFF"},topBackground:{type:String,default:"rgba(0, 0, 0, 0)"},topTextAlign:{type:String,default:"left"},bottomTextKey:{type:String,default:"bottomTip"},bottomColor:{type:String,default:"#00F"},bottomBackground:{type:String,default:"rgba(0, 0, 0, 0)"},bottomTextAlign:{type:String,default:"left"},skipHiddenItemLayout:{type:Boolean,default:!1},displayMultipleItems:{type:Number,default:1},nextMargin:{type:String,default:"0rpx"},previousMargin:{type:String,default:"0rpx"},vertical:{type:Boolean,default:!1},circular:{type:Boolean,default:!0},duration:{type:Number,default:400},interval:{type:Number,default:2500},current:{type:Number,default:0},autoplay:{type:Boolean,default:!0},indicatorDots:{type:Boolean,default:!1},indicatorColor:{type:String,default:"rgba(0,0,0,0.3)"},indicatorActiveColor:{type:String,default:"#F1F1F1"}},data:function(){return{swiperList:[],videoContent:"",videoPlaySataus:!1,activeCurrent:0,swiperHeight:0,moveX:0}},watch:{height:{handler:function(t){this.swiperHeight=t},immediate:!0},current:{handler:function(t){this.activeCurrent=t},immediate:!0},list:{handler:function(t){this.swiperList=t||[]},immediate:!0},fullScreen:{handler:function(e){var i=this;this.fullScreen?t.getSystemInfo({success:function(t){console.log("e",t),i.swiperHeight=t.screenHeight-i.navHeight,i.swiperHeight=t.screenHeight-i.navHeight-t.statusBarHeight}}):this.swiperHeight=this.height},immediate:!0}},methods:{play:function(t){this.videoPlaySataus=!0},pause:function(){this.videoPlaySataus=!1},timeupdate:function(t){this.$set(this.swiperList[this.activeCurrent],"currentTime",t.detail.currentTime)},clickItem:function(t){this.list.length>0&&this.$emit("clickItem",this.list[t])},change:function(e){try{var i=this.swiperList[this.activeCurrent];"video"===i.type&&t.createVideoContext("video_".concat(this.activeCurrent),this).pause()}catch(e){}this.videoPlaySataus=!1,this.activeCurrent=e.detail.current,this.$emit("change",e)},animationfinish:function(t){this.moveX=0,this.$emit("animationfinish",t)},transition:function(t){}}};e.default=i}).call(this,i("543d")["default"])},b672:function(t,e,i){"use strict";i.r(e);var a=i("e4a1"),n=i("5ed3");for(var o in n)"default"!==o&&function(t){i.d(e,t,(function(){return n[t]}))}(o);i("5f4a");var r,u=i("f0c5"),p=Object(u["a"])(n["default"],a["b"],a["c"],!1,null,"5cd622e1",null,!1,a["a"],r);e["default"]=p.exports},e4a1:function(t,e,i){"use strict";var a;i.d(e,"b",(function(){return n})),i.d(e,"c",(function(){return o})),i.d(e,"a",(function(){return a}));var n=function(){var t=this,e=t.$createElement,i=(t._self._c,t.__map(t.swiperList,(function(e,i){var a=t.__get_orig(e);return"augmented"===t.$scope.data.scopedSlotsCompiler&&(t.$setScopedSlotsParams("top",{row:a,index:i}),t.$setScopedSlotsParams("default",{row:a,index:i}),t.$setScopedSlotsParams("fotter",{row:a,index:i})),{$orig:a}})));t._isMounted||(t.e0=function(e,i){var a=arguments[arguments.length-1].currentTarget.dataset,n=a.eventParams||a["event-params"];i=n.index;t.activeCurrent=i}),t.$mp.data=Object.assign({},{$root:{l0:i}}),"augmented"===t.$scope.data.scopedSlotsCompiler&&t.$setScopedSlotsParams("dot",{list:t.list,total:t.list.length,activeIndex:t.activeCurrent})},o=[]}}]); ;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([ 'components/z-swiper/index-create-component', { 'components/z-swiper/index-create-component':(function(module, exports, __webpack_require__){ __webpack_require__('543d')['createComponent'](__webpack_require__("b672")) }) }, [['components/z-swiper/index-create-component']] ]);