import{_ as e}from"./noLogo.ab708826.1761573291572.js";import{_ as a,r as l,B as t,a as n,b as s,c as d,d as u,j as i,g as r,L as o,l as _,N as m,y as f,ag as c,i as g,aR as x,aS as p,aT as v,aU as y,aA as h,aV as b,aW as k,aJ as w,J as A}from"./index.5f1a5861.1761573291572.js";const C={key:0},j={class:"xieyi"},L=["innerHTML"],V={style:{display:"flex",gap:"15px","align-items":"end",padding:"8px 20px"}},z={style:{width:"100%"}};var H=a({__name:"xieyi",setup(e){const a=l(""),f=()=>{"我已知晓并接受该协议"===a.value?t({url:"/Admin/xy",method:"post",data:{xy:a.value}}).then((e=>{1===e.code&&location.reload()})):m.error("输入内容有误，请重新输入")},c=l("");return t({url:"/Admin/xyCheck",method:"get"}).then((e=>{0===e.code&&(c.value=e.data.license)})),(e,l)=>{const t=n("el-input"),m=n("el-button");return c.value?(s(),d("div",C,[l[3]||(l[3]=u("div",{class:"zhezhao"},null,-1)),u("div",j,[u("div",{class:"xieYiContent",innerHTML:c.value},null,8,L),u("div",V,[u("div",z,[l[1]||(l[1]=u("div",{style:{"font-size":"14px",color:"red"}},"如果您接受该协议并继续使用该程序请输入“我已知晓并接受该协议”， 然后点击确定",-1)),i(t,{modelValue:a.value,"onUpdate:modelValue":l[0]||(l[0]=e=>a.value=e),style:{"margin-top":"5px"},placeholder:"如果您接受该协议并继续使用该程序请输入“我已知晓并接受该协议”， 然后点击确定"},null,8,["modelValue"])]),i(m,{type:"primary",onClick:f},{default:r((()=>l[2]||(l[2]=[o("确定",-1)]))),_:1,__:[2]})])])])):_("",!0)}}},[["__scopeId","data-v-d7354be2"]]);const M={class:"Manager"},T={class:"manager-menu"},E={target:"_blank",href:"/"},J={class:"flex mb-2 hover:text-blue-400 justify-center flex-col items-center"},S={class:"clientHome mt-4 w-8 opacity-1"},U=["src"],B={key:1,class:"w-full h-full border",src:e,alt:""},I={class:"manager-view"},N={__name:"layout",setup(e){f.commit("pullSiteConfig");const a=(e,a)=>{},l=(e,a)=>{},t=c().path;return(e,_)=>{const m=n("el-icon"),c=n("el-menu-item"),C=n("router-link"),j=n("el-menu"),L=n("router-view");return s(),d("div",M,[u("div",T,[i(j,{"default-active":g(t),class:"el-menu-vertical-demo h-full",onOpen:a,onClose:l},{default:r((()=>[u("a",E,[u("div",J,[u("div",S,[g(f).state.site.logo?(s(),d("img",{key:0,class:"w-full h-full rounded-xl",src:g(f).state.site.logo,alt:""},null,8,U)):(s(),d("img",B))]),_[0]||(_[0]=u("div",{class:"mt-2 text-sm"},"客户端",-1))])]),i(C,{to:"/manager/index"},{default:r((()=>[i(c,{index:"/manager/index"},{default:r((()=>[i(m,null,{default:r((()=>[i(g(x))])),_:1}),_[1]||(_[1]=o(" 数据管理 ",-1))])),_:1,__:[1]})])),_:1}),i(C,{to:"/manager/user"},{default:r((()=>[i(c,{index:"/manager/user"},{default:r((()=>[i(m,null,{default:r((()=>[i(g(p))])),_:1}),_[2]||(_[2]=o(" 用户列表 ",-1))])),_:1,__:[2]})])),_:1}),i(C,{to:"/manager/linkstore"},{default:r((()=>[i(c,{index:"/manager/linkstore"},{default:r((()=>[i(m,null,{default:r((()=>[i(g(v))])),_:1}),_[3]||(_[3]=o(" 新标签库 ",-1))])),_:1,__:[3]})])),_:1}),i(C,{to:"/manager/webApp"},{default:r((()=>[i(c,{index:"/manager/webApp"},{default:r((()=>[i(m,null,{default:r((()=>[i(g(y))])),_:1}),_[4]||(_[4]=o(" 卡片组件 ",-1))])),_:1,__:[4]})])),_:1}),i(C,{to:"/manager/searchEngine"},{default:r((()=>[i(c,{index:"/manager/searchEngine"},{default:r((()=>[i(m,null,{default:r((()=>[i(g(h))])),_:1}),_[5]||(_[5]=o(" 搜索引擎 ",-1))])),_:1,__:[5]})])),_:1}),i(C,{to:"/manager/background"},{default:r((()=>[i(c,{index:"/manager/background"},{default:r((()=>[i(m,null,{default:r((()=>[i(g(b))])),_:1}),_[6]||(_[6]=o(" 壁纸管理 ",-1))])),_:1,__:[6]})])),_:1}),i(C,{to:"/manager/file"},{default:r((()=>[i(c,{index:"/manager/file"},{default:r((()=>[i(m,null,{default:r((()=>[i(g(k))])),_:1}),_[7]||(_[7]=o(" 附件管理 ",-1))])),_:1,__:[7]})])),_:1}),i(C,{to:"/manager/extension"},{default:r((()=>[i(c,{index:"/manager/extension"},{default:r((()=>[i(m,null,{default:r((()=>[i(g(w))])),_:1}),_[8]||(_[8]=o(" 扩展管理 ",-1))])),_:1,__:[8]})])),_:1}),i(C,{to:"/manager/setting"},{default:r((()=>[i(c,{index:"/manager/setting"},{default:r((()=>[i(m,null,{default:r((()=>[i(g(A))])),_:1}),_[9]||(_[9]=o(" 系统设置 ",-1))])),_:1,__:[9]})])),_:1})])),_:1},8,["default-active"])]),u("div",I,[i(L)]),i(H)])}}};export{N as default};
