index-wV-_zoAP.js 1.3 KB

1
  1. import{S as y,G as g,D as k}from"./siteSetting-BSGR9S7Z.js";import{p as C,k as v,e as S,I as i,_ as h}from"./entry/index-BaQQ7BQ_.js";import{d as I,Y as L,f as R,c as x,u as e,Z as F,a6 as $,a7 as b,a1 as u,aa as w,$ as a,a0 as d,k as D,a2 as B,a3 as H}from"./vue-CF9JqwIh.js";import{a as U}from"./useContentViewHeight-DuQo8tYw.js";import{L as V,bn as G}from"./antd-ILpsl5AZ.js";import"./useWindowSizeFn-CiJNBK0Q.js";const N=s=>(B("data-v-a1a86b86"),s=s(),H(),s),T=N(()=>a("div",null,"Copyright ©2020 Vben Admin",-1)),z=I({name:"LayoutFooter",__name:"index",setup(s){const{t:l}=S(),{getShowFooter:c}=C(),{currentRoute:m}=L(),{prefixCls:n}=v("layout-footer"),p=R(null),{setFooterHeight:f}=U(),_=x(()=>{var r,o;if(e(c)){const t=(r=e(p))==null?void 0:r.$el;f((t==null?void 0:t.offsetHeight)||0)}else f(0);return e(c)&&!((o=e(m).meta)!=null&&o.hiddenFooter)});return(r,o)=>_.value?(F(),$(e(V).Footer,{key:0,class:u(e(n)),ref_key:"footerRef",ref:p},{default:b(()=>[a("div",{class:u(`${e(n)}__links`)},[a("a",{onClick:o[0]||(o[0]=t=>e(i)(e(y)))},d(e(l)("layout.footer.onlinePreview")),1),D(e(G),{onClick:o[1]||(o[1]=t=>e(i)(e(g))),class:u(`${e(n)}__github`)},null,8,["class"]),a("a",{onClick:o[2]||(o[2]=t=>e(i)(e(k)))},d(e(l)("layout.footer.onlineDocument")),1)],2),T]),_:1},8,["class"])):w("",!0)}}),j=h(z,[["__scopeId","data-v-a1a86b86"]]);export{j as default};