This commit is contained in:
marzban-dev
2025-05-09 21:20:46 +03:30
parent 02e34a2994
commit f835e74b70
3 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -34,7 +34,7 @@ const page = computed({
<PaginationRoot
:total="total"
:sibling-count="1"
:items-per-page="9"
:items-per-page="15"
show-edges
v-model:page="page"
>
@@ -39,8 +39,8 @@ const useGetProducts = (params?: ComputedRef<GetProductsFilters>) => {
category: params?.category,
price_gte: params?.price_gte,
price_lte: params?.price_lte,
offset: Number(params?.page) * 12 - 12,
limit: 12
offset: Number(params?.page) * 15 - 15,
limit: 15
}
}
);
+1 -1
View File
@@ -133,7 +133,7 @@ watch(
class="!p-0"
/>
<div
v-if="data && paginationData && data.count > 10"
v-if="data && paginationData && data.count > 15"
class="w-full flex-center py-10"
>
<Pagination