/* 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,a as u,w as o,f as p,aE as _,t as d,F as i,q as m,J as b,ak as x,av as f,aw as v,_ 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=>(f("data-v-de43cf99"),a=a(),v(),a),j={class:"data-line"},y={class:"box-card"},S=w((()=>c("br",null,null,-1))),k=w((()=>c("label",{class:"text-sm"},"新增用户：",-1))),C={class:"text-base"},J={class:"box-card"},q=w((()=>c("br",null,null,-1))),N=w((()=>c("label",{class:"text-sm"},"新增用户充值人数：",-1))),O={class:"text-base"},z={class:"text-pt"},A={class:"text-pt"},D={class:"box-card"},E=w((()=>c("br",null,null,-1))),F=w((()=>c("label",{class:"text-sm"},"新增用户付费率：",-1))),I={class:"text-base"},B={class:"box-card"},G=w((()=>c("br",null,null,-1))),H=w((()=>c("label",{class:"text-sm"},"新增用户充值金额：",-1))),K={class:"text-base"},L={class:"text-pt"},M={class:"text-pt"},P={class:"box-card"},Q=w((()=>c("br",null,null,-1))),R=w((()=>c("label",{class:"text-sm"},"新增用户人均充值：",-1))),T={class:"text-base"},U={class:"box-card"},V=w((()=>c("br",null,null,-1))),W=w((()=>c("label",{class:"text-sm"},"充值金额：",-1))),X={class:"text-base"},Y={class:"text-pt"},Z={class:"text-pt"},$={class:"box-card"},aa=w((()=>c("br",null,null,-1))),ta=w((()=>c("label",{class:"text-sm"},"充值笔数：",-1))),ea={class:"text-base"},la={class:"box-card"},sa=w((()=>c("br",null,null,-1))),na=w((()=>c("label",{class:"text-sm"},"充值单价：",-1))),ca={class:"text-base"},ra=g(a({__name:"todayData",setup(a){const f=t({}),v=t(0);e((()=>{var a,t;(null==(a=JSON.parse(l.get("nav_data")))?void 0:a.app.id)&&(v.value=null==(t=JSON.parse(l.get("nav_data")))?void 0:t.app.id),h({miniprogram_id:v.value}).then((a=>{f.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",j,[c("div",y,[u(l,{placement:"top"},{content:o((()=>[r(" 新增用户的定义：不在其他推广链接染色时间范围内且被成功绑定到当前链接的用户，即为当前链接对应优化师的新增用户"),S])),default:o((()=>[u(e,null,{default:o((()=>[u(p(_))])),_:1})])),_:1}),k,c("p",C,d(p(f).new_user_num||"0"),1)]),c("div",J,[u(l,{placement:"top"},{content:o((()=>[r(" 新增用户中今日充值的人数"),q])),default:o((()=>[u(e,null,{default:o((()=>[u(p(_))])),_:1})])),_:1}),N,c("p",O,d(p(f).new_user_recharge_num||"0"),1),c("p",z,"普通："+d(p(f).new_user_recharge_coin_num||"0"),1),c("p",A,"会员："+d(p(f).new_user_recharge_vip_num||"0"),1)]),c("div",D,[u(l,{placement:"top"},{content:o((()=>[r(" 新用户充值人数/新增用户"),E])),default:o((()=>[u(e,null,{default:o((()=>[u(p(_))])),_:1})])),_:1}),F,c("p",I,d(p(f).new_user_recharge_rate||"0"),1)]),c("div",B,[u(l,{placement:"top"},{content:o((()=>[r(" 当日新增用户的充值总额"),G])),default:o((()=>[u(e,null,{default:o((()=>[u(p(_))])),_:1})])),_:1}),H,c("p",K,d(p(f).new_user_recharge_total||"0"),1),c("p",L,"普通："+d(p(f).new_user_recharge_coin_total||"0"),1),c("p",M,"会员："+d(p(f).new_user_recharge_coin_total||"0"),1)]),c("div",P,[u(l,{placement:"top"},{content:o((()=>[r(" 新用户充值总额/新用户充值人数"),Q])),default:o((()=>[u(e,null,{default:o((()=>[u(p(_))])),_:1})])),_:1}),R,c("p",T,d(p(f).new_user_mean||"0"),1)]),c("div",U,[u(l,{placement:"top"},{content:o((()=>[r(" 当日累计充值总金额"),V])),default:o((()=>[u(e,null,{default:o((()=>[u(p(_))])),_:1})])),_:1}),W,c("p",X,d(p(f).recharge_total||"0"),1),c("p",Y,"普通："+d(p(f).recharge_coin_total||"0"),1),c("p",Z,"会员："+d(p(f).recharge_coin_total||"0"),1)]),c("div",$,[u(l,{placement:"top"},{content:o((()=>[r(" 当日累计充值笔数"),aa])),default:o((()=>[u(e,null,{default:o((()=>[u(p(_))])),_:1})])),_:1}),ta,c("p",ea,d(p(f).recharge_num||"0"),1)]),c("div",la,[u(l,{placement:"top"},{content:o((()=>[r(" 充值金额/充值笔数"),sa])),default:o((()=>[u(e,null,{default:o((()=>[u(p(_))])),_:1})])),_:1}),na,c("p",ca,d(p(f).recharge_mean||"0"),1)])])],64)}}}),[["__scopeId","data-v-de43cf99"]]);export{ra as default};
