update Page obj

This commit is contained in:
Timi
2025-12-08 17:14:00 +08:00
parent a25c38d50d
commit 71fc077726
5 changed files with 34 additions and 18 deletions

View File

@ -3,7 +3,7 @@
import Time from "../../../utils/Time";
import config from "../../../config/index"
import Events from "../../../utils/Events";
import { QueryPage } from "../../../types/Model";
import { JournalPage, JournalPageType } from "../../../types/Journal";
export type Journal = {
date: string;
@ -25,7 +25,7 @@ export enum JournalItemType {
}
interface JournalData {
page: QueryPage;
page: JournalPage;
list: Journal[];
dateFilterMin: number;
dateFilterMax: number;
@ -42,6 +42,7 @@ Page({
page: {
index: 0,
size: 8,
type: JournalPageType.NORMAL,
likeMap: {
type: "NORMAL"
}
@ -66,7 +67,8 @@ Page({
page: {
index: 0,
size: 8,
likeMap: {
type: JournalPageType.NORMAL,
equealsExample: {
type: "NORMAL"
}
},
@ -175,7 +177,8 @@ Page({
page: {
index: this.data.page.index + 1,
size: 8,
likeMap: {
type: JournalPageType.NORMAL,
equealsExample: {
type: "NORMAL"
}
},