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 f,K as k}from"./vue.D1BjjNmv.js";import{m as w}from"./index.CL7yl-Wb.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"},b=a({name:"layoutLinkView"}),x=a({...b,setup(B){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,'页面 "'+f(s.$t(t.title))+'" 已在新窗口中打开',1),m(l,{class:"mt30",round:"",size:"default",onClick:e},{default:k(()=>o[0]||(o[0]=[n("i",{class:"iconfont icon-lianjie"},null,-1),n("span",null,"立即前往体验",-1)])),_:1})])])])}}}),j=y(x,[["__scopeId","data-v-25ff100b"]]);export{j as default};
