"use strict";const e=require("../../../common/vendor.js"),o=require("./model.js"),i=require("./method.js");require("../../../common/libraries/apiLoading.js"),require("../../../gen/Apis.js"),require("../../../common/libraries/request.js"),require("../../../common/store/useWeAppAuthStore.js"),require("../../../common/libraries/setTabBar.js"),require("../../../common/store/useWorkStore.js");const r=e.defineComponent({__name:"index",setup(r){const n=()=>{e.index.navigateTo({url:"/INDEX/message_center/list/index"})};return e.onLoad((()=>{var e;null==(e=i.method)||e.getList()})),(i,r)=>{var l,t;return{a:e.f(null==(t=null==(l=e.unref(o.useModel))?void 0:l.items)?void 0:t.value,((o,i,r)=>{var l,t,u,s;return e.e({a:`/static/svg/${null==o?void 0:o.icon}`,b:null==o?void 0:o.count},(null==o?void 0:o.count)?{c:e.t(null==o?void 0:o.count)}:{},{d:e.t(null==o?void 0:o.label),e:e.t((null==(l=null==o?void 0:o.des)?void 0:l.created_at)||""),f:null==(t=null==o?void 0:o.des)?void 0:t.title},(null==(u=null==o?void 0:o.des)?void 0:u.title)?{g:e.t((null==(s=null==o?void 0:o.des)?void 0:s.title)||"暂无消息")}:{},{h:`items_${i}`,i:e.o(n,`items_${i}`)})}))}}}});wx.createPage(r);
