mirror of
https://gitee.com/XM-GO/PandaX.git
synced 2026-04-23 10:58:35 +08:00
2 lines
1.1 KiB
JavaScript
2 lines
1.1 KiB
JavaScript
var c=Object.defineProperty;var n=Object.getOwnPropertySymbols;var l=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable;var o=(e,a,t)=>a in e?c(e,a,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[a]=t,i=(e,a)=>{for(var t in a||(a={}))l.call(a,t)&&o(e,t,a[t]);if(n)for(var t of n(a))f.call(a,t)&&o(e,t,a[t]);return e};import{h as m,L as p,i as h,I as d,O as g,t as k,l as v,m as R,x as u,J as _,C as w}from"./vendor.14d7a511.js";import{_ as y,u as L}from"./index.1f7143d6.js";const $=m({name:"layoutLinkView",setup(){const e=p(),a=L(),t=h({currentRouteMeta:{}}),s=d(()=>{let{isTagsview:r}=a.state.themeConfig.themeConfig;return r?"114px":"80px"});return g(()=>e.path,()=>{t.currentRouteMeta=e.meta},{immediate:!0}),i({setLinkHeight:s},k(t))}}),M=["href"];function x(e,a,t,s,r,C){return w(),v("div",{class:"layout-view-bg-white flex layout-view-link",style:_({height:`calc(100vh - ${e.setLinkHeight}`})},[R("a",{href:e.currentRouteMeta.isLink,target:"_blank",rel:"opener",class:"flex-margin"},u(e.$t(e.currentRouteMeta.title))+"\uFF1A"+u(e.currentRouteMeta.isLink),9,M)],4)}var j=y($,[["render",x]]);export{j as default};
|