UserBasicInfo-8c617291.js 2.9 KB

1
  1. import{d as b,o as h,x as y,w as a,aG as v,g as l,a as t,n as _,t as u,E,j as x,_ as D,__tla as I}from"./index-52b99925.js";import{E as g,__tla as S}from"./el-card-1538e136.js";import{E as w,a as z,__tla as T}from"./el-descriptions-item-a6736d0e.js";import{_ as U,__tla as j}from"./DictTag-559e7235.js";import{E as k,__tla as q}from"./el-avatar-563596d0.js";import{D as B,__tla as P}from"./dict-954b1420.js";import{f as n,__tla as G}from"./formatTime-16b790f5.js";import{__tla as M}from"./Descriptions.vue_vue_type_style_index_0_scoped_aee191e8_lang-abc1d2f2.js";import{D as s,__tla as N}from"./DescriptionsItemLabel-d291cccc.js";import"./color-6e929987.js";let i,R=Promise.all([(()=>{try{return I}catch{}})(),(()=>{try{return S}catch{}})(),(()=>{try{return T}catch{}})(),(()=>{try{return j}catch{}})(),(()=>{try{return q}catch{}})(),(()=>{try{return P}catch{}})(),(()=>{try{return G}catch{}})(),(()=>{try{return M}catch{}})(),(()=>{try{return N}catch{}})()]).then(async()=>{i=D(b({__name:"UserBasicInfo",props:{user:{type:null,required:!0}},setup:X=>(e,Y)=>{const c=k,o=E,r=w,d=U,m=z,f=x,p=g;return h(),y(p,{shadow:"never"},{header:a(()=>[v(e.$slots,"header",{},void 0,!0)]),default:a(()=>[l(f,null,{default:a(()=>[l(o,{span:4},{default:a(()=>[l(c,{shape:"square",size:140,src:e.user.avatar||void 0},null,8,["src"])]),_:1}),l(o,{span:20},{default:a(()=>[l(m,{column:2},{default:a(()=>[l(r,null,{label:a(()=>[l(t(s),{label:"\u7528\u6237\u540D",icon:"ep:user"})]),default:a(()=>[_(" "+u(e.user.name||"\u7A7A"),1)]),_:1}),l(r,null,{label:a(()=>[l(t(s),{label:"\u6635\u79F0",icon:"ep:user"})]),default:a(()=>[_(" "+u(e.user.nickname),1)]),_:1}),l(r,{label:"\u624B\u673A\u53F7"},{label:a(()=>[l(t(s),{label:"\u624B\u673A\u53F7",icon:"ep:phone"})]),default:a(()=>[_(" "+u(e.user.mobile),1)]),_:1}),l(r,null,{label:a(()=>[l(t(s),{label:"\u6027\u522B",icon:"fa:mars-double"})]),default:a(()=>[l(d,{type:t(B).SYSTEM_USER_SEX,value:e.user.sex},null,8,["type","value"])]),_:1}),l(r,null,{label:a(()=>[l(t(s),{label:"\u6240\u5728\u5730",icon:"ep:location"})]),default:a(()=>[_(" "+u(e.user.areaName),1)]),_:1}),l(r,null,{label:a(()=>[l(t(s),{label:"\u6CE8\u518C IP",icon:"ep:position"})]),default:a(()=>[_(" "+u(e.user.registerIp),1)]),_:1}),l(r,null,{label:a(()=>[l(t(s),{label:"\u751F\u65E5",icon:"fa:birthday-cake"})]),default:a(()=>[_(" "+u(e.user.birthday?t(n)(e.user.birthday):"\u7A7A"),1)]),_:1}),l(r,null,{label:a(()=>[l(t(s),{label:"\u6CE8\u518C\u65F6\u95F4",icon:"ep:calendar"})]),default:a(()=>[_(" "+u(e.user.createTime?t(n)(e.user.createTime):"\u7A7A"),1)]),_:1}),l(r,null,{label:a(()=>[l(t(s),{label:"\u6700\u540E\u767B\u5F55\u65F6\u95F4",icon:"ep:calendar"})]),default:a(()=>[_(" "+u(e.user.loginDate?t(n)(e.user.loginDate):"\u7A7A"),1)]),_:1})]),_:1})]),_:1})]),_:1})]),_:3})}}),[["__scopeId","data-v-da71b2b4"],["__file","D:/zx/mall-newfeifan-zx-admin/src/views/member/user/detail/UserBasicInfo.vue"]])});export{R as __tla,i as default};