refactor: rewrite and expand mock data into modular files
This commit is contained in:
@@ -0,0 +1,109 @@
|
||||
import type { Notification } from "../types"
|
||||
|
||||
export const mockNotifications: Notification[] = [
|
||||
{
|
||||
id: "n1",
|
||||
type: "order",
|
||||
title: "订单已接单",
|
||||
content: "琪琪接了你的王者荣耀订单,去聊天约时间吧",
|
||||
read: false,
|
||||
link: "/order/ord10",
|
||||
createdAt: "2025-02-06T19:08:00Z",
|
||||
},
|
||||
{
|
||||
id: "n2",
|
||||
type: "order",
|
||||
title: "订单已完成",
|
||||
content: "你和俊俊的LOL订单已完成,快去评价吧",
|
||||
read: false,
|
||||
link: "/order/ord1",
|
||||
createdAt: "2025-01-05T22:25:00Z",
|
||||
},
|
||||
{
|
||||
id: "n3",
|
||||
type: "order",
|
||||
title: "争议处理中",
|
||||
content: "你提交的订单争议已进入审核,请耐心等待",
|
||||
read: true,
|
||||
link: "/dispute/ord14",
|
||||
createdAt: "2025-02-15T10:05:00Z",
|
||||
},
|
||||
{
|
||||
id: "n4",
|
||||
type: "community",
|
||||
title: "帖子获得点赞",
|
||||
content: "你的帖子「找了个LOL陪玩 三把全赢了」又多了87个赞",
|
||||
read: false,
|
||||
link: "/post/p1",
|
||||
createdAt: "2025-01-08T20:00:00Z",
|
||||
},
|
||||
{
|
||||
id: "n5",
|
||||
type: "community",
|
||||
title: "新评论",
|
||||
content: "俊俊评论了你的帖子",
|
||||
read: false,
|
||||
link: "/post/p2",
|
||||
createdAt: "2025-01-06T10:00:00Z",
|
||||
},
|
||||
{
|
||||
id: "n6",
|
||||
type: "system",
|
||||
title: "平台公告",
|
||||
content: "春节活动上线,2月1日至2月15日全场服务享9折优惠",
|
||||
read: true,
|
||||
createdAt: "2025-01-28T00:00:00Z",
|
||||
},
|
||||
{
|
||||
id: "n7",
|
||||
type: "order",
|
||||
title: "新订单待接单",
|
||||
content: "莫莫下了一个原神深渊代打的单,快去看看",
|
||||
read: false,
|
||||
link: "/order/ord12",
|
||||
createdAt: "2025-02-10T20:00:00Z",
|
||||
},
|
||||
{
|
||||
id: "n8",
|
||||
type: "community",
|
||||
title: "帖子被引用",
|
||||
content: "zz引用了你的帖子「吐槽一下,有些打手真的不行」",
|
||||
read: true,
|
||||
link: "/post/p10",
|
||||
createdAt: "2025-01-14T10:05:00Z",
|
||||
},
|
||||
{
|
||||
id: "n9",
|
||||
type: "system",
|
||||
title: "认证通过",
|
||||
content: "你的打手认证已通过,现在可以发布服务了",
|
||||
read: true,
|
||||
createdAt: "2024-12-20T09:00:00Z",
|
||||
},
|
||||
{
|
||||
id: "n10",
|
||||
type: "order",
|
||||
title: "订单已取消",
|
||||
content: "玲玲取消了CS2车队位的订单",
|
||||
read: true,
|
||||
link: "/order/ord15",
|
||||
createdAt: "2025-02-16T18:05:00Z",
|
||||
},
|
||||
{
|
||||
id: "n11",
|
||||
type: "community",
|
||||
title: "新评论",
|
||||
content: "Winter评论了你的帖子「LOL双排接单攻略」",
|
||||
read: false,
|
||||
link: "/post/p3",
|
||||
createdAt: "2025-01-11T10:45:00Z",
|
||||
},
|
||||
{
|
||||
id: "n12",
|
||||
type: "system",
|
||||
title: "系统维护通知",
|
||||
content: "2月20日凌晨2:00-4:00进行系统维护,届时无法下单",
|
||||
read: false,
|
||||
createdAt: "2025-02-18T12:00:00Z",
|
||||
},
|
||||
]
|
||||
Reference in New Issue
Block a user