This commit is contained in:
2026-06-29 18:39:46 +08:00
parent 188119009e
commit 152392e3d9
3 changed files with 103 additions and 98 deletions
File diff suppressed because one or more lines are too long
+1 -1
View File
@@ -28,7 +28,7 @@
}
})();
</script>
<script type="module" crossorigin src="/assets/index-5zGykAoi.js"></script>
<script type="module" crossorigin src="/assets/index-smITgEEu.js"></script>
<link rel="stylesheet" crossorigin href="/assets/index-D3IaMBsq.css">
</head>
<body>
+10 -5
View File
@@ -43,6 +43,7 @@ import {
WarningOutlined,
SettingOutlined,
LayoutOutlined,
ArrowUpOutlined,
} from '@ant-design/icons';
@@ -1558,17 +1559,21 @@ const AIChatPage: React.FC = () => {
<Button
type="primary"
shape="circle"
icon={<SendOutlined />}
icon={<ArrowUpOutlined />}
onClick={handleSend}
disabled={!inputValue.trim() && currentMedia.length === 0}
loading={loading}
style={{
flexShrink: 0,
width: 48,
height: 48,
width: 40,
height: 40,
borderRadius: 14,
background: 'linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%)',
boxShadow: '0 4px 16px rgba(99, 102, 241, 0.4)',
background: (inputValue.trim() || currentMedia.length > 0)
? 'linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%)'
: '#c7cfdaff',
boxShadow: (inputValue.trim() || currentMedia.length > 0)
? '0 4px 16px rgba(99, 102, 241, 0.4)'
: 'none',
transition: 'all 0.2s ease',
border: 'none',
}}