(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2d229b68"],{df2b:function(t,e,a){"use strict";a.r(e);var i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{class:t.className,style:{height:t.height,width:t.width},attrs:{id:t.id}})},n=[],r=(a("7f7f"),a("313e")),s=a.n(r),C={props:{className:{type:String,default:"chart"},id:{type:String,default:"chart"},width:{type:String,default:"600px"},height:{type:String,default:"350px"},seriesdata:{type:Array,default:function(){return[]}}},data:function(){return{chart:null}},watch:{seriesdata:{handler:function(t,e){this.initChart()},deep:!0}},mounted:function(){this.initChart()},beforeDestroy:function(){this.chart&&(this.chart.dispose(),this.chart=null)},methods:{initChart:function(){var t=this;this.$nextTick((function(){t.chart=s.a.init(document.getElementById(t.id)),t.chart.clear(),t.chart.setOption({color:["#FF9966","#99CC99","#99CCFF","#66CC00","#FF99CC","#66CCFF","#CCCCFF","#FF9966","#FF6666","#CC99CC","#FF9999","#FFCCCC","#66CC66","#66CCCC","#FFCCCC","#FF7373","#33CCCC","#FFB273","#FF9640","#39E639","#717DD7","#35D4A4","#FF9000","#408DD2","#679FD2"],tooltip:{trigger:"item",formatter:function(t){return t.data.name+"<br />数量: "+t.data.value+"<br />金额: "+t.data.price}},series:[{name:"订单种类",type:"pie",radius:"80%",center:["50%","50%"],labelLine:{show:!1},label:{show:!1},data:t.seriesdata}]})}))}}},c=C,h=a("2877"),d=Object(h["a"])(c,i,n,!1,null,null,null);e["default"]=d.exports}}]);