From 273371f23ea48431693a1ea7fa1dc3b43777d1f6 Mon Sep 17 00:00:00 2001 From: liuyonghe0111 <1763195287@qq.com> Date: Wed, 7 Jan 2026 15:00:39 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E4=BC=98=E5=8C=96=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/app/(main)/chat/Drawer/index.tsx | 7 +++++-- src/app/(main)/profile/components/ProfileDropdown.tsx | 2 +- src/components/features/StoryContent/Dialog.tsx | 2 +- src/layout/BasicLayout/BottomBar.tsx | 2 +- 4 files changed, 8 insertions(+), 5 deletions(-) diff --git a/src/app/(main)/chat/Drawer/index.tsx b/src/app/(main)/chat/Drawer/index.tsx index 7076d73..580691d 100644 --- a/src/app/(main)/chat/Drawer/index.tsx +++ b/src/app/(main)/chat/Drawer/index.tsx @@ -67,7 +67,10 @@ export default function SettingDialog({ open, onOpenChange }: SettingProps) { return ( - + {activeTab === 'profile' ? ( @@ -80,7 +83,7 @@ export default function SettingDialog({ open, onOpenChange }: SettingProps) { )} -
+
{activeTab === 'profile' && } {activeTab === 'mask_list' && } {activeTab === 'mask_create' && } diff --git a/src/app/(main)/profile/components/ProfileDropdown.tsx b/src/app/(main)/profile/components/ProfileDropdown.tsx index a956451..ef78a02 100644 --- a/src/app/(main)/profile/components/ProfileDropdown.tsx +++ b/src/app/(main)/profile/components/ProfileDropdown.tsx @@ -12,7 +12,7 @@ import { useLogout } from '@/hooks/auth'; import Link from 'next/link'; import { useState } from 'react'; import { useLayoutStore } from '@/stores'; -import { useStreamChatStore } from '../../chat/[id]/stream-chat'; +import { useStreamChatStore } from '../../chat/stream-chat'; import { useAsyncFn } from '@/hooks/tools'; import IconFont from '@/components/ui/iconFont'; import { useTranslations } from 'next-intl'; diff --git a/src/components/features/StoryContent/Dialog.tsx b/src/components/features/StoryContent/Dialog.tsx index 4d648b8..014ac5d 100644 --- a/src/components/features/StoryContent/Dialog.tsx +++ b/src/components/features/StoryContent/Dialog.tsx @@ -36,7 +36,7 @@ export default function StoryDialog({ open, onOpenChange }: StoryDialogProps) { return ( - +
The Bossy CEO’s Contract Lover diff --git a/src/layout/BasicLayout/BottomBar.tsx b/src/layout/BasicLayout/BottomBar.tsx index cef0f0b..1ff4d0a 100644 --- a/src/layout/BasicLayout/BottomBar.tsx +++ b/src/layout/BasicLayout/BottomBar.tsx @@ -48,7 +48,7 @@ export default function BottomBar() { return (
{items.map((item) => { const isSelected = pathname === item.path;