Files
qhmes/deploy-qhmes/frontend/js/index-ydDqNlhI.js
2026-05-15 11:34:12 +08:00

2 lines
1.9 KiB
Java

import{d as w,aq as y,f as L,e as p,u as t,aI as S,ah as _,aC as $,ag as D,as as U,at as f,aF as b,au as n,k as G,av as F}from"./vue-vendor-C7Zq48Yl.js";import{bh as I,a9 as H}from"./antd-vue-vendor-BPnV8VqP.js";import{S as B,G as T,D as V}from"./siteSetting-DoyCDlSB.js";import{Y as E,R as v,n as W,aH as N,A,d as O}from"./index-BI6CMai0.js";import{u as j}from"./useContentViewHeight-BO9bTdue.js";import"./vxe-table-vendor-B88kchpX.js";import"./usePageContext-l-f4bNz7.js";import"./useWindowSizeFn-PRZSD86C.js";const d=w({name:"LayoutFooter",components:{Footer:H.Footer,GithubFilled:I},setup(){const{t:o}=E(),{getShowFooter:e}=v(),{currentRoute:m}=y(),{prefixCls:C}=W("layout-footer"),r=L(null),{setFooterHeight:a}=j(),{getDarkMode:i}=v(),u=p(()=>i.value===N.DARK),s=p(()=>{var c,g;if(t(e)){const l=(c=t(r))==null?void 0:c.$el;a((l==null?void 0:l.offsetHeight)||0)}else a(0);return t(e)&&!((g=t(m).meta)!=null&&g.hiddenFooter)}),k=p(()=>t(u)?"rgba(255, 255, 255, 1)":"rgba(0, 0, 0, 0.85)");return{getShowLayoutFooter:s,prefixCls:C,t:o,DOC_URL:V,GITHUB_URL:T,SITE_URL:B,openWindow:A,footerRef:r,hoverColor:k}}}),R=()=>{S(o=>({v0e89605e:o.hoverColor}))},h=d.setup;d.setup=h?(o,e)=>(R(),h(o,e)):R;function q(o,e,m,C,r,a){const i=_("GithubFilled"),u=_("Footer");return o.getShowLayoutFooter?(U(),$(u,{key:0,class:f(o.prefixCls),ref:"footerRef"},{default:b(()=>[n("div",{class:f(`${o.prefixCls}__links`)},[n("a",{onClick:e[0]||(e[0]=s=>o.openWindow(o.SITE_URL))},F(o.t("layout.footer.onlinePreview")),1),G(i,{onClick:e[1]||(e[1]=s=>o.openWindow(o.GITHUB_URL)),class:f(`${o.prefixCls}__github`)},null,8,["class"]),n("a",{onClick:e[2]||(e[2]=s=>o.openWindow(o.DOC_URL))},F(o.t("layout.footer.onlineDocument")),1)],2),e[3]||(e[3]=n("div",null,"Copyright ©2021 JEECG开源社区 出品",-1))]),_:1},8,["class"])):D("",!0)}const Z=O(d,[["render",q],["__scopeId","data-v-6c8f34af"]]);export{Z as default};