ソースを参照

注释掉 首页DeepSeekHeader

Ryuiso 5 ヶ月 前
コミット
20f22c4ae5
1 ファイル変更41 行追加41 行削除
  1. 41 41
      app/components/DeekSeekHome.tsx

+ 41 - 41
app/components/DeekSeekHome.tsx

@@ -49,47 +49,47 @@ const DeekSeek: React.FC = () => {
     return (
         <Spin spinning={listLoading}>
             <div className='deekSeek'>
-                <div className='deekSeek-header' style={{ justifyContent: isMobileScreen ? 'flex-start' : 'center' }}>
-                    <div style={{ display: 'flex', alignItems: 'center', margin: '0 20px' }}>
-                        <img src={whiteLogo.src} style={{ width: 20, marginRight: 10 }} />
-                        <div style={{ whiteSpace: 'nowrap' }}>
-                            上海建科
-                        </div>
-                    </div>
-                    {
-                        list.map((item, index) => {
-                            return <Dropdown
-                                menu={{
-                                    items: item.children.map((child, i) => {
-                                        return {
-                                            key: i,
-                                            label: child.title,
-                                            onClick: () => {
-                                                const search = `?showMenu=${child.showMenu}&chatMode=${child.chatMode}&appId=${child.appId}`;
-                                                navigate({
-                                                    pathname: '/knowledgeChat',
-                                                    search: search,
-                                                })
-                                            },
-                                        };
-                                    })
-                                }}
-                                key={index}
-                            >
-                                <div style={{ whiteSpace: 'nowrap', marginRight: 20, color: '#98b4fa', cursor: 'pointer' }}>
-                                    {item.title}
-                                </div>
-                            </Dropdown>
-                        })
-                    }
-                    <div style={{ whiteSpace: 'nowrap', marginRight: 20, color: '#98b4fa', cursor: 'pointer' }} onClick={() => {
-                        navigate({
-                            pathname: '/deepseekChat',
-                        })
-                    }}>
-                        DeepSeek问答
-                    </div>
-                </div>
+                {/*<div className='deekSeek-header' style={{ justifyContent: isMobileScreen ? 'flex-start' : 'center' }}>*/}
+                {/*    <div style={{ display: 'flex', alignItems: 'center', margin: '0 20px' }}>*/}
+                {/*        <img src={whiteLogo.src} style={{ width: 20, marginRight: 10 }} />*/}
+                {/*        <div style={{ whiteSpace: 'nowrap' }}>*/}
+                {/*            上海建科*/}
+                {/*        </div>*/}
+                {/*    </div>*/}
+                {/*    {*/}
+                {/*        list.map((item, index) => {*/}
+                {/*            return <Dropdown*/}
+                {/*                menu={{*/}
+                {/*                    items: item.children.map((child, i) => {*/}
+                {/*                        return {*/}
+                {/*                            key: i,*/}
+                {/*                            label: child.title,*/}
+                {/*                            onClick: () => {*/}
+                {/*                                const search = `?showMenu=${child.showMenu}&chatMode=${child.chatMode}&appId=${child.appId}`;*/}
+                {/*                                navigate({*/}
+                {/*                                    pathname: '/knowledgeChat',*/}
+                {/*                                    search: search,*/}
+                {/*                                })*/}
+                {/*                            },*/}
+                {/*                        };*/}
+                {/*                    })*/}
+                {/*                }}*/}
+                {/*                key={index}*/}
+                {/*            >*/}
+                {/*                <div style={{ whiteSpace: 'nowrap', marginRight: 20, color: '#98b4fa', cursor: 'pointer' }}>*/}
+                {/*                    {item.title}*/}
+                {/*                </div>*/}
+                {/*            </Dropdown>*/}
+                {/*        })*/}
+                {/*    }*/}
+                {/*    <div style={{ whiteSpace: 'nowrap', marginRight: 20, color: '#98b4fa', cursor: 'pointer' }} onClick={() => {*/}
+                {/*        navigate({*/}
+                {/*            pathname: '/deepseekChat',*/}
+                {/*        })*/}
+                {/*    }}>*/}
+                {/*        DeepSeek问答*/}
+                {/*    </div>*/}
+                {/*</div>*/}
                 <div className='deekSeek-content'>
                     <div className='deekSeek-content-title'>
                         <img src={jkxz.src} />