Merge remote-tracking branch 'origin/dev' into dev

This commit is contained in:
Zixin Zhou 2025-09-22 13:16:38 +08:00
commit 583f800ab0
5 changed files with 16 additions and 16 deletions

View File

@ -469,15 +469,15 @@ export function ChatInputBox({ noData }: { noData: boolean }) {
</Dropdown> </Dropdown>
{/* 分隔线(移动端隐藏,避免拥挤) */} {/* 分隔线(移动端隐藏,避免拥挤) */}
<div className="hidden sm:block w-px h-4 bg-white/[0.20]"></div> {/* <div className="hidden sm:block w-px h-4 bg-white/[0.20]"></div> */}
{/* 横/竖屏选择 */} {/* 横/竖屏选择 上线暂时不开放 */}
<AspectRatioSelector {/* <AspectRatioSelector
value={configOptions.aspect_ratio} value={configOptions.aspect_ratio}
onChange={(v) => onConfigChange('aspect_ratio', v)} onChange={(v) => onConfigChange('aspect_ratio', v)}
placement="top" placement="top"
className={`${isMobile ? '!px-1' : ''}`} className={`${isMobile ? '!px-1' : ''}`}
/> /> */}
</div> </div>
{/* 右侧Action按钮 */} {/* 右侧Action按钮 */}

View File

@ -359,12 +359,12 @@ export const H5PhotoStoryDrawer = ({
<div data-alt="bottom-action-bar" className="sticky bottom-0 left-0 right-0 backdrop-blur border-t border-white/10 px-3 py-2"> <div data-alt="bottom-action-bar" className="sticky bottom-0 left-0 right-0 backdrop-blur border-t border-white/10 px-3 py-2">
<div className="flex items-center justify-end gap-2"> <div className="flex items-center justify-end gap-2">
{/* 横/竖屏选择 */} {/* 横/竖屏选择 上线暂时不开放 */}
<AspectRatioSelector {/* <AspectRatioSelector
value={aspectUI} value={aspectUI}
onChange={setAspectUI} onChange={setAspectUI}
placement="top" placement="top"
/> /> */}
{!hasAnalyzed ? ( {!hasAnalyzed ? (
<Tooltip title={activeImageUrl ? "Analyze image content" : "Please upload an image first"} placement="top"> <Tooltip title={activeImageUrl ? "Analyze image content" : "Please upload an image first"} placement="top">
<div> <div>

View File

@ -556,12 +556,12 @@ export const H5TemplateDrawer = ({
/> />
</div> </div>
)} )}
{/* 横/竖屏选择 */} {/* 横/竖屏选择 上线暂时不开放 */}
<AspectRatioSelector {/* <AspectRatioSelector
value={aspectUI} value={aspectUI}
onChange={setAspectUI} onChange={setAspectUI}
placement="top" placement="top"
/> /> */}
<ActionButton <ActionButton
isCreating={isTemplateCreating || localLoading > 0} isCreating={isTemplateCreating || localLoading > 0}
handleCreateVideo={handleConfirm} handleCreateVideo={handleConfirm}

View File

@ -321,12 +321,12 @@ export const PcPhotoStoryModal = ({
placeholder="Share your creative ideas about the image and let AI create a movie story for you..." placeholder="Share your creative ideas about the image and let AI create a movie story for you..."
/> />
<div className="absolute bottom-1 right-0 flex gap-2 items-center"> <div className="absolute bottom-1 right-0 flex gap-2 items-center">
{/* 横/竖屏选择 */} {/* 横/竖屏选择 上线暂时不开放 */}
<AspectRatioSelector {/* <AspectRatioSelector
value={aspectUI} value={aspectUI}
onChange={setAspectUI} onChange={setAspectUI}
placement="top" placement="top"
/> /> */}
{!hasAnalyzed ? ( {!hasAnalyzed ? (
<Tooltip title={activeImageUrl ? "Analyze image content" : "Please upload an image first"} placement="top"> <Tooltip title={activeImageUrl ? "Analyze image content" : "Please upload an image first"} placement="top">
<ActionButton <ActionButton

View File

@ -707,12 +707,12 @@ export const PcTemplateModal = ({
/> />
</div> </div>
)} )}
{/* 横/竖屏选择 */} {/* 横/竖屏选择 上线暂时不开放 */}
<AspectRatioSelector {/* <AspectRatioSelector
value={aspectUI} value={aspectUI}
onChange={setAspectUI} onChange={setAspectUI}
placement="top" placement="top"
/> /> */}
<ActionButton <ActionButton
isCreating={isTemplateCreating || localLoading > 0} isCreating={isTemplateCreating || localLoading > 0}
handleCreateVideo={handleConfirm} handleCreateVideo={handleConfirm}