"use strict";const e=require("../../../common/vendor.js"),o=require("./model.js"),n=require("./method.js"),r=require("../../../common/libraries/day.js");if(require("../../../common/libraries/apiLoading.js"),require("../../../gen/Apis.js"),require("../../../common/libraries/request.js"),require("../../../common/store/useWeAppAuthStore.js"),require("../../../common/store/useWatermarkStore.js"),require("../../../common/store/useWorkStore.js"),!Array){(e.resolveComponent("uni-icons")+e.resolveComponent("cc-scroll-loading"))()}Math||((()=>"../../../uni_modules/uni-icons/components/uni-icons/uni-icons.js")+(()=>"../../../common/components/cc-scroll-loading/cc-scroll-loading.js"))();const i=e.defineComponent({__name:"index",setup:i=>(e.onLoad(()=>{n.method.getList()}),e.onUnload(()=>{o.useModel.listData.value=[]}),(i,s)=>{var l,t,u,a,d;return{a:e.f(null==(t=null==(l=e.unref(o.useModel))?void 0:l.listData)?void 0:t.value,(o,i,s)=>({a:e.t((null==o?void 0:o.title)||""),b:e.t(e.unref(r.showDay)(null==o?void 0:o.publish_at)),c:null==o?void 0:o.content,d:"2ef6a311-1-"+s+",2ef6a311-0",e:`news_${i}`,f:e.o(r=>{var i;return null==(i=e.unref(n.method))?void 0:i.toDetaile(o)},`news_${i}`)})),b:e.p({type:"right",size:"15"}),c:e.o(null==(u=e.unref(n.method))?void 0:u.loadMore),d:e.p({meta:null==(d=null==(a=e.unref(o.useModel))?void 0:a.metaData)?void 0:d.value})}})});wx.createPage(i);
