2025-12-15 18:27:46 +08:00

2 lines
896 B
JavaScript

"use strict";const e=require("../../../common/vendor.js");if(!Array){e.resolveComponent("qiun-data-charts")()}Math;const t=e.defineComponent({__name:"charts",setup(t){const a=e.ref({}),r=e.ref({rotate:!1,rotateLock:!1,title:!1,subtitle:!1,color:["#507AFC","#F56C6C","#FAC858","#ea7ccc","#73C0DE","#3CA272","#FC8452","#9A60B4"],padding:[5,5,5,5],dataLabel:!0,enableScroll:!1,legend:{show:!0,position:"right",lineHeight:25},extra:{ring:{ringWidth:30,activeOpacity:.5,activeRadius:10,offsetAngle:0,labelWidth:15,border:!1,borderWidth:3,borderColor:"#FFFFFF"}}});return e.onMounted((()=>{setTimeout((()=>{a.value=JSON.parse(JSON.stringify({series:[{data:[{name:"正常缴费",value:50},{name:"预付费用",value:30},{name:"托收",value:20}]}]}))}),500)})),(t,o)=>({a:e.p({type:"ring",opts:r.value,chartData:a.value})})}}),a=e._export_sfc(t,[["__scopeId","data-v-117f8b6b"]]);wx.createComponent(a);