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