diff --git a/video-gen-app/src/pages/GenerateConver.tsx b/video-gen-app/src/pages/GenerateConver.tsx index 652669dd..8c8cd17a 100644 --- a/video-gen-app/src/pages/GenerateConver.tsx +++ b/video-gen-app/src/pages/GenerateConver.tsx @@ -1569,7 +1569,7 @@ const AIChatPage: React.FC = () => { lineHeight: 1.6, cursor: 'pointer', transition: 'all 0.2s ease', - boxShadow: '0 1px 3px rgba(99, 102, 241, 0.04)', + boxShadow: '0 1px 2px rgba(15, 23, 42, 0.03)', }} onMouseEnter={() => { setExpandedPrompts(prev => { @@ -1726,7 +1726,7 @@ const AIChatPage: React.FC = () => { borderRadius: 12, boxShadow: '0 4px 20px rgba(0,0,0,0.15)', padding: 16, - minWidth: 200, + minWidth: 174, zIndex: 9999, }} onClick={(e) => e.stopPropagation()} @@ -1805,19 +1805,18 @@ const AIChatPage: React.FC = () => { {/* 输入区域 - 始终显示 */}
- {/* 左右布局容器 */} -
- {/* 左侧附件区域 - 20% */} -
+ {/* 上方输入布局 */} +
+ {/* 左侧附件区域 */} +
{/* 首尾帧模式 */} {mediaType === 'video' && referenceMode === 'first_last_frame' ? (
@@ -2010,11 +2009,11 @@ const AIChatPage: React.FC = () => { <> {currentMedia.length > 0 ? (
setMediaStackHovered(true)} onMouseLeave={() => setMediaStackHovered(false)} > -
+
{currentMedia.slice(0, 4).map((media, idx) => { const reversedIdx = currentMedia.slice(0, 4).length - 1 - idx; const offsetX = mediaStackHovered ? idx * 6 : idx * 3; @@ -2032,7 +2031,7 @@ const AIChatPage: React.FC = () => { opacity: mediaStackHovered ? 1 : (1 - reversedIdx * 0.18), }} > -
+
{media.type === 'image' ? ( { setAttachmentPreviewName(media.name); setAttachmentPreviewVisible(true); }} - style={{ width: 60, height: 60, objectFit: 'cover', borderRadius: 8, cursor: 'pointer', border: '2px solid rgba(255,255,255,0.9)', boxShadow: '0 2px 8px rgba(99, 102, 241, 0.2)' }} + style={{ width: 50, height: 58, objectFit: 'cover', borderRadius: 8, cursor: 'pointer', border: '2px solid rgba(255,255,255,0.95)', boxShadow: '0 2px 8px rgba(15, 23, 42, 0.12)' }} /> ) : (