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.3 KiB

(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/hx-preview-img/hx-preview-img"],{"1d7e":function(t,n,i){"use strict";i.r(n);var r=i("378c"),e=i("fd1f");for(var c in e)"default"!==c&&function(t){i.d(n,t,(function(){return e[t]}))}(c);i("8702");var u,o=i("f0c5"),s=Object(o["a"])(e["default"],r["b"],r["c"],!1,null,"3bd7db24",null,!1,r["a"],u);n["default"]=s.exports},"378c":function(t,n,i){"use strict";var r;i.d(n,"b",(function(){return e})),i.d(n,"c",(function(){return c})),i.d(n,"a",(function(){return r}));var e=function(){var t=this,n=t.$createElement,i=(t._self._c,t.showBox&&t.picList.length>0?Number(t.currentIndex):null);t.$mp.data=Object.assign({},{$root:{m0:i}})},c=[]},8702:function(t,n,i){"use strict";var r=i("f906"),e=i.n(r);e.a},b232:function(t,n,i){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var r={name:"hx-preview-img",props:{current:{type:String,default:""},list:{type:Array,default:function(){return new Array}},start:{type:Number,default:0}},data:function(){return{picList:[],indicatorDots:!1,autoplay:!1,duration:500,circular:!0,currentIndex:0,isShowSwiper:!1,showBox:!1}},watch:{list:function(t){},current:function(t){},start:function(t,n){this.picListInit()}},created:function(){},methods:{clickPic:function(t){this.currentIndex=t,this.isShowSwiper=!0},picListInit:function(){if(this.showBox=!0,this.current&&this.list){for(var t in this.list)if(this.current==this.list[t]){this.currentIndex=t;break}console.log(this.currentIndex),this.picList=this.list}},changeSwiper:function(t){this.currentIndex=t.target.current},mpClear:function(t){t.stopPropagation()},close:function(){this.showBox=!1}}};n.default=r},f906:function(t,n,i){},fd1f:function(t,n,i){"use strict";i.r(n);var r=i("b232"),e=i.n(r);for(var c in r)"default"!==c&&function(t){i.d(n,t,(function(){return r[t]}))}(c);n["default"]=e.a}}]);
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
'components/hx-preview-img/hx-preview-img-create-component',
{
'components/hx-preview-img/hx-preview-img-create-component':(function(module, exports, __webpack_require__){
__webpack_require__('543d')['createComponent'](__webpack_require__("1d7e"))
})
},
[['components/hx-preview-img/hx-preview-img-create-component']]
]);