CaiYuanYiTiHua/src/layouts/default/header/components/notify/data.ts

42 lines
642 B
TypeScript

export interface ListItem {
id: string;
// 头像
avatar: string;
// 通知的标题内容
title: string;
// 是否在标题上显示删除线
titleDelete?: boolean;
datetime: string;
type: string;
read?: boolean;
description: string;
clickClose?: boolean;
extra?: string;
color?: string;
}
export interface TabItem {
key: string;
name: string;
list: ListItem[];
unreadlist?: ListItem[];
}
export const tabListData: TabItem[] = [
{
key: '1',
name: '消息',
list: [],
},
{
key: '2',
name: '通知',
list: [],
},
{
key: '3',
name: '待办',
list: [],
},
];