(window.webpackJsonp=window.webpackJsonp||[]).push([[29],{587:function(t,e,r){t.exports={}},629:function(t,e,r){"use strict";r(587)},715:function(t,e,r){"use strict";r.r(e);r(64);var n={components:{ElImageViewer:r(556).a},props:{data:{type:Array,default:function(){return[]}}},data:function(){return{currentPre:0,showViewer:!1}},computed:{comImg:function(){return this.data.map((function(i){return i.cdn_url}))}},methods:{scroll:function(t){var e=this.$refs.list;e.scrollLeft+=t*e.clientWidth},closeViewer:function(){this.showViewer=!1},handleViwer:function(i){this.currentPre=i,this.showViewer=!0}}},c=(r(629),r(22)),component=Object(c.a)(n,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"wrap flex row"},[e("i",{staticClass:"el-icon-arrow-left",on:{click:function(e){return t.scroll(-1)}}}),t._v(" "),e("div",{ref:"list",staticClass:"list"},t._l(t.data,(function(r,n){return e("el-image",{key:n,staticClass:"image",attrs:{src:r.cdn_url,fit:"cover"},on:{click:function(e){return t.handleViwer(n)}}})})),1),t._v(" "),e("i",{staticClass:"el-icon-arrow-right",on:{click:function(e){return t.scroll(1)}}}),t._v(" "),t.showViewer?e("ElImageViewer",{attrs:{"initial-index":t.currentPre,"on-close":t.closeViewer,"url-list":t.comImg}}):t._e()],1)}),[],!1,null,"d262f43e",null);e.default=component.exports}}]);
//# sourceMappingURL=23bdaaf.js.map