import{e as p,G as b,o as f,a0 as h,g as a,h as n,j as t,z as r,x as m,F as w,Q as y,p as k}from"./vue.e266cb73.js";import{r as l}from"./index.4cfd29fc.js";import{I as x}from"./index.84508c37.js";import{ad as d}from"./index.dcc65bf7.js";import{_ as L}from"./_plugin-vue_export-helper.c27b6911.js";import"./_commonjsHelpers.35101cd5.js";import"./index.3f666869.js";import"./keepAliveNames.4207d036.js";import"./routesList.786cc129.js";import"./themeConfig.6ee651cb.js";import"./storage.acfc8920.js";import"./preload-helper.41c905a7.js";import"./userInfo.0308cef3.js";import"./loading.85c4a19d.js";import"./tagsViewRoutes.02a94730.js";import"./request.1f3df8c8.js";import"./config.3668004a.js";import"./index.4f91577e.js";import"./index.f84209b0.js";import"./Urls.0e831389.js";const B={class:"layout-navbars-breadcrumb-user-news"},C={class:"head-box"},N={class:"head-box-title"},G={class:"content-box"},M={class:"content-box-msg"},$={class:"content-box-time"},D=p({name:"layoutBreadcrumbUserNews"}),E=p({...D,emits:["refresh"],setup(I,{expose:_,emit:F}){const o=b({newsList:[],param:{keyword:"",page:1,list_rows:10}}),c=async()=>{let e=await x.message(o.param);if(e.code!=0)return d.error(e.msg);e.data.data.forEach(s=>{s.is_read==0&&o.newsList.push({label:s.title,value:s.content,time:s.update_time,is_read:s.is_read})})};f(()=>{c()});const u=()=>{if(l.currentRoute.value.name=="systemMessage")return d.warning("您已经在通知中心了");l.replace({name:"systemMessage"})};return _({getList:c}),(e,s)=>{const g=h("el-empty");return a(),n("div",B,[t("div",C,[t("div",N,r(e.$t("message.user.newTitle")),1),m(`