import{a,aB as c,_ as d,w as u,aj as r,c as p,o as _,b as n,S as m,Q as k,K as f}from"./vue.YrNK8sx4.js";import{j as w}from"./index.BKEMpsLA.js";import{_ as y}from"./_plugin-vue_export-helper.DlAUqK2U.js";const v={class:"layout-padding layout-link-container"},g={class:"layout-padding-auto layout-padding-view"},L={class:"layout-link-warp"},h={class:"layout-link-msg"},x=a({name:"layoutLinkView"}),B=a({...x,setup(C){const i=c(),t=d({title:"",isLink:""}),e=()=>{const{origin:s,pathname:o}=window.location;w(t.isLink)?window.open(t.isLink):window.open(`${s}${o}#${t.isLink}`)};return u(()=>i.path,()=>{t.title=i.meta.title,t.isLink=i.meta.isLink},{immediate:!0}),(s,o)=>{const l=r("el-button");return _(),p("div",v,[n("div",g,[n("div",L,[o[1]||(o[1]=n("i",{class:"layout-link-icon iconfont icon-xingqiu"},null,-1)),n("div",h,'页面 "'+k(s.$t(t.title))+'" 已在新窗口中打开',1),m(l,{class:"mt30",round:"",size:"default",onClick:e},{default:f(()=>o[0]||(o[0]=[n("i",{class:"iconfont icon-lianjie"},null,-1),n("span",null,"立即前往体验",-1)])),_:1})])])])}}}),V=y(B,[["__scopeId","data-v-60371672"]]);export{V as default};
