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 r,o as d,h as g,k as p,j as f,S as x,T as y,V as k,O as S,N as h}from"./index-DDTNXLuk.js";const _=e({data:()=>({isAdmin:"13100919809"===t().userInfo.userName||"13151593507"===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),I=i(o("up-cell-group"),m),L=r,b=S,v=h;return d(),u(L,{class:"page setting"},{default:n((()=>[g(I,{customStyle:_.cellStyle},{default:n((()=>[g(V,{title:"个人资料",isLink:"",url:"/pages/mine/mine-edit"}),g(V,{title:"账号安全",isLink:"",url:"/pages/mine/mine-password"}),a.isAdmin?(d(),u(V,{key:0,title:"更新版本",isLink:"",url:"/pages/update/update"})):p("",!0)])),_:1},8,["customStyle"]),g(I,{customStyle:_.cellStyle},{default:n((()=>[g(V,{isLink:!0,"right-icon":""},{title:n((()=>[g(L,{class:"logout",onClick:_.logout},{default:n((()=>[f(" 退出登录1 ")])),_:1},8,["onClick"])])),_:1})])),_:1},8,["customStyle"]),a.isAdmin?(d(),x("div",{key:0},[g(b,{modelValue:a.textVlaue,"onUpdate:modelValue":t[0]||(t[0]=e=>a.textVlaue=e)},null,8,["modelValue"]),g(L,{class:"logout",onClick:_.setImg},{default:n((()=>[f(" 退出登录 ")])),_:1},8,["onClick"]),a.imgSrc?(d(),u(v,{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?(d(),u(I,{key:1,customStyle:_.cellStyle},{default:n((()=>[(d(!0),x(k,null,y(_.unibox,((e,t)=>(d(),u(V,{title:e,isLink:""},null,8,["title"])))),256))])),_:1},8,["customStyle"])):p("",!0)])),_:1})}],["__scopeId","data-v-6b372510"]]);export{_ as default};
