UserBasicInfo-063dad5f.js 2.8 KB

1
  1. import{d as b,o as h,A as y,B as a,aN as v,f as l,a as t,G as s,D as u,J as E,M as D,__tla as I}from"./index-3007d289.js";import{E as g,__tla as S}from"./el-card-2ae1e59c.js";import{E as T,a as x,__tla as k}from"./el-descriptions-item-e6c2ad36.js";import{_ as B,__tla as M}from"./DictTag.vue_vue_type_script_lang-6da164e0.js";import{E as N,__tla as P}from"./el-avatar-7f689659.js";import{D as U,__tla as j}from"./dict-2aa9a932.js";import{f as o,__tla as q}from"./formatTime-2e976659.js";import{__tla as w}from"./Descriptions.vue_vue_type_style_index_0_scoped_76061901_lang-171a8e93.js";import{D as _,__tla as z}from"./DescriptionsItemLabel-bf2d34bf.js";import{_ as A}from"./_plugin-vue_export-helper-1b428a4d.js";import"./color-6e929987.js";let c,G=Promise.all([(()=>{try{return I}catch{}})(),(()=>{try{return S}catch{}})(),(()=>{try{return k}catch{}})(),(()=>{try{return M}catch{}})(),(()=>{try{return P}catch{}})(),(()=>{try{return j}catch{}})(),(()=>{try{return q}catch{}})(),(()=>{try{return w}catch{}})(),(()=>{try{return z}catch{}})()]).then(async()=>{c=A(b({__name:"UserBasicInfo",props:{user:{}},setup:J=>(e,R)=>{const i=N,n=E,r=T,m=B,p=x,f=D,d=g;return h(),y(d,{shadow:"never"},{header:a(()=>[v(e.$slots,"header",{},void 0,!0)]),default:a(()=>[l(f,null,{default:a(()=>[l(n,{span:4},{default:a(()=>[l(i,{shape:"square",size:140,src:e.user.avatar||void 0},null,8,["src"])]),_:1}),l(n,{span:20},{default:a(()=>[l(p,{column:2},{default:a(()=>[l(r,null,{label:a(()=>[l(t(_),{label:"\u7528\u6237\u540D",icon:"ep:user"})]),default:a(()=>[s(" "+u(e.user.name||"\u7A7A"),1)]),_:1}),l(r,null,{label:a(()=>[l(t(_),{label:"\u6635\u79F0",icon:"ep:user"})]),default:a(()=>[s(" "+u(e.user.nickname),1)]),_:1}),l(r,{label:"\u624B\u673A\u53F7"},{label:a(()=>[l(t(_),{label:"\u624B\u673A\u53F7",icon:"ep:phone"})]),default:a(()=>[s(" "+u(e.user.mobile),1)]),_:1}),l(r,null,{label:a(()=>[l(t(_),{label:"\u6027\u522B",icon:"fa:mars-double"})]),default:a(()=>[l(m,{type:t(U).SYSTEM_USER_SEX,value:e.user.sex},null,8,["type","value"])]),_:1}),l(r,null,{label:a(()=>[l(t(_),{label:"\u6240\u5728\u5730",icon:"ep:location"})]),default:a(()=>[s(" "+u(e.user.areaName),1)]),_:1}),l(r,null,{label:a(()=>[l(t(_),{label:"\u6CE8\u518C IP",icon:"ep:position"})]),default:a(()=>[s(" "+u(e.user.registerIp),1)]),_:1}),l(r,null,{label:a(()=>[l(t(_),{label:"\u751F\u65E5",icon:"fa:birthday-cake"})]),default:a(()=>[s(" "+u(e.user.birthday?t(o)(e.user.birthday):"\u7A7A"),1)]),_:1}),l(r,null,{label:a(()=>[l(t(_),{label:"\u6CE8\u518C\u65F6\u95F4",icon:"ep:calendar"})]),default:a(()=>[s(" "+u(e.user.createTime?t(o)(e.user.createTime):"\u7A7A"),1)]),_:1}),l(r,null,{label:a(()=>[l(t(_),{label:"\u6700\u540E\u767B\u5F55\u65F6\u95F4",icon:"ep:calendar"})]),default:a(()=>[s(" "+u(e.user.loginDate?t(o)(e.user.loginDate):"\u7A7A"),1)]),_:1})]),_:1})]),_:1})]),_:1})]),_:3})}}),[["__scopeId","data-v-22976902"]])});export{G as __tla,c as default};