import{_ as e}from"./noLogo.ddc8ca69.1749480002384.js";import{_ as a,r as l,B as t,a as n,b as s,c as d,d as u,k as i,h as r,J as o,m,L as f,s as c,ad as g,j as _,aL as x,aM as p,aN as v,aO as h,ax as y,aP as b,aQ as k,aR as w,H as C}from"./index.51eb0e02.1749480002384.js";const L={key:0},j={class:"xieyi"},A=["innerHTML"],H={style:{display:"flex",gap:"15px","align-items":"end",padding:"8px 20px"}},M={style:{width:"100%"}};var z=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",L,[l[3]||(l[3]=u("div",{class:"zhezhao"},null,-1)),u("div",j,[u("div",{class:"xieYiContent",innerHTML:g.value},null,8,A),u("div",H,[u("div",M,[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-d7354be2"]]);const V={class:"Manager"},E={class:"manager-menu"},O={target:"_blank",href:"/"},T={class:"flex mb-2 hover:text-blue-400 justify-center flex-col items-center"},B={class:"clientHome mt-4 w-8 opacity-1"},I=["src"],J={key:1,class:"w-full h-full border",src:e,alt:""},N={class:"manager-view"},P={__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"),L=n("router-link"),j=n("el-menu"),A=n("router-view");return s(),d("div",V,[u("div",E,[i(j,{"default-active":_(t),class:"el-menu-vertical-demo h-full",onOpen:a,onClose:l},{default:r((()=>[u("a",O,[u("div",T,[u("div",B,[_(c).state.site.logo?(s(),d("img",{key:0,class:"w-full h-full rounded-xl",src:_(c).state.site.logo,alt:""},null,8,I)):(s(),d("img",J))]),m[0]||(m[0]=u("div",{class:"mt-2 text-sm"},"客户端",-1))])]),i(L,{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(L,{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(L,{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(L,{to:"/manager/webApp"},{default:r((()=>[i(g,{index:"/manager/webApp"},{default:r((()=>[i(f,null,{default:r((()=>[i(_(h))])),_:1}),m[4]||(m[4]=o(" 卡片组件 "))])),_:1})])),_:1}),i(L,{to:"/manager/searchEngine"},{default:r((()=>[i(g,{index:"/manager/searchEngine"},{default:r((()=>[i(f,null,{default:r((()=>[i(_(y))])),_:1}),m[5]||(m[5]=o(" 搜索引擎 "))])),_:1})])),_:1}),i(L,{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(L,{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(L,{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(L,{to:"/manager/setting"},{default:r((()=>[i(g,{index:"/manager/setting"},{default:r((()=>[i(f,null,{default:r((()=>[i(_(C))])),_:1}),m[9]||(m[9]=o(" 系统设置 "))])),_:1})])),_:1})])),_:1},8,["default-active"])]),u("div",N,[i(A)]),i(z)])}}};export{P as default};
