import{_ as g}from"./wd-img.CoBmSmPl.js";import{d as b,V as w,e as k,r as P,u as N,f as i,g as t,z as $,aF as h,B as s,D as r,al as x,o as m,h as e,j as C,F as o,R as I,J as j,q as z}from"./index-q8TQmcfk.js";import{_ as A,a as B}from"./wd-cell-group.ChuTC3jo.js";import{_ as U}from"./z-paging.qf1jZGzy.js";const V=b({name:"MyProfile",__name:"myProfile",setup(D){const _=w(),a=k(()=>h()),f=P(!1);return N(()=>{_.getUserInfo()}),(n,F)=>{const d=s(r("wd-img"),g),p=s(r("wd-loading"),x),u=C,l=s(r("wd-cell"),A),c=s(r("wd-cell-group"),B),y=s(r("z-paging"),U),v=$("layout-default-uni");return m(),i(v,null,{default:t(()=>[e(y,null,{default:t(()=>[e(u,{class:"py-20rpx"},{default:t(()=>[e(c,{"custom-class":"mb-20rpx",border:""},{default:t(()=>[e(l,{title:o(I)("myProfile.avatar"),center:""},{default:t(()=>[e(u,{class:"flex items-center justify-end"},{default:t(()=>[e(u,{class:"relative flex items-center justify-center"},{default:t(()=>[e(d,{width:"64rpx",height:"64rpx",round:"",src:o(a).headPic},null,8,["src"]),o(f)?(m(),i(u,{key:0,class:"absolute inset-0 flex items-center justify-center rounded-full bg-black bg-opacity-50"},{default:t(()=>[e(p,{size:"20rpx",color:"#fff"})]),_:1})):j("",!0)]),_:1})]),_:1})]),_:1},8,["title"]),e(l,{title:n.$t("myProfile.userId"),value:o(a).userNo},null,8,["title","value"]),e(l,{title:n.$t("myProfile.userName"),value:o(a).name},null,8,["title","value"]),e(l,{title:n.$t("myProfile.mobileNumber"),value:o(a).phoneNo},null,8,["title","value"])]),_:1}),e(c,{"custom-class":"mb-20rpx",border:""},{default:t(()=>[e(l,{title:n.$t("myProfile.bankName"),value:o(a).bank||"/"},null,8,["title","value"]),e(l,{title:n.$t("myProfile.bankAccountName"),value:o(a).bankAccountName||"/"},null,8,["title","value"]),e(l,{title:n.$t("myProfile.bankAccountNo"),value:o(a).bankAccount||"/"},null,8,["title","value"])]),_:1})]),_:1})]),_:1})]),_:1})}}}),H=z(V,[["__scopeId","data-v-ac6ad139"]]);export{H as default};
