Index2-0d468c48.js 6.3 KB

1
  1. import{_ as S,__tla as U}from"./Echart-a36762ce.js";import{d as q,h as C,r as F,e as p,o as M,c as T,f as a,w as s,a as e,g as t,T as n,t as f,F as Q,V as R,j as V,E as X,i as B,s as _,_ as G,__tla as J}from"./index-8dc1e40a.js";import{E as K,__tla as L}from"./el-card-18df90f0.js";import{E as N,__tla as W}from"./el-skeleton-item-60dc9fb3.js";import{_ as Y,__tla as Z}from"./CountTo-1e1877a3.js";import{p as aa,b as ea,l as sa,__tla as ta}from"./echarts-data-07e8c1b9.js";let z,la=Promise.all([(()=>{try{return U}catch{}})(),(()=>{try{return J}catch{}})(),(()=>{try{return L}catch{}})(),(()=>{try{return W}catch{}})(),(()=>{try{return Z}catch{}})(),(()=>{try{return ta}catch{}})()]).then(async()=>{let w,$,j,k;w={class:"flex flex-col justify-between"},$={class:"flex flex-col justify-between"},j={class:"flex flex-col justify-between"},k={class:"flex flex-col justify-between"},z=G(q({name:"Home2",__name:"Index2",setup(na){const{t:m}=C(),d=F(!0),{getPrefixCls:I}=R(),l=I("panel"),g=p(aa);let A=p({users:0,messages:0,moneys:0,shoppings:0});const D=async()=>{A=Object.assign(A,{users:102400,messages:81212,moneys:9280,shoppings:13600})},H=async()=>{const o=[{value:335,name:"analysis.directAccess"},{value:310,name:"analysis.mailMarketing"},{value:234,name:"analysis.allianceAdvertising"},{value:135,name:"analysis.videoAdvertising"},{value:1548,name:"analysis.searchEngines"}];_(g,"legend.data",o.map(i=>m(i.name))),_(g,"series.data",o)},v=p(ea),O=async()=>{const o=[{value:13253,name:"analysis.monday"},{value:34235,name:"analysis.tuesday"},{value:26321,name:"analysis.wednesday"},{value:12340,name:"analysis.thursday"},{value:24643,name:"analysis.friday"},{value:1322,name:"analysis.saturday"},{value:1324,name:"analysis.sunday"}];_(v,"xAxis.data",o.map(i=>m(i.name))),_(v,"series",[{name:m("analysis.activeQuantity"),data:o.map(i=>i.value),type:"bar"}])},h=p(sa),P=async()=>{const o=[{estimate:100,actual:120,name:"analysis.january"},{estimate:120,actual:82,name:"analysis.february"},{estimate:161,actual:91,name:"analysis.march"},{estimate:134,actual:154,name:"analysis.april"},{estimate:105,actual:162,name:"analysis.may"},{estimate:160,actual:140,name:"analysis.june"},{estimate:165,actual:145,name:"analysis.july"},{estimate:114,actual:250,name:"analysis.august"},{estimate:163,actual:134,name:"analysis.september"},{estimate:185,actual:56,name:"analysis.october"},{estimate:118,actual:99,name:"analysis.november"},{estimate:123,actual:123,name:"analysis.december"}];_(h,"xAxis.data",o.map(i=>m(i.name))),_(h,"series",[{name:m("analysis.estimate"),smooth:!0,type:"line",data:o.map(i=>i.estimate),animationDuration:2800,animationEasing:"cubicInOut"},{name:m("analysis.actual"),smooth:!0,type:"line",itemStyle:{},data:o.map(i=>i.actual),animationDuration:2800,animationEasing:"quadraticOut"}])};return(async()=>(await Promise.all([D(),H(),O(),P()]),d.value=!1))(),(o,i)=>{const x=V,y=Y,u=N,r=K,c=X,E=B,b=S;return M(),T(Q,null,[a(E,{class:n(e(l)),gutter:20,justify:"space-between"},{default:s(()=>[a(c,{lg:6,md:12,sm:12,xl:6,xs:24},{default:s(()=>[a(r,{class:"mb-20px",shadow:"hover"},{default:s(()=>[a(u,{loading:e(d),rows:2,animated:""},{default:s(()=>[t("div",{class:n(`${e(l)}__item flex justify-between`)},[t("div",null,[t("div",{class:n(`${e(l)}__item--icon ${e(l)}__item--peoples p-16px inline-block rounded-6px`)},[a(x,{size:40,icon:"svg-icon:peoples"})],2)]),t("div",w,[t("div",{class:n(`${e(l)}__item--text text-16px text-gray-500 text-right`)},f(e(m)("analysis.newUser")),3),a(y,{duration:2600,"end-val":102400,"start-val":0,class:"text-right text-20px font-700"})])],2)]),_:1},8,["loading"])]),_:1})]),_:1}),a(c,{lg:6,md:12,sm:12,xl:6,xs:24},{default:s(()=>[a(r,{class:"mb-20px",shadow:"hover"},{default:s(()=>[a(u,{loading:e(d),rows:2,animated:""},{default:s(()=>[t("div",{class:n(`${e(l)}__item flex justify-between`)},[t("div",null,[t("div",{class:n(`${e(l)}__item--icon ${e(l)}__item--message p-16px inline-block rounded-6px`)},[a(x,{size:40,icon:"svg-icon:message"})],2)]),t("div",$,[t("div",{class:n(`${e(l)}__item--text text-16px text-gray-500 text-right`)},f(e(m)("analysis.unreadInformation")),3),a(y,{duration:2600,"end-val":81212,"start-val":0,class:"text-right text-20px font-700"})])],2)]),_:1},8,["loading"])]),_:1})]),_:1}),a(c,{lg:6,md:12,sm:12,xl:6,xs:24},{default:s(()=>[a(r,{class:"mb-20px",shadow:"hover"},{default:s(()=>[a(u,{loading:e(d),rows:2,animated:""},{default:s(()=>[t("div",{class:n(`${e(l)}__item flex justify-between`)},[t("div",null,[t("div",{class:n(`${e(l)}__item--icon ${e(l)}__item--money p-16px inline-block rounded-6px`)},[a(x,{size:40,icon:"svg-icon:money"})],2)]),t("div",j,[t("div",{class:n(`${e(l)}__item--text text-16px text-gray-500 text-right`)},f(e(m)("analysis.transactionAmount")),3),a(y,{duration:2600,"end-val":9280,"start-val":0,class:"text-right text-20px font-700"})])],2)]),_:1},8,["loading"])]),_:1})]),_:1}),a(c,{lg:6,md:12,sm:12,xl:6,xs:24},{default:s(()=>[a(r,{class:"mb-20px",shadow:"hover"},{default:s(()=>[a(u,{loading:e(d),rows:2,animated:""},{default:s(()=>[t("div",{class:n(`${e(l)}__item flex justify-between`)},[t("div",null,[t("div",{class:n(`${e(l)}__item--icon ${e(l)}__item--shopping p-16px inline-block rounded-6px`)},[a(x,{size:40,icon:"svg-icon:shopping"})],2)]),t("div",k,[t("div",{class:n(`${e(l)}__item--text text-16px text-gray-500 text-right`)},f(e(m)("analysis.totalShopping")),3),a(y,{duration:2600,"end-val":13600,"start-val":0,class:"text-right text-20px font-700"})])],2)]),_:1},8,["loading"])]),_:1})]),_:1})]),_:1},8,["class"]),a(E,{gutter:20,justify:"space-between"},{default:s(()=>[a(c,{lg:10,md:24,sm:24,xl:10,xs:24},{default:s(()=>[a(r,{class:"mb-20px",shadow:"hover"},{default:s(()=>[a(u,{loading:e(d),animated:""},{default:s(()=>[a(b,{height:300,options:e(g)},null,8,["options"])]),_:1},8,["loading"])]),_:1})]),_:1}),a(c,{lg:14,md:24,sm:24,xl:14,xs:24},{default:s(()=>[a(r,{class:"mb-20px",shadow:"hover"},{default:s(()=>[a(u,{loading:e(d),animated:""},{default:s(()=>[a(b,{height:300,options:e(v)},null,8,["options"])]),_:1},8,["loading"])]),_:1})]),_:1}),a(c,{span:24},{default:s(()=>[a(r,{class:"mb-20px",shadow:"hover"},{default:s(()=>[a(u,{loading:e(d),rows:4,animated:""},{default:s(()=>[a(b,{height:350,options:e(h)},null,8,["options"])]),_:1},8,["loading"])]),_:1})]),_:1})]),_:1})],64)}}}),[["__scopeId","data-v-3c1fb52a"],["__file","/Users/RuHu.Xu/Desktop/mall-newfeifan-zx-admin/src/views/Home/Index2.vue"]])});export{la as __tla,z as default};