"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/useWatermarkStore.js"),require("../../common/store/useWorkStore.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-footer"))()}Math||((()=>"../../node-modules/uview-plus/components/u-avatar/u-avatar.js")+(()=>"../../components/hs-cell/hs-cell.js")+(()=>"../../components/hs-footer/hs-footer.js"))();const a=e.defineComponent({__name:"index",setup:a=>(e.onLoad(()=>{var e;null==(e=o.method)||e.init()}),(a,l)=>{var n,u,t,s,i,d,v,m,p,c,f;return e.e({a:null==(t=null==(u=null==(n=e.unref(r.useModel))?void 0:n.formData)?void 0:u.value)?void 0:t.avatar},(null==(d=null==(i=null==(s=e.unref(r.useModel))?void 0:s.formData)?void 0:i.value)?void 0:d.avatar)?{b:e.f(null==(p=null==(m=null==(v=e.unref(r.useModel))?void 0:v.formData)?void 0:m.value)?void 0:p.avatar,(o,r,a)=>({a:"7053b0d8-1-"+a+",7053b0d8-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 a,l;return(null==(a=e.unref(o.method))?void 0:a.handleChooseAvatar)&&(null==(l=e.unref(o.method))?void 0:l.handleChooseAvatar(...r))}),e:e.p({title:"头像",borderTop:!0}),f:e.p({title:"姓名",borderTop:!0,value:null==(c=e.unref(r.useModel).formData.value)?void 0:c.name}),g:e.p({title:"手机号",borderTop:!0,value:null==(f=e.unref(r.useModel).formData.value)?void 0:f.phone}),h:e.o(r=>{var a;return null==(a=e.unref(o.method))?void 0:a.handleLogout()}),i:e.p({btnParimaryName:"退出登录"})})})});wx.createPage(a);
