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