import{_ as e,y as t,as as l,at as s,g as a,d as i,e as o,f as u,w as n,Z as c,a0 as m,i as d,o as r,h as g,k as p,j as x,S as f,T as y,V as k,O as S,N as h}from"./index-Dt6xqza-.js";const _=e({data:()=>({isAdmin:"13100919809"===t().userInfo.userName,textVlaue:"",imgSrc:""}),computed:{cellStyle:()=>({marginBottom:"10px",background:"#fff"}),unibox(){const e=["nextTick"];for(var t in uni)e.push(t);return e}},methods:{logout(){l({title:"确认退出?",success:e=>{if(e.confirm){s().clearStorage(),console.log(a()),a().$vm.exit()}}})},setImg(){this.imgSrc=this.textVlaue}}},[["render",function(e,t,l,s,a,_){const V=i(o("up-cell"),c),L=i(o("up-cell-group"),m),v=d,w=S,A=h;return r(),u(v,{class:"page setting"},{default:n((()=>[g(L,{customStyle:_.cellStyle},{default:n((()=>[g(V,{title:"个人资料",isLink:"",url:"/pages/mine/mine-edit"}),g(V,{title:"账号安全",isLink:"",url:"/pages/mine/mine-password"}),a.isAdmin?(r(),u(V,{key:0,title:"更新版本",isLink:"",url:"/pages/update/update"})):p("",!0)])),_:1},8,["customStyle"]),g(L,{customStyle:_.cellStyle},{default:n((()=>[g(V,{isLink:!0,"right-icon":""},{title:n((()=>[g(v,{class:"logout",onClick:_.logout},{default:n((()=>[x(" 退出登录 ")])),_:1},8,["onClick"])])),_:1})])),_:1},8,["customStyle"]),a.isAdmin?(r(),f("div",{key:0},[g(w,{modelValue:a.textVlaue,"onUpdate:modelValue":t[0]||(t[0]=e=>a.textVlaue=e)},null,8,["modelValue"]),g(v,{class:"logout",onClick:_.setImg},{default:n((()=>[x(" 退出登录 ")])),_:1},8,["onClick"]),a.imgSrc?(r(),u(A,{key:0,mode:"heightFix",src:a.imgSrc,"lazy-load":"true",style:{"min-width":"200rpx","min-height":"200rpx","max-width":"400rpx","max-height":"400rpx"}},null,8,["src"])):p("",!0)])):p("",!0),a.isAdmin?(r(),u(L,{key:1,customStyle:_.cellStyle},{default:n((()=>[(r(!0),f(k,null,y(_.unibox,((e,t)=>(r(),u(V,{title:e,isLink:""},null,8,["title"])))),256))])),_:1},8,["customStyle"])):p("",!0)])),_:1})}],["__scopeId","data-v-dae151dc"]]);export{_ as default};
