2024-05-30 16:04:01 +08:00
|
|
|
import{U as f,_ as F}from"./index.0c8416f0.js";import{w,T as y}from"./element-plus.681b9893.js";import{B as g}from"./vue-echarts.01ad0ec2.js";import{d as m,Z as B,i as E,af as b,o as c,c as u,a as t,U as n,L as i,S as e,u as o,R as p,T as A,a9 as k}from"./@vue.18505fe0.js";import"./@vueuse.fbc6a400.js";import"./lodash.466e9fe4.js";import"./@babel.16688d44.js";import"./axios.4905d81f.js";import"./jspdf.54afd842.js";import"./fflate.fca59393.js";import"./vue-router.101084e3.js";import"./pinia.a969beab.js";import"./css-color-function.29b71fa4.js";import"./color.87d313dc.js";import"./clone.a63396d9.js";import"./color-convert.755d189f.js";import"./color-name.e7a4e1d3.js";import"./color-string.e356f5de.js";import"./balanced-match.d2a36341.js";import"./ms.564e106c.js";import"./@element-plus.edbd5a83.js";import"./vue-plugin-hiprint.a2d84e76.js";import"./jquery.c3f97e49.js";import"./jsbarcode.39151b53.js";import"./socket.io-client.0b5a7289.js";import"./engine.io-client.81030771.js";import"./engine.io-parser.c748e159.js";import"./@socket.io.77accf6a.js";import"./debug.b392f131.js";import"./socket.io-parser.b7256298.js";import"./html2canvas.0f5947bc.js";import"./canvg.a673c4b2.js";import"./core-js.97b94d69.js";import"./raf.407ad6ad.js";import"./performance-now.a710f6e4.js";import"./rgbcolor.20c71161.js";import"./svg-pathdata.eba17832.js";import"./stackblur-canvas.0fb5df18.js";import"./nprogress.3461658b.js";import"./vue-clipboard3.c63182fd.js";import"./clipboard.dd2c63d0.js";import"./echarts.5016c48c.js";import"./zrender.58d022a1.js";import"./tslib.60310f1a.js";import"./highlight.js.31cd7941.js";import"./@highlightjs.b0c09b66.js";import"./lodash-es.bdeecbdb.js";import"./async-validator.fb49d0f5.js";import"./dayjs.a6528143.js";import"./@ctrl.b082b0c1.js";import"./normalize-wheel-es.8aeb3683.js";import"./@popperjs.36402333.js";import"./resize-detector.4e96b72b.js";const C={class:"workbench"},D={class:"lg:flex"},O=t("span",{class:"card-title"},"\u7248\u672C\u4FE1\u606F",-1),z={class:"flex leading-9"},N=t("div",{class:"w-20"},"\u5E73\u53F0\u540D\u79F0",-1),S={class:"flex leading-9"},T=t("div",{class:"w-20"},"\u5F53\u524D\u7248\u672C",-1),V={class:"flex leading-9"},L=t("div",{class:"w-20"},"\u83B7\u53D6\u6E20\u9053",-1),U=["href"],G=["href"],M=t("span",{class:"card-title"},"\u4ECA\u65E5\u6570\u636E",-1),R={class:"text-tx-secondary text-xs ml-4"},W={class:"flex flex-wrap"},Z={class:"w-1/2 md:w-1/4"},j=t("div",{class:"leading-10"},"\u9500\u552E\u989D",-1),q={class:"text-6xl"},H={class:"text-tx-secondary text-xs"},I={class:"w-1/2 md:w-1/4"},J=t("div",{class:"leading-10"},"\u6210\u4EA4\u8BA2\u5355",-1),K={class:"text-6xl"},P={class:"text-tx-secondary text-xs"},Q={class:"w-1/2 md:w-1/4"},X=t("div",{class:"leading-10"},"\u65B0\u589E\u7528\u6237",-1),Y={class:"text-6xl"},$={class:"text-tx-secondary text-xs"},tt={class:"w-1/2 md:w-1/4"},st=t("div",{class:"leading-10"},"\u65B0\u589E\u8BBF\u95EE\u91CF",-1),ot={class:"text-6xl"},et={class:"text-tx-secondary text-xs"},it={class:"function mb-4"},at=t("span",null,"\u5E38\u7528\u529F\u80FD",-1),nt={class:"flex flex-wrap"},rt={class:"mt-2"},dt={class:"md:flex"},lt=t("span",null,"\u8BBF\u95EE\u91CF\u8D8B\u52BF\u56FE",-1),ct=m({name:"workbench"}),us=m({...ct,setup(ut){const s=B({version:{version:"",website:"",based:"",channel:{gitee:"",website:""}},support:[],today:{},menu:[],visitor:[],article:[],visitorOption:{xAxis:{type:"category",data:[0]},yAxis:{type:"value"},legend:{data:["\u8BBF\u95EE\u91CF"]},itemStyle:{color:"red"},tooltip:{trigger:"axis"},series:[{name:"\u8BBF\u95EE\u91CF",data:[0],type:"line",smooth:!0}]}}),h=()=>{f().then(a=>{s.version=a.version,s.today=a.today,s.menu=a.menu,s.visitor=a.visitor,s.support=a.support,s.visitorOption.xAxis.data=[],s.visitorOption.series[0].data=[],a.visitor.date.reverse().forEach(d=>{s.visitorOption.xAxis.data.push(d)}),a.visitor.list[0].data.forEach(d=>{s.visitorOption.series[0].data.push(d)})}).catch(a=>{console.log("err",a)})};return E(()=>{h()}),(a,d)=>{const _=w,l=y,v=F,x=b("router-link");return c(),u("div",C,[t("div",D,[n(l,{class:"!border-none mb-4 lg:mr-
|