feat(pc-client): 第二批登录、会话、聊天与添加同事界面按规范收口

Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: multica-agent <github@multica.ai>
This commit is contained in:
编码工程师
2026-08-20 03:51:28 +08:00
co-authored by Cursor multica-agent
parent d1657ea29f
commit a44537da4e
20 changed files with 520 additions and 298 deletions
+15 -12
View File
@@ -1,23 +1,26 @@
import { Layout } from "antd";
import { useTranslation } from "react-i18next";
const LinearChatIcon = () => (
<svg width="64" height="64" viewBox="0 0 24 24" fill="none">
<path
d="M5 6.5h14a1.5 1.5 0 0 1 1.5 1.5v8a1.5 1.5 0 0 1-1.5 1.5h-7.2L7 20.5v-2.5H5A1.5 1.5 0 0 1 3.5 16V8A1.5 1.5 0 0 1 5 6.5Z"
stroke="var(--gap-text)"
strokeWidth="1.6"
strokeLinejoin="round"
/>
</svg>
);
export const EmptyChat = () => {
const { t } = useTranslation();
return (
<Layout className="no-mobile flex items-center justify-center !bg-[var(--chat-bg)]">
<Layout className="no-mobile flex items-center justify-center bg-[var(--chat-bg)]">
<div className="flex flex-col items-center">
<div className="flex h-16 w-16 items-center justify-center rounded-2xl bg-[var(--primary)]">
<svg width="34" height="34" viewBox="0 0 24 24" fill="none">
<path
d="M12 3C6.98 3 3 6.58 3 11.1c0 2.5 1.28 4.73 3.28 6.24-.1.84-.46 1.87-1.02 2.66-.15.21.02.5.27.44 1.53-.34 2.92-1.03 3.9-1.73.82.18 1.68.29 2.57.29 5.02 0 9-3.58 9-8.1S17.02 3 12 3Z"
fill="#fff"
/>
</svg>
</div>
<div className="mt-4 text-base font-medium">{t("placeholder.title")}</div>
<div className="mt-1 text-xs text-[var(--sub-text)]">
{t("placeholder.subTitle")}
<LinearChatIcon />
<div className="mt-4 text-base font-medium text-[var(--base-black)]">
{t("placeholder.emptyChat")}
</div>
</div>
</Layout>