UserBasicInfo-bf7504c5.js 2.9 KB

1
  1. import{d as b,o as h,l as y,w as a,aF as v,i as l,a as t,j as _,t as u,E,s as D,_ as I,__tla as g}from"./index-afaf388d.js";import{E as w,__tla as x}from"./el-card-9c18d881.js";import{E as S,a as T,__tla as U}from"./el-descriptions-item-fe161f2c.js";import{_ as k,__tla as j}from"./DictTag-3a1a976c.js";import{E as q,__tla as z}from"./el-avatar-e5ec3622.js";import{D as B,__tla as P}from"./dict-0449a0a1.js";import{f as n,__tla as R}from"./formatTime-42952e7f.js";import{__tla as X}from"./Descriptions.vue_vue_type_style_index_0_scoped_aee191e8_lang-957e6132.js";import{D as s,__tla as F}from"./DescriptionsItemLabel-8b6cfc3e.js";import"./color-6e929987.js";let i,H=Promise.all([(()=>{try{return g}catch{}})(),(()=>{try{return x}catch{}})(),(()=>{try{return U}catch{}})(),(()=>{try{return j}catch{}})(),(()=>{try{return z}catch{}})(),(()=>{try{return P}catch{}})(),(()=>{try{return R}catch{}})(),(()=>{try{return X}catch{}})(),(()=>{try{return F}catch{}})()]).then(async()=>{i=I(b({__name:"UserBasicInfo",props:{user:{type:null,required:!0}},setup:M=>(e,N)=>{const c=q,o=E,r=S,d=k,m=T,p=D,f=w;return h(),y(f,{shadow:"never"},{header:a(()=>[v(e.$slots,"header",{},void 0,!0)]),default:a(()=>[l(p,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","/Users/RuHu.Xu/Desktop/mall-newfeifan-zx-admin/src/views/member/user/detail/UserBasicInfo.vue"]])});export{H as __tla,i as default};