diff --git a/.vscode/settings.json b/.vscode/settings.json index 54be7d8c..c93ad6a5 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -93,7 +93,7 @@ "i18n-ally.sortKeys": true, "i18n-ally.namespace": false, "i18n-ally.enabledParsers": ["ts"], - "i18n-ally.sourceLanguage": "en", + "i18n-ally.sourceLanguage": "zh-CN", "i18n-ally.displayLanguage": "zh-CN", "i18n-ally.enabledFrameworks": ["vue", "react"], "cSpell.words": [ diff --git a/package.json b/package.json index 4b5816bc..737e7ec9 100644 --- a/package.json +++ b/package.json @@ -39,6 +39,7 @@ "benz-amr-recorder": "^1.1.5", "bpmn-js-token-simulation": "^0.10.0", "camunda-bpmn-moddle": "^7.0.1", + "components": "link:@/components", "cropperjs": "^1.6.1", "crypto-js": "^4.2.0", "dayjs": "^1.11.10", @@ -83,8 +84,8 @@ "@types/qs": "^6.9.12", "@typescript-eslint/eslint-plugin": "^7.1.0", "@typescript-eslint/parser": "^7.1.0", - "@unocss/transformer-variant-group": "^0.58.5", "@unocss/eslint-config": "^0.57.4", + "@unocss/transformer-variant-group": "^0.58.5", "@vitejs/plugin-legacy": "^5.3.1", "@vitejs/plugin-vue": "^5.0.4", "@vitejs/plugin-vue-jsx": "^3.1.0", diff --git a/src/assets/imgs/tabbar/graycontacts.png b/src/assets/imgs/tabbar/graycontacts.png new file mode 100644 index 00000000..468a5bd0 Binary files /dev/null and b/src/assets/imgs/tabbar/graycontacts.png differ diff --git a/src/assets/imgs/tabbar/grayconversation.png b/src/assets/imgs/tabbar/grayconversation.png new file mode 100644 index 00000000..649dd113 Binary files /dev/null and b/src/assets/imgs/tabbar/grayconversation.png differ diff --git a/src/assets/imgs/tabbar/highlightconversation.png b/src/assets/imgs/tabbar/highlightconversation.png new file mode 100644 index 00000000..3cc43ec6 Binary files /dev/null and b/src/assets/imgs/tabbar/highlightconversation.png differ diff --git a/src/assets/imgs/tabbar/higtlightcontacts.png b/src/assets/imgs/tabbar/higtlightcontacts.png new file mode 100644 index 00000000..bb40a9fe Binary files /dev/null and b/src/assets/imgs/tabbar/higtlightcontacts.png differ diff --git a/src/assets/imgs/welcome/Group 78@3x.png b/src/assets/imgs/welcome/Group 78@3x.png new file mode 100644 index 00000000..d6f6a621 Binary files /dev/null and b/src/assets/imgs/welcome/Group 78@3x.png differ diff --git a/src/assets/imgs/welcome/Mask_group.png b/src/assets/imgs/welcome/Mask_group.png new file mode 100644 index 00000000..eea08407 Binary files /dev/null and b/src/assets/imgs/welcome/Mask_group.png differ diff --git a/src/assets/imgs/welcome/Mask_group2.png b/src/assets/imgs/welcome/Mask_group2.png new file mode 100644 index 00000000..d97a4823 Binary files /dev/null and b/src/assets/imgs/welcome/Mask_group2.png differ diff --git a/src/components/SearchInput/index.vue b/src/components/SearchInput/index.vue new file mode 100644 index 00000000..85b3cf62 --- /dev/null +++ b/src/components/SearchInput/index.vue @@ -0,0 +1,173 @@ + + + + + + + + + + + diff --git a/src/components/Welcome/index.vue b/src/components/Welcome/index.vue new file mode 100644 index 00000000..7b540790 --- /dev/null +++ b/src/components/Welcome/index.vue @@ -0,0 +1,73 @@ + + + + + + 欢迎体验 芋道 即时通讯 + 包含单聊群聊,添加好友,创建群组等功能,更多其他功能等你发现,快去试试吧! + + + + + + + diff --git a/src/layout/components/Chat/index.ts b/src/layout/components/Chat/index.ts new file mode 100644 index 00000000..68e1d602 --- /dev/null +++ b/src/layout/components/Chat/index.ts @@ -0,0 +1,3 @@ +import Chat from './src/Chat.vue' + +export { Chat } diff --git a/src/layout/components/Chat/src/Chat.vue b/src/layout/components/Chat/src/Chat.vue new file mode 100644 index 00000000..c8a201c5 --- /dev/null +++ b/src/layout/components/Chat/src/Chat.vue @@ -0,0 +1,28 @@ + + + + + + + + + + + + diff --git a/src/layout/components/ToolHeader.vue b/src/layout/components/ToolHeader.vue index 0b8d00d5..b1601729 100644 --- a/src/layout/components/ToolHeader.vue +++ b/src/layout/components/ToolHeader.vue @@ -1,6 +1,7 @@ + + + + diff --git a/src/views/im/Conversation/components/ConversationList.vue b/src/views/im/Conversation/components/ConversationList.vue new file mode 100644 index 00000000..d1c35400 --- /dev/null +++ b/src/views/im/Conversation/components/ConversationList.vue @@ -0,0 +1,263 @@ + + + + + + + + + + + + + + + 好友 + + [有人@我] + 好友 + {{ item.latestMessage.msg }} + + + + {{ formatDate(item.latestSendTime, 'MM/DD/HH:mm') }} + + + + + + + + 删除会话 + + + + + + + + + + diff --git a/src/views/im/Conversation/index.vue b/src/views/im/Conversation/index.vue new file mode 100644 index 00000000..82973dd5 --- /dev/null +++ b/src/views/im/Conversation/index.vue @@ -0,0 +1,42 @@ + + + + + + + + + + + + + + + + + + diff --git a/src/views/im/InformDetails/index.vue b/src/views/im/InformDetails/index.vue new file mode 100644 index 00000000..63cf316b --- /dev/null +++ b/src/views/im/InformDetails/index.vue @@ -0,0 +1,11 @@ + + + + + + + diff --git a/src/views/im/Message/index.vue b/src/views/im/Message/index.vue new file mode 100644 index 00000000..63cf316b --- /dev/null +++ b/src/views/im/Message/index.vue @@ -0,0 +1,11 @@ + + + + + + + diff --git a/src/views/im/NavBar/index.vue b/src/views/im/NavBar/index.vue new file mode 100644 index 00000000..a99dbb8c --- /dev/null +++ b/src/views/im/NavBar/index.vue @@ -0,0 +1,287 @@ + + + + + + + + + + + + + + + + + + + + diff --git a/src/views/im/index.vue b/src/views/im/index.vue new file mode 100644 index 00000000..650e4261 --- /dev/null +++ b/src/views/im/index.vue @@ -0,0 +1,53 @@ + + + + + + + + + + + + + + diff --git a/vite.config.ts b/vite.config.ts index 8cba9150..22158435 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -1,4 +1,4 @@ -import { resolve } from 'path' + import { resolve } from 'path' import { loadEnv } from 'vite' import type { UserConfig, ConfigEnv } from 'vite' import { createVitePlugins } from './build/vite'
包含单聊群聊,添加好友,创建群组等功能,更多其他功能等你发现,快去试试吧! +