import{_ as e,y as t,as as i,at as l,g as s,d as a,e as o,f as u,w as n,Z as m,a0 as r,i as c,o as d,h as g,k as p,j as x,S as h,T as y,V as f,N as S,O as k}from"./index-DD8OSUAV.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(){i({title:"确认退出?",success:e=>{if(e.confirm){l().clearStorage(),console.log(s()),s().$vm.exit()}}})},setImg(){this.imgSrc=this.textVlaue}}},[["render",function(e,t,i,l,s,_){const V=a(o("up-cell"),m),v=a(o("up-cell-group"),r),w=c,C=S,I=k;return d(),u(w,{class:"page setting"},{default:n((()=>[g(v,{customStyle:_.cellStyle},{default:n((()=>[g(V,{title:"个人资料",isLink:"",url:"/pages/mine/mine-edit"}),g(V,{title:"账号安全",isLink:"",url:"/pages/mine/mine-password"}),s.isAdmin?(d(),u(V,{key:0,title:"更新版本",isLink:"",url:"/pages/update/update"})):p("",!0)])),_:1},8,["customStyle"]),g(v,{customStyle:_.cellStyle},{default:n((()=>[g(V,{isLink:!0,"right-icon":""},{title:n((()=>[g(w,{class:"logout",onClick:_.logout},{default:n((()=>[x(" 退出登录 ")])),_:1},8,["onClick"])])),_:1})])),_:1},8,["customStyle"]),s.isAdmin?(d(),h("div",{key:0},[s.imgSrc?(d(),u(C,{key:0,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("",!0),g(I,{modelValue:s.textVlaue,"onUpdate:modelValue":t[0]||(t[0]=e=>s.textVlaue=e),maxlength:1e4},null,8,["modelValue"]),g(w,{class:"logout",onClick:_.setImg},{default:n((()=>[x(" 生成 ")])),_:1},8,["onClick"]),s.imgSrc?(d(),u(C,{key:1,mode:"heightFix",src:s.imgSrc,"lazy-load":"true",style:{"min-width":"200rpx","min-height":"200rpx","max-width":"400rpx","max-height":"400rpx"}},null,8,["src"])):p("",!0)])):p("",!0),s.isAdmin?(d(),u(v,{key:1,customStyle:_.cellStyle},{default:n((()=>[(d(!0),h(f,null,y(_.unibox,((e,t)=>(d(),u(V,{title:e,isLink:""},null,8,["title"])))),256))])),_:1},8,["customStyle"])):p("",!0)])),_:1})}],["__scopeId","data-v-a1b9640d"]]);export{_ as default};
