chat-app/src/uni_modules/tmui/components/tm-time-view/interface.ts
scout b54bfe63ad
Some checks are pending
Check / lint (push) Waiting to run
Check / typecheck (push) Waiting to run
Check / build (build, 18.x, ubuntu-latest) (push) Waiting to run
Check / build (build, 18.x, windows-latest) (push) Waiting to run
Check / build (build:app, 18.x, ubuntu-latest) (push) Waiting to run
Check / build (build:app, 18.x, windows-latest) (push) Waiting to run
Check / build (build:mp-weixin, 18.x, ubuntu-latest) (push) Waiting to run
Check / build (build:mp-weixin, 18.x, windows-latest) (push) Waiting to run
init
2024-11-11 14:46:14 +08:00

28 lines
620 B
TypeScript

export interface showDetail {
year: boolean,
month: boolean,
day: boolean,
hour: boolean,
minute: boolean,
second: boolean,
}
export enum timeDetailType {
year = "year",
month = "month",
day = "date",
hour = "hour",
minute = "minute",
second = "second",
}
export interface coltimeData {
type: timeDetailType,//数据格式类型,如上 timeDetailType
data: Array<number>
}
export interface timeArrayType {
year: Array<number>,
month: Array<number>,
date: Array<number>,
hour: Array<number>,
minute: Array<number>,
second: Array<number>,
}