import{P as u}from"./page.3b4d44cb.js";import{b7 as f,b as g,ar as m,_ as b,c as s,e as h,k as v,i as o,g as r,h as a,m as w}from"./index.0308b213.js";import{a as D}from"./bulletin.2ddc9616.js";const C={components:{Page:u},setup(){const e=f(),n=g({loading:!0,tableData:[]}),c=t=>{e.push({path:"/store/shop/infoDetail",query:{id:t}})};return D({page:1}).then(t=>{console.log("\u8BF7\u6C42\u7ED3\u679C\uFF1A",t),n.tableData=t.list}).finally(()=>{n.loading=!1}),{...m(n),toInfoDetail:c}}};const k={class:"container"},x=["innerHTML"],y=w("\u67E5\u770B");function B(e,n,c,t,P,$){const l=s("el-table-column"),_=s("el-button"),d=s("el-table"),p=s("Page");return h(),v(p,{showBorder:!1,loading:e.loading},{main:o(()=>[r("div",k,[a(d,{data:e.tableData,border:"",style:{width:"100%"},align:"center"},{default:o(()=>[a(l,{prop:"addtime",label:"\u65F6\u95F4",align:"center",width:"200px"}),a(l,{label:"\u4FE1\u606F",align:"center"},{default:o(i=>[r("p",{innerHTML:i.row.content},null,8,x)]),_:1}),a(l,{label:"\u8BE6\u60C5",align:"center",width:"150px"},{default:o(i=>[a(_,{onClick:L=>e.toInfoDetail(i.row.id)},{default:o(()=>[y]),_:2},1032,["onClick"])]),_:1})]),_:1},8,["data"])])]),_:1},8,["loading"])}const T=b(C,[["render",B],["__scopeId","data-v-dd951e64"]]);export{T as default};
