diff --git a/web/pages/index.tsx b/web/pages/index.tsx
index b75206279..957bc9c99 100644
--- a/web/pages/index.tsx
+++ b/web/pages/index.tsx
@@ -17,6 +17,7 @@ import axios from '@/utils/ctx-axios';
import { sendSpacePostRequest } from '@/utils/request';
import {
ArrowUpOutlined,
+ AudioOutlined,
BarChartOutlined,
BellOutlined,
BookOutlined,
@@ -2420,10 +2421,10 @@ const Playground: NextPage = () => {
)}
- {/* Gradient Outer Frame */}
-
- {/* White Inner Box */}
-
+ {/* Outer Frame - Floating Effect */}
+
+ {/* White Inner Box - Clean Glass Card */}
+
{
@@ -2443,14 +2444,14 @@ const Playground: NextPage = () => {
t('ask_data_question') ||
'Ask a question about your database, upload a CSV, or generate a report...'
}
- autoSize={{ minRows: 1, maxRows: 4 }}
- className='flex-1 resize-none !border-none !shadow-none !bg-transparent px-0 py-1'
+ autoSize={{ minRows: 2, maxRows: 6 }}
+ className='flex-1 resize-none !border-none !shadow-none !bg-transparent px-0 py-2'
style={{ backgroundColor: 'transparent' }}
/>
{/* Toolbar Row */}
-
+
{/* Add Button */}
{
/>
- {/* Send Button with blue gradient + gloss animation */}
-
}
- onClick={() => handleStart()}
- disabled={(!query.trim() && !uploadedFile) || loading}
- loading={loading}
- className={`group/send relative overflow-hidden border-none shadow-lg flex-shrink-0 h-9 w-9 transition-all duration-200 ${
- query.trim() || uploadedFile
- ? 'bg-gradient-to-br from-[#3b82f6] to-[#2563eb] hover:shadow-blue-300/40 hover:shadow-xl hover:scale-105'
- : 'bg-gray-200 text-gray-400'
- }`}
- style={
- query.trim() || uploadedFile
- ? { background: 'linear-gradient(135deg, #3b82f6, #2563eb)' }
- : undefined
- }
- >
- {(query.trim() || uploadedFile) && (
-
+ {/* Voice Button */}
+
+ }
+ onClick={() => message.info('语音输入即将上线')}
+ className='flex-shrink-0 h-9 w-9 transition-all duration-200 flex items-center justify-center hover:bg-gray-100 dark:hover:bg-gray-800'
/>
- )}
-
+
+
+ {/* Send Button with blue gradient + gloss animation */}
+ }
+ onClick={() => handleStart()}
+ disabled={(!query.trim() && !uploadedFile) || loading}
+ loading={loading}
+ className={`group/send relative overflow-hidden border-none shadow-lg flex-shrink-0 h-9 w-9 transition-all duration-200 ${
+ query.trim() || uploadedFile
+ ? 'bg-gradient-to-br from-[#3b82f6] to-[#2563eb] hover:shadow-blue-300/40 hover:shadow-xl hover:scale-105'
+ : 'bg-gray-200 text-gray-400'
+ }`}
+ style={
+ query.trim() || uploadedFile
+ ? { background: 'linear-gradient(135deg, #3b82f6, #2563eb)' }
+ : undefined
+ }
+ >
+ {(query.trim() || uploadedFile) && (
+
+ )}
+
+