/* 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 as n,e as c,b as r,t as o,f as p,a as u,w as _,aD as d,F as i,q as m,J as b,aj as x,az as v,aA as f,_ as g}from"./index-2b50ecca.js";import{s as h}from"./userStatistics-016b7f08.js";import"./http-aa208300.js";/* empty css                  *//* empty css                 *//* empty css                   */const j=a=>(v("data-v-0ee1655d"),a=a(),f(),a),w={class:"data-line"},y={class:"box-card"},S=j((()=>c("label",{class:"text-sm"},"新增用户：",-1))),J={class:"text-base"},C={class:"box-card"},D=j((()=>c("br",null,null,-1))),N=j((()=>c("label",{class:"text-sm"},"新增用户充值人数：",-1))),O={class:"text-base"},k={class:"text-pt"},q={class:"text-pt"},z={class:"box-card"},A=j((()=>c("br",null,null,-1))),F=j((()=>c("label",{class:"text-sm"},"新增用户付费率：",-1))),I={class:"text-base"},X={class:"box-card"},Y=j((()=>c("br",null,null,-1))),Z=j((()=>c("label",{class:"text-sm"},"新增用户充值金额：",-1))),B={class:"text-base"},E={class:"text-pt"},G={class:"text-pt"},H={class:"box-card"},K=j((()=>c("br",null,null,-1))),L=j((()=>c("label",{class:"text-sm"},"新增用户人均充值：",-1))),M={class:"text-base"},P={class:"box-card"},Q=j((()=>c("br",null,null,-1))),R=j((()=>c("label",{class:"text-sm"},"充值金额：",-1))),T={class:"text-base"},U={class:"text-pt"},V={class:"text-pt"},W={class:"box-card"},$=j((()=>c("br",null,null,-1))),aa=j((()=>c("label",{class:"text-sm"},"充值笔数：",-1))),ta={class:"text-base"},ea={class:"box-card"},la=j((()=>c("br",null,null,-1))),sa=j((()=>c("label",{class:"text-sm"},"充值单价：",-1))),na={class:"text-base"},ca=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(),n(i,null,[c("p",{class:"title"},[r("今日数据 "),c("label",{style:{color:"#909399","margin-left":"50px"}},[r("注: 以下数据为当日所有小程序的累计数据，如需查看各个小程序数据，可前往"),c("span",{onClick:g,style:{color:"#29d"}},"数据统计"),r("进行查看")])]),c("div",w,[c("div",y,[S,c("p",J,o(p(v).new_user_num||"0"),1)]),c("div",C,[u(l,{placement:"top"},{content:_((()=>[r(" 新增用户中今日充值的人数"),D])),default:_((()=>[u(e,null,{default:_((()=>[u(p(d))])),_:1})])),_:1}),N,c("p",O,o(p(v).new_user_recharge_num||"0"),1),c("p",k,"普通："+o(p(v).new_user_recharge_coin_num||"0"),1),c("p",q,"会员："+o(p(v).new_user_recharge_vip_num||"0"),1)]),c("div",z,[u(l,{placement:"top"},{content:_((()=>[r(" 新用户充值人数/新增用户"),A])),default:_((()=>[u(e,null,{default:_((()=>[u(p(d))])),_:1})])),_:1}),F,c("p",I,o(p(v).new_user_recharge_rate||"0"),1)]),c("div",X,[u(l,{placement:"top"},{content:_((()=>[r(" 当日新增用户的充值总额"),Y])),default:_((()=>[u(e,null,{default:_((()=>[u(p(d))])),_:1})])),_:1}),Z,c("p",B,o(p(v).new_user_recharge_total||"0"),1),c("p",E,"普通："+o(p(v).new_user_recharge_coin_total||"0"),1),c("p",G,"会员："+o(p(v).new_user_recharge_coin_total||"0"),1)]),c("div",H,[u(l,{placement:"top"},{content:_((()=>[r(" 新用户充值总额/新用户充值人数"),K])),default:_((()=>[u(e,null,{default:_((()=>[u(p(d))])),_:1})])),_:1}),L,c("p",M,o(p(v).new_user_mean||"0"),1)]),c("div",P,[u(l,{placement:"top"},{content:_((()=>[r(" 当日累计充值总金额"),Q])),default:_((()=>[u(e,null,{default:_((()=>[u(p(d))])),_:1})])),_:1}),R,c("p",T,o(p(v).recharge_total||"0"),1),c("p",U,"普通："+o(p(v).recharge_coin_total||"0"),1),c("p",V,"会员："+o(p(v).recharge_coin_total||"0"),1)]),c("div",W,[u(l,{placement:"top"},{content:_((()=>[r(" 当日累计充值笔数"),$])),default:_((()=>[u(e,null,{default:_((()=>[u(p(d))])),_:1})])),_:1}),aa,c("p",ta,o(p(v).recharge_num||"0"),1)]),c("div",ea,[u(l,{placement:"top"},{content:_((()=>[r(" 充值金额/充值笔数"),la])),default:_((()=>[u(e,null,{default:_((()=>[u(p(d))])),_:1})])),_:1}),sa,c("p",na,o(p(v).recharge_mean||"0"),1)])])],64)}}}),[["__scopeId","data-v-0ee1655d"]]);export{ca as default};
