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