import{k as t,bm as e,r as a,D as i,K as o,o as s,n as r,P as d,q as l}from"./vendor.d660e98f.js";/* empty css              *//* empty css              *//* empty css              */import{u as n}from"./useECharts.f4f7e126.js";import"./index.ee676e78.js";var m=t({components:{Card:e},props:{loading:Boolean,width:{type:String,default:"100%"},height:{type:String,default:"400px"}},setup(t){const e=a(null),{setOptions:o}=n(e);return i((()=>t.loading),(()=>{t.loading||o({legend:{bottom:0,data:["Visits","Sales"]},tooltip:{},radar:{radius:"60%",splitNumber:8,indicator:[{text:"2017",max:100},{text:"2017",max:100},{text:"2018",max:100},{text:"2019",max:100},{text:"2020",max:100},{text:"2021",max:100}]},series:[{type:"radar",symbolSize:0,areaStyle:{shadowBlur:0,shadowColor:"rgba(0,0,0,.2)",shadowOffsetX:0,shadowOffsetY:10,opacity:1},data:[{value:[90,50,86,40,50,20],name:"Visits",itemStyle:{color:"#b6a2de"}},{value:[70,75,70,76,20,85],name:"Sales",itemStyle:{color:"#67e0e3"}}]}]})}),{immediate:!0}),{chartRef:e}}});m.render=function(t,e,a,i,n,m){const f=o("Card");return s(),r(f,{title:"销售统计",loading:t.loading},{default:d((()=>[l("div",{ref:"chartRef",style:{width:t.width,height:t.height}},null,4)])),_:1},8,["loading"])};export default m;
