import{d as p,r as d,M as v,o as h,x as y,w as a,g as e,a as l,q as r,t as _,a_ as i,_ as g,__tla as x}from"./index-7d5b26d3.js";import{E as w,a as I,__tla as E}from"./el-descriptions-item-bfa341f2.js";import{__tla as q}from"./Descriptions.vue_vue_type_style_index_0_scoped_aee191e8_lang-caa19199.js";import{D as s,__tla as z}from"./DescriptionsItemLabel-1b358c66.js";import{g as A,__tla as D}from"./index-2e8ced75.js";import{__tla as P}from"./DictTag-89bfbd38.js";import"./color-6e929987.js";import{__tla as R}from"./dict-37d1dfe8.js";let m,U=Promise.all([(()=>{try{return x}catch{}})(),(()=>{try{return E}catch{}})(),(()=>{try{return q}catch{}})(),(()=>{try{return z}catch{}})(),(()=>{try{return D}catch{}})(),(()=>{try{return P}catch{}})(),(()=>{try{return R}catch{}})()]).then(async()=>{m=g(p({__name:"UserAccountInfo",props:{user:{type:null,required:!0}},setup(b){const o=b,u={balance:0,totalExpense:0,totalRecharge:0},c=d(u);return v(()=>o.user.id,()=>(async()=>{if(!o.user.id)return void(c.value=u);const n={userId:o.user.id};c.value=await A(n)||u})(),{immediate:!0}),(n,M)=>{const t=w,f=I;return h(),y(f,{column:2},{default:a(()=>[e(t,null,{label:a(()=>[e(l(s),{label:" \u7B49\u7EA7 ",icon:"svg-icon:member_level"})]),default:a(()=>[r(" "+_(n.user.levelName||"\u65E0"),1)]),_:1}),e(t,null,{label:a(()=>[e(l(s),{label:" \u6210\u957F\u503C ",icon:"ep:suitcase"})]),default:a(()=>[r(" "+_(n.user.experience||0),1)]),_:1}),e(t,null,{label:a(()=>[e(l(s),{label:" \u5F53\u524D\u79EF\u5206 ",icon:"ep:coin"})]),default:a(()=>[r(" "+_(n.user.point||0),1)]),_:1}),e(t,null,{label:a(()=>[e(l(s),{label:" \u603B\u79EF\u5206 ",icon:"ep:coin"})]),default:a(()=>[r(" "+_(n.user.totalPoint||0),1)]),_:1}),e(t,null,{label:a(()=>[e(l(s),{label:" \u5F53\u524D\u4F59\u989D ",icon:"svg-icon:member_balance"})]),default:a(()=>[r(" "+_(l(i)(l(c).balance||0)),1)]),_:1}),e(t,null,{label:a(()=>[e(l(s),{label:" \u652F\u51FA\u91D1\u989D ",icon:"svg-icon:member_expenditure_balance"})]),default:a(()=>[r(" "+_(l(i)(l(c).totalExpense||0)),1)]),_:1}),e(t,null,{label:a(()=>[e(l(s),{label:" \u5145\u503C\u91D1\u989D ",icon:"svg-icon:member_recharge_balance"})]),default:a(()=>[r(" "+_(l(i)(l(c).totalRecharge||0)),1)]),_:1})]),_:1})}}}),[["__scopeId","data-v-057b9a78"],["__file","D:/zx/mall-newfeifan-zx-business/src/views/member/user/detail/UserAccountInfo.vue"]])});export{U as __tla,m as default};
