2 lines
4.0 KiB
JavaScript
2 lines
4.0 KiB
JavaScript
import{a as k,b as S,E}from"./el-main.00fa021b.js";import{a as x,W as C,s as B,b2 as I,o as i,e as f,j as t,f as e,w as s,u as p,t as u,c as v,h as a,V as w,a6 as N,J as A,K as M,r as V,ce as j,x as L}from"./entry.539d3b49.js";import{_ as b}from"./nuxt-link.47b9aec4.js";import{E as T,a as q}from"./el-tooltip.a101b1cd.js";import{E as z}from"./el-button.b86b6ea8.js";import"./el-popper.6e1fd591.js";import{_ as g}from"./_plugin-vue_export-helper.c27b6911.js";import"./index.e7365e3c.js";import"./vnode.48eda29e.js";import"./use-form-item.aa386fad.js";import"./index.68b3a059.js";const F=""+new URL("logo.58dc7b81.jpg",import.meta.url).href,n=c=>(A("data-v-b6792b14"),c=c(),M(),c),H={class:"flex h-full min-w-[1200px]"},R={class:"flex items-center ml-[20px]"},D=n(()=>t("div",{class:"w-[132px] mr-[10px]"},[t("img",{src:F})],-1)),G=n(()=>t("div",{class:"hidden text-[14px] text-[#A6B0C8] xl:block"},[a("|"),t("span",{class:"ml-[10px]"},"一款快速开发SAAS通用管理系统后台框架")],-1)),J={class:"mx-auto flex-shrink"},K=n(()=>t("span",{class:"text-base mx-4"},"首页",-1)),U=n(()=>t("span",null,null,-1)),W=n(()=>t("span",{class:"text-base mx-4"},"文章",-1)),O=n(()=>t("span",null,null,-1)),P=n(()=>t("span",{class:"text-base mx-4"},"社区",-1)),Q=n(()=>t("span",null,null,-1)),X={class:"flex items-center justify-end mr-[20px] ml-auto whitespace-pre"},Y={key:0},Z={class:"cursor-pointer"},tt=n(()=>t("span",{class:"mx-2"},"|",-1)),et=x({__name:"index",setup(c){const _=C(),r=B(()=>_.info),l=()=>{_.logout(),N("/auth/login")},d=I();return(o,xt)=>{const m=b,h=T,y=q,$=z;return i(),f("div",H,[t("div",R,[e(m,{to:"/"},{default:s(()=>[D]),_:1}),G]),t("div",J,[e(y,{"default-active":p(d).route,class:"h-full",mode:"horizontal",ellipsis:!1,router:!0},{default:s(()=>[e(h,{index:"/",route:"/"},{default:s(()=>[K,U]),_:1}),e(h,{index:"/article/list",route:"/article/list"},{default:s(()=>[W,O]),_:1}),e(h,{route:"/"},{default:s(()=>[P,Q]),_:1})]),_:1},8,["default-active"])]),t("div",X,[p(r)?(i(),f("div",Y,[e(m,{to:"/member/center"},{default:s(()=>[t("span",Z,u(p(r).nickname),1)]),_:1}),tt,t("span",{class:"cursor-pointer",onClick:l},"退出")])):(i(),v(m,{key:1,to:"/auth/login"},{default:s(()=>[e($,{type:"primary",link:""},{default:s(()=>[a(u(("t"in o?o.t:p(w))("login"))+" / "+u(("t"in o?o.t:p(w))("register")),1)]),_:1})]),_:1}))])])}}});const st=g(et,[["__scopeId","data-v-b6792b14"]]),ot={class:"flex h-[220px] min-w-[1200px] bg-[#3F4045]"},nt={class:"mt-[70px] w-full"},at={class:"text-center text-[#999]"},_t=t("span",null,"友情链接:",-1),ct=t("span",{class:"mr-[10px]"},"宝塔",-1),lt=t("span",{class:"mr-[10px]"},"开源中国",-1),pt=t("span",{class:"mr-[10px]"},"阿里云",-1),it=t("span",{class:"mr-[10px]"},"码云Gitee",-1),rt=t("span",{class:"mr-[10px]"},"腾讯云",-1),dt=t("span",{class:"mr-[10px]"},"微信公众平台",-1),ut=t("span",{class:"mr-[10px]"},"Thinkphp",-1),mt={class:"text-center mt-[20px] text-[#999]"},ht=x({__name:"index",setup(c){const _=V();return(()=>{j({}).then(l=>{_.value=l.data.icp})})(),(l,d)=>{const o=b;return i(),f("div",ot,[t("div",nt,[t("p",at,[_t,e(o,{to:"https://www.bt.cn"},{default:s(()=>[ct,a("| ")]),_:1}),e(o,{to:"https://www.oschina.net"},{default:s(()=>[lt,a("| ")]),_:1}),e(o,{to:"https://www.aliyun.com"},{default:s(()=>[pt,a("| ")]),_:1}),e(o,{to:"https://gitee.com/"},{default:s(()=>[it,a("| ")]),_:1}),e(o,{to:"https://cloud.tencent.com/"},{default:s(()=>[rt,a("| ")]),_:1}),e(o,{to:"https://mp.weixin.qq.com"},{default:s(()=>[dt,a("| ")]),_:1}),e(o,{to:"http://www.thinkphp.cn"},{default:s(()=>[ut]),_:1})]),t("p",mt,[e(o,{to:"https://beian.miit.gov.cn/"},{default:s(()=>[t("span",null,"备案号:"+u(_.value),1)]),_:1})])])])}}}),ft=x({__name:"default",setup(c){return(_,r)=>{const l=k,d=S,o=E;return i(),v(o,{class:"w-screen h-screen"},{default:s(()=>[e(l,{class:"shadow z-1"},{default:s(()=>[e(st)]),_:1}),e(d,{class:"p-0 min-w-[1200px]"},{default:s(()=>[L(_.$slots,"default",{},void 0,!0),e(ht)]),_:3})]),_:3})}}});const It=g(ft,[["__scopeId","data-v-33e94969"]]);export{It as default};
|