import{_ as e,y as t,aj as i,as as l,at as s,g as a,d as u,e as n,f as o,w as m,Z as r,a0 as c,i as d,o as g,h as p,k as x,j as h,S as f,T as y,V as S,N as k,O as _}from"./index-CrGocimZ.js";const V=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},imgFun:()=>"---"+i},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,i,l,s,a){const V=u(n("up-cell"),r),v=u(n("up-cell-group"),c),w=d,C=k,I=_;return g(),o(w,{class:"page setting"},{default:m((()=>[p(v,{customStyle:a.cellStyle},{default:m((()=>[p(V,{title:"个人资料",isLink:"",url:"/pages/mine/mine-edit"}),p(V,{title:"账号安全",isLink:"",url:"/pages/mine/mine-password"}),s.isAdmin?(g(),o(V,{key:0,title:"更新版本",isLink:"",url:"/pages/update/update"})):x("",!0)])),_:1},8,["customStyle"]),p(v,{customStyle:a.cellStyle},{default:m((()=>[p(V,{isLink:!0,"right-icon":""},{title:m((()=>[p(w,{class:"logout",onClick:a.logout},{default:m((()=>[h(" 退出登录 ")])),_:1},8,["onClick"])])),_:1})])),_:1},8,["customStyle"]),s.isAdmin?(g(),f("div",{key:0},[p(C,{mode:"heightFix",src:"http://20.47.196.98:40080/fwzx/v1.0.0/getServiceInfoByServiceId/32092423SJNB12202507111046530001/320924230000-3-0800-5CDEC9969D674E1CBB7E2F86A697B0D7/api/image/20251010/1760059160810.jpg","lazy-load":"true",style:{"min-width":"200rpx","min-height":"200rpx","max-width":"400rpx","max-height":"400rpx"}}),p(I,{modelValue:s.textVlaue,"onUpdate:modelValue":t[0]||(t[0]=e=>s.textVlaue=e),maxlength:1e4},null,8,["modelValue"]),p(w,{class:"logout",onClick:a.setImg},{default:m((()=>[h(" 生成 ")])),_:1},8,["onClick"]),s.imgSrc?(g(),o(C,{key:0,mode:"heightFix",src:s.imgSrc,"lazy-load":"true",style:{"min-width":"200rpx","min-height":"200rpx","max-width":"400rpx","max-height":"400rpx"}},null,8,["src"])):x("",!0)])):x("",!0),s.isAdmin?(g(),o(v,{key:1,customStyle:a.cellStyle},{default:m((()=>[p(V,{title:a.imgFun,isLink:""},null,8,["title"]),(g(!0),f(S,null,y(a.unibox,((e,t)=>(g(),o(V,{title:e,isLink:""},null,8,["title"])))),256))])),_:1},8,["customStyle"])):x("",!0)])),_:1})}],["__scopeId","data-v-6204065e"]]);export{V as default};
