import{_ as e}from"./noLogo.3de61f48.1766672520393.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 m,N as f,y as c,ag as g,i as _,aS as x,aT as p,aU as v,aV as y,aA as h,aW as b,aX as k,aK as w,J as A}from"./index.8821dc9f.1766672520393.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(""),c=()=>{"我已知晓并接受该协议"===a.value?t({url:"/Admin/xy",method:"post",data:{xy:a.value}}).then((e=>{1===e.code&&location.reload()})):f.error("输入内容有误，请重新输入")},g=l("");return t({url:"/Admin/xyCheck",method:"get"}).then((e=>{0===e.code&&(g.value=e.data.license)})),(e,l)=>{const t=n("el-input"),f=n("el-button");return g.value?(s(),d("div",C,[l[3]||(l[3]=u("div",{class:"zhezhao"},null,-1)),u("div",j,[u("div",{class:"xieYiContent",innerHTML:g.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(f,{type:"primary",onClick:c},{default:r((()=>l[2]||(l[2]=[o("确定")]))),_:1})])])])):m("",!0)}}},[["__scopeId","data-v-62b1a1a4"]]);const M={class:"Manager"},T={class:"manager-menu"},E={target:"_blank",href:"/"},S={class:"flex mb-2 hover:text-blue-400 justify-center flex-col items-center"},U={class:"clientHome mt-4 w-8 opacity-1"},B=["src"],I={key:1,class:"w-full h-full border",src:e,alt:""},J={class:"manager-view"},K={__name:"layout",setup(e){c.commit("pullSiteConfig");const a=(e,a)=>{},l=(e,a)=>{},t=g().path;return(e,m)=>{const f=n("el-icon"),g=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":_(t),class:"el-menu-vertical-demo h-full",onOpen:a,onClose:l},{default:r((()=>[u("a",E,[u("div",S,[u("div",U,[_(c).state.site.logo?(s(),d("img",{key:0,class:"w-full h-full rounded-xl",src:_(c).state.site.logo,alt:""},null,8,B)):(s(),d("img",I))]),m[0]||(m[0]=u("div",{class:"mt-2 text-sm"},"客户端",-1))])]),i(C,{to:"/manager/index"},{default:r((()=>[i(g,{index:"/manager/index"},{default:r((()=>[i(f,null,{default:r((()=>[i(_(x))])),_:1}),m[1]||(m[1]=o(" 数据管理 "))])),_:1})])),_:1}),i(C,{to:"/manager/user"},{default:r((()=>[i(g,{index:"/manager/user"},{default:r((()=>[i(f,null,{default:r((()=>[i(_(p))])),_:1}),m[2]||(m[2]=o(" 用户列表 "))])),_:1})])),_:1}),i(C,{to:"/manager/linkstore"},{default:r((()=>[i(g,{index:"/manager/linkstore"},{default:r((()=>[i(f,null,{default:r((()=>[i(_(v))])),_:1}),m[3]||(m[3]=o(" 新标签库 "))])),_:1})])),_:1}),i(C,{to:"/manager/webApp"},{default:r((()=>[i(g,{index:"/manager/webApp"},{default:r((()=>[i(f,null,{default:r((()=>[i(_(y))])),_:1}),m[4]||(m[4]=o(" 卡片组件 "))])),_:1})])),_:1}),i(C,{to:"/manager/searchEngine"},{default:r((()=>[i(g,{index:"/manager/searchEngine"},{default:r((()=>[i(f,null,{default:r((()=>[i(_(h))])),_:1}),m[5]||(m[5]=o(" 搜索引擎 "))])),_:1})])),_:1}),i(C,{to:"/manager/background"},{default:r((()=>[i(g,{index:"/manager/background"},{default:r((()=>[i(f,null,{default:r((()=>[i(_(b))])),_:1}),m[6]||(m[6]=o(" 壁纸管理 "))])),_:1})])),_:1}),i(C,{to:"/manager/file"},{default:r((()=>[i(g,{index:"/manager/file"},{default:r((()=>[i(f,null,{default:r((()=>[i(_(k))])),_:1}),m[7]||(m[7]=o(" 附件管理 "))])),_:1})])),_:1}),i(C,{to:"/manager/extension"},{default:r((()=>[i(g,{index:"/manager/extension"},{default:r((()=>[i(f,null,{default:r((()=>[i(_(w))])),_:1}),m[8]||(m[8]=o(" 扩展管理 "))])),_:1})])),_:1}),i(C,{to:"/manager/setting"},{default:r((()=>[i(g,{index:"/manager/setting"},{default:r((()=>[i(f,null,{default:r((()=>[i(_(A))])),_:1}),m[9]||(m[9]=o(" 系统设置 "))])),_:1})])),_:1})])),_:1},8,["default-active"])]),u("div",J,[i(L)]),i(H)])}}};export{K as default};
