"use strict";const e=require("../../common/vendor.js"),o=require("./method.js"),r=require("./model.js");if(require("../../common/libraries/request.js"),require("../../common/store/useWeAppAuthStore.js"),require("../../gen/Apis.js"),require("../../common/store/useWorkStore.js"),require("../../common/libraries/setTabBar.js"),require("../../common/libraries/apiLoading.js"),require("../../common/libraries/naviHelper.js"),require("../../common/libraries/upload.js"),!Array){(e.resolveComponent("up-avatar")+e.resolveComponent("hs-cell")+e.resolveComponent("hs-input")+e.resolveComponent("hs-footer"))()}Math||((()=>"../../node-modules/uview-plus/components/u-avatar/u-avatar.js")+(()=>"../../components/hs-cell/hs-cell.js")+(()=>"../../components/hs-input/hs-input.js")+(()=>"../../components/hs-footer/hs-footer.js"))();const n=e.defineComponent({__name:"index",setup:n=>(e.onLoad((()=>{var e;null==(e=o.method)||e.init()})),(n,a)=>{var l,t,u,s,i,m,d,v,p,h;return e.e({a:null==(u=null==(t=null==(l=e.unref(r.useModel))?void 0:l.formData)?void 0:t.value)?void 0:u.avatar},(null==(m=null==(i=null==(s=e.unref(r.useModel))?void 0:s.formData)?void 0:i.value)?void 0:m.avatar)?{b:e.f(null==(p=null==(v=null==(d=e.unref(r.useModel))?void 0:d.formData)?void 0:v.value)?void 0:p.avatar,((o,r,n)=>({a:"5dc23747-1-"+n+",5dc23747-0",b:e.p({size:"50",src:null==o?void 0:o.url}),c:`avatar_${r}`})))}:{c:e.p({size:"50"})},{d:e.o(((...r)=>{var n,a;return(null==(n=e.unref(o.method))?void 0:n.handleChooseAvatar)&&(null==(a=e.unref(o.method))?void 0:a.handleChooseAvatar(...r))})),e:e.p({title:"头像",borderTop:!0}),f:e.o((o=>e.unref(r.useModel).formData.value.name=o)),g:e.p({textAlign:"right",type:"nickname",valueModel:e.unref(r.useModel).formData.value.name}),h:e.p({title:"昵称",borderTop:!0}),i:e.t((null==(h=e.unref(r.useModel).formData.value)?void 0:h.phone)||""),j:e.p({title:"手机号",borderTop:!0}),k:e.o((r=>{var n;return null==(n=e.unref(o.method))?void 0:n.handleLogout()})),l:e.o((r=>{var n;return null==(n=e.unref(o.method))?void 0:n.handleConfirm()})),m:e.p({btnOtherName:"退出登录",btnParimaryName:"保存",btnOtherShow:!0})})})});wx.createPage(n);
