diff --git a/projects/app/src/pageComponents/chat/ChatSetting/index.tsx b/projects/app/src/pageComponents/chat/ChatSetting/index.tsx
index b6e2ea86a..9eb33c1b8 100644
--- a/projects/app/src/pageComponents/chat/ChatSetting/index.tsx
+++ b/projects/app/src/pageComponents/chat/ChatSetting/index.tsx
@@ -54,8 +54,8 @@ const ChatSetting = () => {
diff --git a/projects/app/src/pageComponents/chat/ChatTeamApp/List.tsx b/projects/app/src/pageComponents/chat/ChatTeamApp/List.tsx
index 21e80104b..e81b9abfc 100644
--- a/projects/app/src/pageComponents/chat/ChatTeamApp/List.tsx
+++ b/projects/app/src/pageComponents/chat/ChatTeamApp/List.tsx
@@ -42,7 +42,7 @@ const ListItem = ({ appType }: { appType: AppTypeEnum | 'all' }) => {
return (
<>
{
const tabs = ['all' as const, AppTypeEnum.simple, AppTypeEnum.workflow, AppTypeEnum.plugin];
return (
-
+
{!isPc && (
-
+
+
+ setSearchKey(e.target.value)}
+ placeholder={t('app:search_app')}
+ maxLength={30}
+ />
+
+
@@ -89,6 +104,7 @@ const MyApps = () => {
/>
)}
+
{
overflowY={'auto'}
overflowX={'hidden'}
>
- 0 ? 3 : [4, 6]} alignItems={'center'} gap={3}>
+ 0 ? 3 : [0, 6]} alignItems={'center'} gap={3}>
{isPc && (
setAppType(tabs[index])}>
@@ -128,19 +144,6 @@ const MyApps = () => {
)}
- {!isPc && (
-
- {
- setSearchKey(e.target.value)}
- placeholder={t('app:search_app')}
- maxLength={30}
- />
- }
-
- )}
-
diff --git a/projects/app/src/pageComponents/chat/ChatWindow/AppChatWindow.tsx b/projects/app/src/pageComponents/chat/ChatWindow/AppChatWindow.tsx
index 7c5f3b392..a26477eb7 100644
--- a/projects/app/src/pageComponents/chat/ChatWindow/AppChatWindow.tsx
+++ b/projects/app/src/pageComponents/chat/ChatWindow/AppChatWindow.tsx
@@ -130,8 +130,6 @@ const AppChatWindow = ({ myApps }: Props) => {
) : (
diff --git a/projects/app/src/pageComponents/chat/ChatWindow/HomeChatWindow.tsx b/projects/app/src/pageComponents/chat/ChatWindow/HomeChatWindow.tsx
index 2e58dc829..50157997b 100644
--- a/projects/app/src/pageComponents/chat/ChatWindow/HomeChatWindow.tsx
+++ b/projects/app/src/pageComponents/chat/ChatWindow/HomeChatWindow.tsx
@@ -363,8 +363,6 @@ const HomeChatWindow = ({ myApps }: Props) => {
) : (
diff --git a/projects/app/src/pageComponents/chat/slider/ChatSliderFooter.tsx b/projects/app/src/pageComponents/chat/slider/ChatSliderFooter.tsx
index 4d4a20e2d..b804213c5 100644
--- a/projects/app/src/pageComponents/chat/slider/ChatSliderFooter.tsx
+++ b/projects/app/src/pageComponents/chat/slider/ChatSliderFooter.tsx
@@ -21,7 +21,7 @@ const ChatSliderFooter = () => {
const isSettingPane = pane === ChatSidebarPaneEnum.SETTING;
return (
-
+
diff --git a/projects/app/src/pageComponents/chat/slider/ChatSliderHeader.tsx b/projects/app/src/pageComponents/chat/slider/ChatSliderHeader.tsx
index e953e19e6..e71fb50d4 100644
--- a/projects/app/src/pageComponents/chat/slider/ChatSliderHeader.tsx
+++ b/projects/app/src/pageComponents/chat/slider/ChatSliderHeader.tsx
@@ -54,7 +54,7 @@ const ChatSliderHeader = ({ title, banner }: Props) => {
) : (
<>
-
+
@@ -115,8 +115,6 @@ const ChatSliderHeader = ({ title, banner }: Props) => {
-
-
>
);
};
diff --git a/projects/app/src/pageComponents/chat/slider/ChatSliderMobileDrawer.tsx b/projects/app/src/pageComponents/chat/slider/ChatSliderMobileDrawer.tsx
index 0c946f889..4c15b326d 100644
--- a/projects/app/src/pageComponents/chat/slider/ChatSliderMobileDrawer.tsx
+++ b/projects/app/src/pageComponents/chat/slider/ChatSliderMobileDrawer.tsx
@@ -7,6 +7,7 @@ import ChatSliderList from '@/pageComponents/chat/slider/ChatSliderList';
import { useContextSelector } from 'use-context-selector';
import { ChatContext } from '@/web/core/chat/context/chatContext';
import ChatSliderFooter from '@/pageComponents/chat/slider/ChatSliderFooter';
+import MyDivider from '@fastgpt/web/components/common/MyDivider';
type Props = {
title?: string;
@@ -14,14 +15,18 @@ type Props = {
menuConfirmButtonText?: string;
showHeader?: boolean;
showFooter?: boolean;
+ showList?: boolean;
+ showMenu?: boolean;
};
const ChatSliderMobileDrawer = ({
title,
banner,
menuConfirmButtonText,
- showHeader = false,
- showFooter = false
+ showHeader = true,
+ showFooter = true,
+ showList = true,
+ showMenu = true
}: Props) => {
const theme = useTheme();
@@ -50,9 +55,10 @@ const ChatSliderMobileDrawer = ({
>
{showHeader && }
-
+ {showMenu && }
+ {showMenu && }
-
+ {showList && }
{showFooter && }
diff --git a/projects/app/src/pages/chat/share.tsx b/projects/app/src/pages/chat/share.tsx
index 71e9f9691..b588d6f31 100644
--- a/projects/app/src/pages/chat/share.tsx
+++ b/projects/app/src/pages/chat/share.tsx
@@ -230,6 +230,8 @@ const OutLink = (props: Props) => {
{Children}
) : (
);