import { useSSRContext, mergeProps, unref } from 'file://D:/MyProject/gogs/sannongzixunwang_web_ssr/sannongzixunwang_web/node_modules/vue/index.mjs'; import { ssrRenderAttrs, ssrRenderComponent } from 'file://D:/MyProject/gogs/sannongzixunwang_web_ssr/sannongzixunwang_web/node_modules/vue/server-renderer/index.mjs'; import { ElPagination } from 'file://D:/MyProject/gogs/sannongzixunwang_web_ssr/sannongzixunwang_web/node_modules/element-plus/es/index.mjs'; import { u as useState } from './nuxt-link-CNYVy7_w.mjs'; import { _ as _export_sfc } from './server.mjs'; const _sfc_main = { __name: "Pagination", __ssrInlineRender: true, props: { total: Number }, emits: ["sendData"], setup(__props, { emit: __emit }) { const emit = __emit; let page = useState("page", () => 1); const props = __props; let change = (value) => { console.log("\u5F53\u524D\u9875\u7801", value); page.value = value; console.log(page.value); const data = { value: page.value }; emit("sendData", data); }; return (_ctx, _push, _parent, _attrs) => { _push(``); _push(ssrRenderComponent(unref(ElPagination), { size: "small", background: "", layout: "prev, pager, next", total: props.total, class: "mt-4", "prev-text": "\u4E0A\u4E00\u9875", "next-text": "\u4E0B\u4E00\u9875", onChange: unref(change) }, null, _parent)); _push(``); }; } }; const _sfc_setup = _sfc_main.setup; _sfc_main.setup = (props, ctx) => { const ssrContext = useSSRContext(); (ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("components/home/Pagination.vue"); return _sfc_setup ? _sfc_setup(props, ctx) : undefined; }; const __nuxt_component_3 = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-64a0ee1a"]]); export { __nuxt_component_3 as _ }; //# sourceMappingURL=Pagination-BbDX_CCh.mjs.map