(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["inverter-info~windsitebox"],{"3fbc":function(t,e,i){"use strict";i("99d4")},"99d4":function(t,e,i){},"9a4d":function(t,e,i){"use strict";var n=i("f2bf"),c={key:0,class:"com-list-title"},o={class:"com-list-body"},l=["onClick"];function r(t,e,i,r,s,a){return Object(n["openBlock"])(),Object(n["createElementBlock"])("div",{class:Object(n["normalizeClass"])(["com-list-box",{fill:"fill"==i.height,auto:"auto"==i.height}])},[""!=i.title?(Object(n["openBlock"])(),Object(n["createElementBlock"])("div",c,Object(n["toDisplayString"])(i.title),1)):Object(n["createCommentVNode"])("",!0),Object(n["createElementVNode"])("div",o,[(Object(n["openBlock"])(!0),Object(n["createElementBlock"])(n["Fragment"],null,Object(n["renderList"])(i.list,(function(t,e){return Object(n["openBlock"])(),Object(n["createElementBlock"])("div",{class:Object(n["normalizeClass"])(["con-list-item",t.color+" "+(s.activeIndex==e?"active":"")]),key:e,onClick:function(t){return a.select(e)}},Object(n["toDisplayString"])(t.text),11,l)})),128))])],2)}i("a9e3");var s={name:"List",components:{},props:{title:{type:String,default:""},height:{type:String,default:"fill"},index:{type:Number,default:0},list:{type:Array,default:function(){return[{text:"1#逆变室",color:"blue"},{text:"1#逆变室",color:"blue"},{text:"1#逆变室",color:"red"},{text:"1#逆变室",color:"green"},{text:"1#逆变室",color:"purple"}]}}},emits:{select:null},data:function(){return{activeIndex:0}},methods:{select:function(t){this.activeIndex=t,this.$emit("select",this.list[t])}},beforeCreate:function(){},created:function(){this.activeIndex=this.index},beforeMount:function(){},mounted:function(){"fill"!=this.height&&"auto"!=this.height&&(this.$el.style.height=this.height)},beforeUpdate:function(){},updated:function(){}},a=(i("3fbc"),i("6b0d")),u=i.n(a);const d=u()(s,[["render",r]]);e["a"]=d}}]); //# sourceMappingURL=inverter-info~windsitebox.54930a38.js.map