/* empty css             */import"./el-tooltip-4ed993c7.js";/* empty css                  *//* empty css                */import{d as a,m as t,x as e,C as l,o as s,c,e as n,b as r,t as o,f as p,a as u,w as _,aE as d,F as i,q as m,J as b,ak as x,av as v,aw as f,_ as g}from"./index-0ffeeea6.js";import{s as h}from"./userStatistics-14e72d01.js";import"./http-ffb58baa.js";/* empty css                  *//* empty css                 *//* empty css                   */const w=a=>(v("data-v-6d3b18cb"),a=a(),f(),a),j={class:"data-line"},y={class:"box-card"},S=w((()=>n("label",{class:"text-sm"},"新增用户：",-1))),k={class:"text-base"},C={class:"box-card"},J=w((()=>n("br",null,null,-1))),q=w((()=>n("label",{class:"text-sm"},"新增用户充值人数：",-1))),N={class:"text-base"},O={class:"text-pt"},z={class:"text-pt"},A={class:"box-card"},D=w((()=>n("br",null,null,-1))),E=w((()=>n("label",{class:"text-sm"},"新增用户付费率：",-1))),F={class:"text-base"},I={class:"box-card"},B=w((()=>n("br",null,null,-1))),G=w((()=>n("label",{class:"text-sm"},"新增用户充值金额：",-1))),H={class:"text-base"},K={class:"text-pt"},L={class:"text-pt"},M={class:"box-card"},P=w((()=>n("br",null,null,-1))),Q=w((()=>n("label",{class:"text-sm"},"新增用户人均充值：",-1))),R={class:"text-base"},T={class:"box-card"},U=w((()=>n("br",null,null,-1))),V=w((()=>n("label",{class:"text-sm"},"充值金额：",-1))),W={class:"text-base"},X={class:"text-pt"},Y={class:"text-pt"},Z={class:"box-card"},$=w((()=>n("br",null,null,-1))),aa=w((()=>n("label",{class:"text-sm"},"充值笔数：",-1))),ta={class:"text-base"},ea={class:"box-card"},la=w((()=>n("br",null,null,-1))),sa=w((()=>n("label",{class:"text-sm"},"充值单价：",-1))),ca={class:"text-base"},na=g(a({__name:"todayData",setup(a){const v=t({}),f=t(0);e((()=>{var a,t;(null==(a=JSON.parse(l.get("nav_data")))?void 0:a.app.id)&&(f.value=null==(t=JSON.parse(l.get("nav_data")))?void 0:t.app.id),h({miniprogram_id:f.value}).then((a=>{v.value=a.data}))}));const g=()=>{m.push({path:"/statistic/userStatistical"})};return(a,t)=>{const e=b,l=x;return s(),c(i,null,[n("p",{class:"title"},[r("今日数据 "),n("label",{style:{color:"#909399","margin-left":"50px"}},[r("注: 以下数据为当日所有小程序的累计数据，如需查看各个小程序数据，可前往"),n("span",{onClick:g,style:{color:"#29d"},class:"cursor-pointer"},"数据统计"),r("进行查看")])]),n("div",j,[n("div",y,[S,n("p",k,o(p(v).new_user_num||"0"),1)]),n("div",C,[u(l,{placement:"top"},{content:_((()=>[r(" 新增用户中今日充值的人数"),J])),default:_((()=>[u(e,null,{default:_((()=>[u(p(d))])),_:1})])),_:1}),q,n("p",N,o(p(v).new_user_recharge_num||"0"),1),n("p",O,"普通："+o(p(v).new_user_recharge_coin_num||"0"),1),n("p",z,"会员："+o(p(v).new_user_recharge_vip_num||"0"),1)]),n("div",A,[u(l,{placement:"top"},{content:_((()=>[r(" 新用户充值人数/新增用户"),D])),default:_((()=>[u(e,null,{default:_((()=>[u(p(d))])),_:1})])),_:1}),E,n("p",F,o(p(v).new_user_recharge_rate||"0"),1)]),n("div",I,[u(l,{placement:"top"},{content:_((()=>[r(" 当日新增用户的充值总额"),B])),default:_((()=>[u(e,null,{default:_((()=>[u(p(d))])),_:1})])),_:1}),G,n("p",H,o(p(v).new_user_recharge_total||"0"),1),n("p",K,"普通："+o(p(v).new_user_recharge_coin_total||"0"),1),n("p",L,"会员："+o(p(v).new_user_recharge_coin_total||"0"),1)]),n("div",M,[u(l,{placement:"top"},{content:_((()=>[r(" 新用户充值总额/新用户充值人数"),P])),default:_((()=>[u(e,null,{default:_((()=>[u(p(d))])),_:1})])),_:1}),Q,n("p",R,o(p(v).new_user_mean||"0"),1)]),n("div",T,[u(l,{placement:"top"},{content:_((()=>[r(" 当日累计充值总金额"),U])),default:_((()=>[u(e,null,{default:_((()=>[u(p(d))])),_:1})])),_:1}),V,n("p",W,o(p(v).recharge_total||"0"),1),n("p",X,"普通："+o(p(v).recharge_coin_total||"0"),1),n("p",Y,"会员："+o(p(v).recharge_coin_total||"0"),1)]),n("div",Z,[u(l,{placement:"top"},{content:_((()=>[r(" 当日累计充值笔数"),$])),default:_((()=>[u(e,null,{default:_((()=>[u(p(d))])),_:1})])),_:1}),aa,n("p",ta,o(p(v).recharge_num||"0"),1)]),n("div",ea,[u(l,{placement:"top"},{content:_((()=>[r(" 充值金额/充值笔数"),la])),default:_((()=>[u(e,null,{default:_((()=>[u(p(d))])),_:1})])),_:1}),sa,n("p",ca,o(p(v).recharge_mean||"0"),1)])])],64)}}}),[["__scopeId","data-v-6d3b18cb"]]);export{na as default};
