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.
10 lines
2.5 KiB
10 lines
2.5 KiB
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/productConSwiper/index"],{"1d32":function(t,e,i){"use strict";i.r(e);var n=i("ffe8"),o=i("f7dc");for(var s in o)["default"].indexOf(s)<0&&function(t){i.d(e,t,(function(){return o[t]}))}(s);i("e7e8");var r=i("828b"),u=Object(r["a"])(o["default"],n["b"],n["c"],!1,null,"358a3d41",null,!1,n["a"],void 0);e["default"]=u.exports},9967:function(t,e,i){},e00c:function(t,e,i){"use strict";(function(t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i={props:{imgUrls:{type:Array,default:function(){return[]}},videoline:{type:String,default:""},showDot:{type:Number,default:1},autoHeight:{type:Number,default:0}},data:function(){return{indicatorDots:!1,circular:!0,autoplay:!0,interval:3e3,duration:500,currents:0,controls:!0,isPlay:!0,videoContext:"",imgHeight:375}},mounted:function(){this.videoline&&this.imgUrls.shift(),this.videoContext=t.createVideoContext("myVideo",this)},computed:{dotWidth:function(){var e=t.getSystemInfoSync().windowWidth;return(2*e-(40+12*(this.imgUrls.length-1)))/this.imgUrls.length},swiperHeight:function(){var e=t.getSystemInfoSync().windowWidth,i=this;return t.getImageInfo({src:this.imgUrls[0],success:function(t){i.imgHeight=t.height*e/t.width}}),this.autoHeight?{height:"".concat(this.imgHeight,"px")}:{height:"750rpx"}}},methods:{videoPause:function(t){},bindPause:function(){this.videoContext.play(),this.$set(this,"controls",!1),this.autoplay=!1},change:function(t){this.$set(this,"currents",t.detail.current)}}};e.default=i}).call(this,i("df3c")["default"])},e7e8:function(t,e,i){"use strict";var n=i("9967"),o=i.n(n);o.a},f7dc:function(t,e,i){"use strict";i.r(e);var n=i("e00c"),o=i.n(n);for(var s in n)["default"].indexOf(s)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(s);e["default"]=o.a},ffe8: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.$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__("1d32"))
|
|
})
|
|
},
|
|
[['components/productConSwiper/index-create-component']]
|
|
]);
|
|
|