diff --git a/frontend/src/components/ai-elements/prompt-input.tsx b/frontend/src/components/ai-elements/prompt-input.tsx
index 8b712dfe..6f73a226 100644
--- a/frontend/src/components/ai-elements/prompt-input.tsx
+++ b/frontend/src/components/ai-elements/prompt-input.tsx
@@ -1157,7 +1157,11 @@ export const PromptInputSubmit = ({
? !!disabled
: disabled || !hasContent || isSubmitted;
- let Icon = ;
+ // let Icon = ;
+ let Icon = ;
+
let text: string = t.inputBox.submit;
@@ -1165,11 +1169,13 @@ export const PromptInputSubmit = ({
Icon = ;
text = t.inputBox.submitting;
} else if (status === "streaming") {
- Icon = ;
+ Icon = ;
text = t.inputBox.stop;
} else if (status === "error") {
// 没有报错状态,先用error状态代替
- Icon = ;
+ // Icon = ;
// MARK: 这里后端没有返回错误信息,先写死一个文本
text = t.inputBox.submit;
}
@@ -1180,10 +1186,10 @@ export const PromptInputSubmit = ({
aria-label="Submit"
// 被button{bgc:#fff}覆盖了,只能加"!"
className={cn(
- "h-[40px] w-[140px] rounded-[10px] border-0 font-bold transition-all",
+ "h-[36px] w-[36px] rounded-[50%] border-0 font-bold transition-all ",
isDisabled
- ? "cursor-not-allowed !bg-gray-200 text-gray-400"
- : "!bg-[#F0E8FB] text-[#8E47F0] hover:!bg-[#8E47F0] hover:text-[#FFFFFF]",
+ ? "cursor-not-allowed !bg-[#15003399] text-gray-400"
+ : "!bg-[#150033] text-[#8E47F0] hover:text-[#FFFFFF]",
className,
)}
size={size}
@@ -1192,8 +1198,8 @@ export const PromptInputSubmit = ({
disabled={isDisabled}
{...props}
>
- {/* {children ?? Icon} */}
- {text}
+ {children ?? Icon}
+ {/* {text} */}
);
diff --git a/frontend/src/components/workspace/input-box.tsx b/frontend/src/components/workspace/input-box.tsx
index dad7f713..c64b3deb 100644
--- a/frontend/src/components/workspace/input-box.tsx
+++ b/frontend/src/components/workspace/input-box.tsx
@@ -151,7 +151,7 @@ function WorkspaceToolButton({
return (
*/}
{/* 占位符 */}
-
+