"use strict";const e=require("../../components/request.js"),t=require("../../common/vendor.js"),r={data:()=>({list:[],triggered:!1,page:0,pageSize:10}),onShareAppMessage(e){if("menu"===e.from)return{title:"分享",path:getCurrentPages()[getCurrentPages().length-1].route}},onLoad(){this.getlist()},methods:{getlist(){e.request({url:"systemMessage/list",data:{page:this.page,size:this.pageSize},method:"POST"}).then((e=>{this.triggered=!1,console.log(e),200===e.code&&this.list.push(...e.data)}))},onRefresherRefresh(){console.log("下拉刷新"),this.triggered=!0,this.list=[],this.page=0,this.getlist()},onScrollToLower(){this.page++,this.getlist()}},components:{tabBar:()=>"../../components/tabBar/tabBar.js"}};if(!Array){t.resolveComponent("tabBar")()}Math;const s=t._export_sfc(r,[["render",function(e,r,s,o,a,i){return{a:t.f(a.list,((e,r,s)=>({a:t.t(e.title),b:t.t(e.content),c:t.t(e.time),d:r}))),b:t.o(((...e)=>i.onRefresherRefresh&&i.onRefresherRefresh(...e))),c:t.o(((...e)=>i.onScrollToLower&&i.onScrollToLower(...e))),d:a.triggered,e:t.p({tabIndex:1})}}],["__scopeId","data-v-49cfb45d"]]);r.__runtimeHooks=2,wx.createPage(s);
