moreShopAdmin/build/admin/assets/index.b93efd81.js

2 lines
5.0 KiB
JavaScript
Raw Normal View History

2024-11-04 17:48:45 +08:00
import{L as l}from"./element-plus.2c2b06a1.js";import{H as p}from"./index.3ccf3a31.js";import{B as x}from"./vue-echarts.01ad0ec2.js";import{d as c,Z as _,i as m,o as h,c as f,a as t,U as r,L as s,S as a,u as i}from"./@vue.18505fe0.js";import"./lodash-es.f52bd8b1.js";import"./async-validator.fb49d0f5.js";import"./@vueuse.fbc6a400.js";import"./@element-plus.edbd5a83.js";import"./dayjs.0112e2c7.js";import"./@babel.80d29b7b.js";import"./@ctrl.b082b0c1.js";import"./normalize-wheel-es.8aeb3683.js";import"./@popperjs.36402333.js";import"./lodash.4e6d2a38.js";import"./axios.cffda5ac.js";import"./jspdf.6c61b9d3.js";import"./fflate.0418c72f.js";import"./vue-router.101084e3.js";import"./pinia.a969beab.js";import"./css-color-function.bb8c34b2.js";import"./color.fbd63fe8.js";import"./clone.31a3aa2c.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"./nprogress.b502f541.js";import"./vue-clipboard3.e775fc74.js";import"./clipboard.6417898a.js";import"./echarts.5016c48c.js";import"./zrender.58d022a1.js";import"./tslib.60310f1a.js";import"./highlight.js.31cd7941.js";import"./@highlightjs.b0c09b66.js";import"./resize-detector.4e96b72b.js";const v={class:"workbench"},y={class:"flex box-border"},b=t("div",{class:"card-header flex items-center justify-between"},[t("span",{class:"text-2xl"},"\u9500\u552E\u989D"),t("span",{class:"pt-1 pb-1 pl-2 pr-2 text-sm rounded-md bg-success text-white"},"\u4ECA\u65E5")],-1),E={class:"text-6xl"},w={class:"flex items-center justify-between"},B=t("span",{class:"text-tx-secondary text-xs"},"\u603B\u9500\u552E\u989D:",-1),g={class:"text-tx-secondary text-xs"},F=t("div",{class:"card-header flex items-center justify-between"},[t("span",{class:"text-2xl"},"\u6210\u4EA4\u8BA2\u5355"),t("span",{class:"pt-1 pb-1 pl-2 pr-2 text-sm rounded-md bg-success text-white"},"\u4ECA\u65E5")],-1),A={class:"text-6xl"},C={class:"flex items-center justify-between"},j=t("span",{class:"text-tx-secondary text-xs"},"\u603B\u6210\u4EA4\u8BA2\u5355",-1),D={class:"text-tx-secondary text-xs"},O=t("div",{class:"card-header flex items-center justify-between"},[t("span",{class:"text-2xl"},"\u65B0\u589E\u7528\u6237"),t("span",{class:"pt-1 pb-1 pl-2 pr-2 text-sm rounded-md bg-success text-white"},"\u4ECA\u65E5")],-1),k={class:"text-6xl"},S={class:"flex items-center justify-between"},L=t("span",{class:"text-tx-secondary text-xs"},"\u603B\u65B0\u589E\u7528\u6237",-1),N={class:"text-tx-secondary text-xs"},V=t("div",{class:"card-header flex items-center justify-between"},[t("span",{class:"text-2xl"},"\u65B0\u589E\u8BBF\u95EE\u91CF"),t("span",{class:"pt-1 pb-1 pl-2 pr-2 text-sm rounded-md bg-success text-white"},"\u4ECA\u65E5")],-1),z={class:"text-6xl"},H={class:"flex items-center justify-between"},M=t("span",{class:"text-tx-secondary text-xs"},"\u603B\u65B0\u589E\u8BBF\u95EE\u91CF",-1),P={class:"text-tx-secondary text-xs"},U={class:"flex box-border"},W=t("div",{class:"flex items-center justify-between"},[t("span",null,"\u8BBF\u95EE\u91CF\u8D8B\u52BF\u56FE")],-1),Z=c({name:"workbench"}),At=c({...Z,setup(q){const e=_({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}]}}),u=()=>{p().then(o=>{e.version=o.version,e.today=o.today,e.menu=o.menu,e.visitor=o.visitor,e.support=o.support,e.visitorOption.xAxis.data=[],e.visitorOption.series[0].data=[],o.visitor.date.reverse().forEach(d=>{e.visitorOption.xAxis.data.push(d)}),o.visitor.list[0].data.forEach(d=>{e.visitorOption.series[0].data.push(d)}),console.log(e.visitorOption)}).catch(o=>{console.log("err",o)})};return m(()=>{u()}),(o,d)=>{const n=l;return h(),f("div",v,[t("div",y,[r(n,{class:"flex-1 m-2 !border-none",shadow:"never"},{header:s(()=>[b]),footer:s(()=>[t("div",w,[B,t("span",g,a(i(e).t