diff --git a/app/components/chat/chat-input.tsx b/app/components/chat/chat-input.tsx index 7f7d276..70ca555 100644 --- a/app/components/chat/chat-input.tsx +++ b/app/components/chat/chat-input.tsx @@ -1,6 +1,6 @@ import React, { useState, useRef, useCallback, useEffect } from 'react'; import { Input, Button, Upload, Tooltip, message as antdMessage, Space } from 'antd'; -import { SendOutlined, StopOutlined, PaperClipOutlined, PictureOutlined } from '@ant-design/icons'; +import { StopOutlined, PictureOutlined, CommentOutlined } from '@ant-design/icons'; import type { VisionFile } from '../../types/dify_chat'; import '../../styles/components/chat-with-llm/chat-input.css'; @@ -184,7 +184,8 @@ export default function ChatInput({ icon={} size="small" disabled={isDisabled} - className="text-gray-500 hover:text-blue-500" + className="chat-upload-button" + shape="circle" /> @@ -192,21 +193,19 @@ export default function ChatInput({ }; return ( -
+
{/* 文件预览 */} {renderFilePreview()} - {/* 输入区域 */} -
-
+ {/* 输入区域 - 方块容器 */} +
+
{/* 上传按钮 */} -
- {renderUploadButton()} -
+ {renderUploadButton()} {/* 文本输入 */} -
+