This commit is contained in:
fan
2019-10-24 19:48:49 +08:00
parent f4bda4688c
commit 387ba9640c
55 changed files with 4784 additions and 2756 deletions
+16
View File
@@ -0,0 +1,16 @@
export const EMIT_AVATAR_CLICK = "avatar-click";
export const DEFAULT_MENU_LASTMESSAGES = "lastMessages";
export const DEFAULT_MENU_CONTACTS = "contacts";
export const DEFAULT_MENUS = [DEFAULT_MENU_LASTMESSAGES, DEFAULT_MENU_CONTACTS];
/**
* 聊天消息类型
*/
export const MESSAGE_TYPE = ["voice", "file", "video", "image", "text"];
/**
* 聊天消息状态
*/
export const MESSAGE_STATUS = ["going", "succeed", "failed"];
export const CONTACT_TYPE = ["many", "single"];