moreShopAdmin/build/admin/assets/index.3069087b.js

2 lines
9.3 KiB
JavaScript
Raw Normal View History

2024-08-11 17:35:29 +08:00
import{U as X,L as tt,w as et,c as st,a as ot}from"./element-plus.ebe4edc1.js";import{_ as at}from"./index.78023731.js";import{g as nt,h as lt}from"./workbench.4aa2ca6d.js";import{h as J}from"./moment.40bc58bf.js";import{B as v}from"./vue-echarts.01ad0ec2.js";import{d as $,Z as D,r as f,i as it,af as ct,o as b,c as w,U as i,L as y,a as t,S as a,u as s,R as _,j as rt,T as pt,a9 as ut,a0 as dt,Q as _t,O as mt,bl as ht,bk as xt}from"./@vue.18505fe0.js";import{d as ft}from"./index.8fdd9038.js";import"./lodash-es.f52bd8b1.js";import"./async-validator.fb49d0f5.js";import"./@vueuse.fbc6a400.js";import"./@element-plus.edbd5a83.js";import"./dayjs.2abc406c.js";import"./axios.9e25675c.js";import"./@ctrl.b082b0c1.js";import"./normalize-wheel-es.8aeb3683.js";import"./@popperjs.36402333.js";import"./resize-detector.4e96b72b.js";import"./echarts.5016c48c.js";import"./zrender.58d022a1.js";import"./tslib.60310f1a.js";import"./lodash.9da25972.js";import"./vue-router.101084e3.js";import"./pinia.a969beab.js";import"./css-color-function.ae040c61.js";import"./color.130f7952.js";import"./clone.4a149bdb.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.e75c9f38.js";import"./vue-clipboard3.cacf014a.js";import"./clipboard.1f8f6543.js";import"./highlight.js.31cd7941.js";import"./@highlightjs.b0c09b66.js";const p=g=>(ht("data-v-a3167f6c"),g=g(),xt(),g),yt={class:"workbench"},gt={class:"flex"},vt={class:"flex-1 h-[270px]"},Dt=p(()=>t("div",{class:"text-2xl"},"\u4ECA\u65E5\u8BA2\u5355\u91D1\u989D",-1)),bt=p(()=>t("span",{class:"text-[12px]"},"\xA5",-1)),wt={class:"text-2xl"},Ct=p(()=>t("div",{class:"w-[1px] bg-[#ccc] mr-4"},null,-1)),Ft={class:"flex-1 flex"},Et={class:"flex-1"},At={class:"text-1xl"},Bt={class:"ml-2 text-[18px]"},kt={class:"text-[12px]"},St={class:"text-info"},Ot=p(()=>t("span",{class:"text-info ml-2"},"\u65E5\u73AF\u6BD4: ",-1)),Lt={class:"text-success"},Nt={class:"text-1xl"},Rt={class:"ml-2 text-[18px]"},Mt={class:"text-[12px]"},Tt={class:"text-info"},It=p(()=>t("span",{class:"text-info ml-2"},"\u6708\u73AF\u6BD4: ",-1)),Yt={class:"text-success"},jt={class:"flex-1"},Vt={class:"text-1xl"},zt={class:"ml-2 text-[18px]"},Jt={class:"text-[12px]"},$t={class:"text-info"},Gt=p(()=>t("span",{class:"text-info ml-2"},"\u65E5\u73AF\u6BD4: ",-1)),Ut={class:"text-success"},Pt={class:"text-1xl"},Wt={class:"ml-2 text-[18px]"},Qt={class:"text-[12px]"},Zt={class:"text-info"},qt=p(()=>t("span",{class:"text-info ml-2"},"\u6708\u73AF\u6BD4: ",-1)),Ht={class:"text-success"},Kt={class:"mb-6 flex justify-between items-center"},Xt=p(()=>t("span",{class:"text-2xl"},"\u4EA4\u6613\u6982\u51B5",-1)),te={class:"flex items-center text-sm"},ee=p(()=>t("span",{class:"mr-4"},"\u65F6\u95F4\u7B5B\u9009: ",-1)),se={class:"flex flex-wrap"},oe={class:"mr-2"},ae={class:"text-info"},ne={class:"text-6xl mr-2"},le={key:0},ie={class:"text-info"},ce=$({name:"statistics_user"}),re=$({...ce,setup(g){const G=[{text:"\u8FD1\u4E00\u5468",value:()=>{const n=new Date,e=new Date;return e.setDate(e.getDate()-7),[e,n]}},{text:"\u672C\u6708",value:()=>{const n=new Date,e=new Date;return e.setDate(1),n.setMonth(n.getMonth()+1),n.setDate(0),[e,n]}},{text:"\u8FD1\u4E00\u6708",value:()=>{const n=new Date,e=new Date;return e.setMonth(e.getMonth()-1),[e,n]}},{text:"\u8FD1\u4E09\u6708",value:()=>{const n=new Date,e=new Date;return e.setMonth(e.getMonth()-3),[e,n]}}],u=D({xAxis:{type:"category",data:[0],axisLabel:{rotate:45,color:"#333"}},yAxis:{type:"value",name:"\u91D1\u989D",position:"left",axisLabel:{formatter:"{value}"}},grid:{left:"3%",right:"4%",bottom:"3%",containLabel:!0},legend:{data:["\u8BBF\u95EE\u91CF"]},itemStyle:{color:"red"},tooltip:{trigger:"axis"},series:[{name:"\u8BBF\u95EE\u91CF",data:[0],type:"line",smooth:!0}]}),C={tooltip:{trigger:"axis",axisPointer:{type:"cross"},formatter:n=>{let e=`<p><b>${n[0].name}\u70B9</b></p>`;return n.forEach(o=>{e+=`<p><span style="display:inline-block;width:8px;height:4px;background-color:${o.color};"></span