import{d as v,l as g,a as _,c as m,e as t,q as a,t as l,f as h,w as C,v as f,h as x,o as w}from"./index-C6Ampb56.js";const y={key:0,class:"news-content-section pt-60"},V={class:"container"},k={class:"row newBox"},z={class:"col-lg-12 col-md-12 content"},B={class:"page mt-30 mb-30"},N={class:"d-flex justify-content-center align-items-end cannot_selected",style:{position:"relative"}},b={class:"page-des align-items-start cannot_selected"},j={class:"page-des2 align-items-end cannot_selected pc"},M=v({__name:"pagination",props:{data:Object},emits:[],setup(i,{emit:c}){const r=c,d=i,e=g({});e.value=d.data;function u(n){r("pagination",n),e.value.count=n}return(n,s)=>{const p=_("el-pagination");return e.value.total?(w(),m("div",y,[t("div",V,[t("div",k,[t("div",z,[t("div",B,[t("div",N,[t("div",b,[a("共"),t("span",null,l(Math.ceil(e.value.total/e.value.size)),1),a("页，共"),t("span",null,l(e.value.total),1),a("条信息")]),h(p,{"prev-text":"上一页","next-text":"下一页","page-size":e.value.size,"current-page":e.value.count,background:"",layout:"prev, pager, next",total:e.value.total,onCurrentChange:u},null,8,["page-size","current-page","total"]),t("div",j,[a("前往第 "),C(t("input",{"onUpdate:modelValue":s[0]||(s[0]=o=>e.value.count=o),class:"previous",onChange:s[1]||(s[1]=(...o)=>n.currentChange&&n.currentChange(...o))},null,544),[[f,e.value.count]]),a(" 页 ")])])])])])])])):x("",!0)}}});export{M as _};
