yxh
2023-06-29 4105c9b7b77c8be32b42f9f0c1e75ecf05a677f5
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
import ContactsData from "./contacts";
import UserData from "./user";
const generateRandId = () => {
  return Math.random().toString(36).substr(-8);
};
const getContact = (id) => {
  const data = ContactsData.find((contact) => contact.id == id);
  return { id: data.id, avatar: data.avatar, displayName: data.displayName };
};
export default {
  1: [
    {
      id: generateRandId(),
      status: "succeed",
      type: "text",
      sendTime: 1566047865417,
      content: "问你件事",
      toContactId: 1,
      fromUser: UserData
    },
    {
      id: generateRandId(),
      status: "succeed",
      type: "text",
      sendTime: 1566047865417,
      content: "啥子。",
      toContactId: 1,
      fromUser: getContact(1)
    },
    {
      id: generateRandId(),
      status: "succeed",
      type: "text",
      sendTime: 1566047865417,
      content: "为什么",
      toContactId: 1,
      fromUser: UserData
    },
    {
      id: generateRandId(),
      status: "succeed",
      type: "text",
      sendTime: 1566047865417,
      content: "你穿了高跟鞋还这么矮",
      toContactId: 1,
      fromUser: UserData
    },
    {
      id: generateRandId(),
      status: "succeed",
      type: "text",
      sendTime: 1566047865417,
      content: "因为我矮啊。[!1f600][!1f600][!1f600]",
      toContactId: 1,
      fromUser: getContact(1)
    },
    {
      id: generateRandId(),
      status: "succeed",
      type: "text",
      sendTime: 1566047865417,
      content: "你开心吗",
      toContactId: 1,
      fromUser: getContact(1)
    }
  ],
  2: [],
  3: [],
  4: [],
  5: [],
  6: [],
  7: [],
  8: [],
  9: [],
  10: [],
  11: [],
  12: [],
  13: [
    {
      id: generateRandId(),
      status: "succeed",
      type: "text",
      sendTime: 1566047865417,
      content: "我是测试时候看到的",
      toContactId: 1,
      fromUser: getContact(4)
    },
    {
      id: generateRandId(),
      status: "succeed",
      type: "text",
      sendTime: 1566047865417,
      content: "上新版本了,玩玩",
      toContactId: 1,
      fromUser: getContact(4)
    },
    {
      id: generateRandId(),
      status: "succeed",
      type: "text",
      sendTime: 1566047865417,
      content: "项目内没有搞这个",
      toContactId: 1,
      fromUser: getContact(4)
    },
    {
      id: generateRandId(),
      status: "succeed",
      type: "text",
      sendTime: 1566047865417,
      content: "@awesome 最新的,不然哪有这功能",
      toContactId: 1,
      fromUser: getContact(5)
    },
    {
      id: generateRandId(),
      status: "succeed",
      type: "text",
      sendTime: 1566047865417,
      content: "其实是跟你的遮罩层有冲突",
      toContactId: 1,
      fromUser: getContact(4)
    },
    {
      id: generateRandId(),
      status: "succeed",
      type: "text",
      sendTime: 1566047865417,
      content: "自己修改index哈",
      toContactId: 1,
      fromUser: UserData
    },
    {
      id: generateRandId(),
      status: "succeed",
      type: "text",
      sendTime: 1566047865417,
      content: "你们升级到最近版了吗?",
      toContactId: 1,
      fromUser: getContact(6)
    },
    {
      id: generateRandId(),
      status: "succeed",
      type: "text",
      sendTime: 1566047865417,
      content: "wo 现在用的142",
      toContactId: 1,
      fromUser: getContact(7)
    }
  ],
  14: [],
  15: []
};