FEAT => 本次更新项目为:
This commit is contained in:
@@ -63,7 +63,6 @@
|
|||||||
.lastMessage {
|
.lastMessage {
|
||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
color: #8c8c8c;
|
color: #8c8c8c;
|
||||||
overflow: hidden;
|
|
||||||
text-overflow: ellipsis;
|
text-overflow: ellipsis;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
flex: 1;
|
flex: 1;
|
||||||
@@ -71,7 +70,7 @@
|
|||||||
padding-right: 5px;
|
padding-right: 5px;
|
||||||
height: 18px; // 添加固定高度
|
height: 18px; // 添加固定高度
|
||||||
line-height: 18px; // 设置行高与高度一致
|
line-height: 18px; // 设置行高与高度一致
|
||||||
|
|
||||||
&::before {
|
&::before {
|
||||||
content: attr(data-count);
|
content: attr(data-count);
|
||||||
position: absolute;
|
position: absolute;
|
||||||
@@ -88,7 +87,7 @@
|
|||||||
text-align: center;
|
text-align: center;
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
&[data-count]:not([data-count=""]):not([data-count="0"]) {
|
&[data-count]:not([data-count=""]):not([data-count="0"]) {
|
||||||
&::before {
|
&::before {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
@@ -106,7 +105,7 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.lastDayMessage {
|
.lastDayMessage {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
bottom: 0;
|
bottom: 0;
|
||||||
|
|||||||
27
Cunkebao/src/store/module/websocket/msg.data.ts
Normal file
27
Cunkebao/src/store/module/websocket/msg.data.ts
Normal file
@@ -0,0 +1,27 @@
|
|||||||
|
export interface FriendMessage {
|
||||||
|
id: number;
|
||||||
|
wechatFriendId: number;
|
||||||
|
wechatAccountId: number;
|
||||||
|
tenantId: number;
|
||||||
|
accountId: number;
|
||||||
|
synergyAccountId: number;
|
||||||
|
content: string;
|
||||||
|
msgType: number;
|
||||||
|
msgSubType: number;
|
||||||
|
msgSvrId: string;
|
||||||
|
isSend: boolean;
|
||||||
|
createTime: string;
|
||||||
|
isDeleted: boolean;
|
||||||
|
deleteTime: string;
|
||||||
|
sendStatus: number;
|
||||||
|
wechatTime: number;
|
||||||
|
origin: number;
|
||||||
|
msgId: number;
|
||||||
|
recalled: boolean;
|
||||||
|
}
|
||||||
|
export interface Messages {
|
||||||
|
friendMessage: FriendMessage | null;
|
||||||
|
chatroomMessage: string;
|
||||||
|
seq: number;
|
||||||
|
cmdType: string;
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user