Files
sionrui/frontend/app/web-gold/src/views/kling/IdentifyFace.vue

725 lines
21 KiB
Vue
Raw Normal View History

2025-12-01 22:27:50 +08:00
<template>
2026-01-17 19:54:57 +08:00
<FullWidthLayout :show-padding="false">
<div class="kling-page">
<div class="kling-content">
<!-- 左侧配置 -->
<div class="upload-panel">
<!-- 文案输入 -->
<div class="section">
<h3>文案</h3>
<a-textarea
v-model:value="ttsText"
:placeholder="textareaPlaceholder"
:rows="4"
:maxlength="maxTextLength"
:show-count="true"
class="tts-textarea"
/>
<div v-if="identifyState.identified && faceDuration > 0" class="text-hint">
<span class="hint-icon">💡</span>
<span>视频中人脸出现时长约 {{ (faceDuration / 1000).toFixed(1) }} 建议文案不超过 {{ suggestedMaxChars }} </span>
</div>
2025-12-02 01:55:57 +08:00
</div>
2025-12-01 22:27:50 +08:00
2026-01-17 19:54:57 +08:00
<!-- 音色选择 -->
<div class="section">
<h3>音色</h3>
<VoiceSelector ref="voiceSelectorRef" @select="handleVoiceSelect" />
</div>
2025-12-01 22:27:50 +08:00
2026-01-17 19:54:57 +08:00
<!-- TTS 控制 -->
<div class="section">
<h3>语音控制</h3>
<div class="control-group">
<div class="control-label">语速</div>
<div class="slider-card">
<div class="slider-info">
<div class="slider-value">{{ speechRateDisplay }}</div>
<button class="reset-btn" @click="speechRate = 1">重置</button>
</div>
<a-slider
v-model:value="speechRate"
:min="0.5"
:max="2"
:step="0.1"
:marks="speechRateMarks"
:tooltip-open="false"
/>
2025-12-01 22:27:50 +08:00
</div>
</div>
</div>
2026-01-17 19:54:57 +08:00
<!-- 视频选择 -->
<div class="section">
<h3>视频</h3>
<!-- 双选项卡片 -->
<div class="video-selection-cards">
<!-- 上传选项 -->
<div
class="video-option-card"
:class="{ selected: videoState.videoSource === 'upload' }"
@click="handleSelectUpload"
>
<div class="card-icon">
<UploadOutlined />
</div>
<div class="card-content">
<h4>点击上传新视频</h4>
<p>支持 MP4MOV 格式</p>
</div>
</div>
2026-01-17 19:54:57 +08:00
<!-- 选择选项 -->
<div
class="video-option-card"
:class="{ selected: videoState.videoSource === 'select' }"
@click="handleSelectFromLibrary"
>
<div class="card-icon">
<PictureOutlined />
</div>
<div class="card-content">
<h4>从素材库选择</h4>
<p>选择已上传的视频</p>
</div>
</div>
</div>
<!-- 已选择视频的预览 -->
<div v-if="videoState.selectedVideo" class="selected-video-preview">
<div class="preview-thumbnail">
<img
:src="getVideoPreviewUrl(videoState.selectedVideo)"
:alt="videoState.selectedVideo.fileName"
/>
<div class="video-duration-badge">
{{ formatDuration(videoState.selectedVideo.duration) }}
</div>
</div>
2026-01-17 19:54:57 +08:00
<div class="preview-info">
<div class="video-title">{{ videoState.selectedVideo.fileName }}</div>
<div class="video-meta">
<span>{{ formatFileSize(videoState.selectedVideo.fileSize) }}</span>
<span>{{ formatDuration(videoState.selectedVideo.duration) }}</span>
</div>
</div>
2026-01-17 19:54:57 +08:00
<a-button type="link" size="small" @click="replaceVideo">
更换
</a-button>
</div>
2026-01-17 19:54:57 +08:00
<!-- 上传区域仅在选择上传时显示 -->
<div
2026-01-17 19:54:57 +08:00
v-if="videoState.videoSource === 'upload'"
class="upload-zone"
@drop.prevent="handleDrop"
@dragover.prevent="dragOver = true"
@dragleave.prevent="dragOver = false"
>
2026-01-17 19:54:57 +08:00
<input ref="fileInput" type="file" accept=".mp4,.mov" style="display: none" @change="handleFileSelect" />
<div v-if="!videoState.uploadedVideo" class="upload-placeholder">
<h3>拖拽或点击上传视频文件</h3>
<p>支持 MP4MOV</p>
<a-button type="primary" size="large" @click="triggerFileSelect">
选择文件
</a-button>
</div>
2026-01-17 19:54:57 +08:00
<div v-else class="video-preview">
<video :src="videoState.uploadedVideo" controls class="preview-video"></video>
<p>{{ videoState.videoFile?.name }}</p>
<a-button type="link" size="small" @click="replaceVideo">
更换
</a-button>
</div>
</div>
</div>
2026-01-17 19:54:57 +08:00
<!-- 素材校验结果 -->
<div v-if="materialValidation.videoDuration > 0 && materialValidation.audioDuration > 0" class="section">
<h3>素材校验</h3>
<div class="validation-result" :class="{ 'validation-passed': materialValidation.isValid, 'validation-failed': !materialValidation.isValid }">
<div class="validation-status">
<span class="status-icon">{{ materialValidation.isValid ? '✅' : '❌' }}</span>
<span class="status-text">{{ materialValidation.isValid ? '校验通过' : '校验失败' }}</span>
</div>
2026-01-17 19:54:57 +08:00
<!-- 时长对比进度条 -->
<div class="duration-comparison">
<div class="duration-bar">
<div class="duration-label">
<span>音频时长</span>
<span class="duration-value">{{ (materialValidation.audioDuration / 1000).toFixed(1) }}s</span>
</div>
<div class="progress-bar audio-bar">
<div
class="progress-fill"
:style="{ width: `${(materialValidation.audioDuration / Math.max(materialValidation.videoDuration, materialValidation.audioDuration)) * 100}%` }"
></div>
</div>
</div>
<div class="duration-bar">
<div class="duration-label">
<span>视频时长</span>
<span class="duration-value">{{ (materialValidation.videoDuration / 1000).toFixed(1) }}s</span>
</div>
<div class="progress-bar video-bar">
<div
class="progress-fill"
:class="{ 'success': materialValidation.isValid, 'error': !materialValidation.isValid }"
:style="{ width: `${(materialValidation.videoDuration / Math.max(materialValidation.videoDuration, materialValidation.audioDuration)) * 100}%` }"
></div>
</div>
</div>
</div>
<!-- 失败提示和建议 -->
<div v-if="!materialValidation.isValid" class="validation-error">
<p class="error-message">
视频时长必须大于音频时长才能生成数字人视频
</p>
<div class="quick-actions">
<a-button size="small" @click="replaceVideo">更换视频</a-button>
<a-button size="small" @click="handleSimplifyScript">精简文案</a-button>
</div>
</div>
</div>
</div>
2026-01-17 19:54:57 +08:00
<!-- 配音生成与校验仅在识别后显示 -->
<div v-if="identifyState.identified" class="section audio-generation-section">
<h3>配音生成与校验</h3>
2025-12-01 22:27:50 +08:00
2026-01-17 19:54:57 +08:00
<!-- 生成配音按钮 -->
<div class="generate-audio-row">
<a-button
type="default"
size="large"
:disabled="!canGenerateAudio"
:loading="audioState.generating"
block
@click="generateAudio"
>
{{ audioState.generating ? '生成中...' : '生成配音(用于校验时长)' }}
</a-button>
2025-12-01 22:27:50 +08:00
</div>
2026-01-17 19:54:57 +08:00
<!-- 音频预览生成后显示 -->
<div v-if="audioState.generated" class="audio-preview">
<div class="audio-info">
<h4>生成的配音</h4>
<div class="duration-info">
<span class="label">音频时长</span>
<span class="value">{{ (audioState.durationMs / 1000).toFixed(1) }} </span>
</div>
2026-01-17 19:54:57 +08:00
<div class="duration-info">
<span class="label">人脸区间</span>
<span class="value">{{ (faceDuration / 1000).toFixed(1) }} </span>
</div>
<div class="duration-info" :class="{ 'validation-passed': audioState.validationPassed, 'validation-failed': !audioState.validationPassed }">
<span class="label">校验结果</span>
<span class="value">
{{ audioState.validationPassed ? '✅ 通过' : '❌ 不通过需至少2秒重合' }}
</span>
</div>
</div>
2026-01-17 19:54:57 +08:00
<!-- 音频播放器 -->
<div class="audio-player">
<audio
v-if="audioState.generated.audioBase64"
:src="`data:audio/mp3;base64,${audioState.generated.audioBase64}`"
controls
class="audio-element"
/>
<audio
v-else-if="audioState.generated.audioUrl"
:src="audioState.generated.audioUrl"
controls
class="audio-element"
/>
</div>
2026-01-17 19:54:57 +08:00
<!-- 重新生成按钮 -->
<div class="regenerate-row">
<a-button
type="link"
size="small"
@click="generateAudio"
:loading="audioState.generating"
>
重新生成
</a-button>
</div>
</div>
</div>
2025-12-02 01:55:57 +08:00
2026-01-17 19:54:57 +08:00
<!-- 按钮组 -->
<div class="action-buttons">
2025-12-02 01:55:57 +08:00
<a-button
2026-01-17 19:54:57 +08:00
type="primary"
2025-12-02 01:55:57 +08:00
size="large"
2026-01-17 19:54:57 +08:00
:disabled="!canGenerate"
2025-12-02 01:55:57 +08:00
block
2026-01-17 19:54:57 +08:00
@click="generateDigitalHuman"
2025-12-02 01:55:57 +08:00
>
2026-01-17 19:54:57 +08:00
生成数字人视频
2025-12-02 01:55:57 +08:00
</a-button>
2026-01-17 19:54:57 +08:00
<!-- 添加提示信息 -->
<div v-if="canGenerate && !audioState.validationPassed" class="generate-hint">
<span class="hint-icon"></span>
<span>请先生成配音并通过时长校验</span>
2025-12-02 01:55:57 +08:00
</div>
</div>
</div>
2026-01-17 19:54:57 +08:00
<!-- 右侧结果 -->
<ResultPanel @videoLoaded="handleVideoLoaded" />
2025-12-01 22:27:50 +08:00
</div>
2026-01-17 19:54:57 +08:00
<!-- 视频选择器弹窗 -->
<VideoSelector v-model:open="videoState.selectorVisible" @select="handleVideoSelect" />
2025-12-01 22:27:50 +08:00
</div>
2026-01-17 19:54:57 +08:00
</FullWidthLayout>
2025-12-01 22:27:50 +08:00
</template>
2025-12-28 13:49:45 +08:00
<script setup lang="ts">
import { ref, onMounted } from 'vue'
import { UploadOutlined, PictureOutlined } from '@ant-design/icons-vue'
2025-12-01 22:27:50 +08:00
import { useVoiceCopyStore } from '@/stores/voiceCopy'
import VideoSelector from '@/components/VideoSelector.vue'
import VoiceSelector from '@/components/VoiceSelector.vue'
import ResultPanel from '@/components/ResultPanel.vue'
2026-01-17 19:54:57 +08:00
import FullWidthLayout from '@/layouts/components/FullWidthLayout.vue'
2025-12-01 22:27:50 +08:00
2025-12-28 13:49:45 +08:00
// Controller Hook
import { useIdentifyFaceController } from './hooks/useIdentifyFaceController'
2025-12-22 00:15:02 +08:00
2025-12-28 13:49:45 +08:00
const voiceStore = useVoiceCopyStore()
const voiceSelectorRef: any = ref(null)
const dragOver = ref(false)
2025-12-28 13:49:45 +08:00
// ==================== 初始化 Controller ====================
// Controller 内部直接创建和管理两个子 Hook
const controller = useIdentifyFaceController()
// 解构 controller 以简化模板调用
const {
// 语音生成相关
ttsText,
speechRate,
audioState,
canGenerateAudio,
suggestedMaxChars,
generateAudio,
// 数字人生成相关
videoState,
identifyState,
materialValidation,
faceDuration,
getVideoPreviewUrl,
// 计算属性
canGenerate,
maxTextLength,
textareaPlaceholder,
speechRateMarks,
speechRateDisplay,
// 事件处理方法
handleVoiceSelect,
handleFileSelect,
handleDrop,
triggerFileSelect,
handleSelectUpload,
handleSelectFromLibrary,
handleVideoSelect,
handleSimplifyScript,
handleVideoLoaded,
replaceVideo,
generateDigitalHuman,
// UI 辅助方法
formatDuration,
formatFileSize,
} = controller
// ==================== 生命周期 ====================
2025-12-01 22:27:50 +08:00
onMounted(async () => {
await voiceStore.refresh()
// 设置VoiceSelector的试听文本和语速
if (voiceSelectorRef.value) {
voiceSelectorRef.value.setPreviewText(ttsText.value)
voiceSelectorRef.value.setPreviewSpeechRate(speechRate.value)
}
2025-12-01 22:27:50 +08:00
})
</script>
2025-12-28 13:49:45 +08:00
<style scoped lang="less">
// ========== 公共变量 ==========
2026-01-17 19:54:57 +08:00
@primary-color: var(--primary-color, #1677ff);
@primary-bg-10: rgba(22, 119, 255, 0.1);
@primary-bg-15: rgba(22, 119, 255, 0.15);
@primary-bg-20: rgba(22, 119, 255, 0.2);
@primary-bg-30: rgba(22, 119, 255, 0.3);
@primary-bg-50: rgba(22, 119, 255, 0.5);
2025-12-28 13:49:45 +08:00
@success-color: var(--color-green-500);
@error-color: var(--color-red-500);
@warning-color: var(--color-yellow-500);
2026-01-17 19:54:57 +08:00
@surface-bg: var(--bg-primary);
@surface-bg-25: var(--bg-primary);
@surface-bg-30: var(--bg-secondary);
@text-primary: var(--text-primary);
@text-secondary: var(--text-secondary);
@panel-bg: var(--bg-primary);
2025-12-28 13:49:45 +08:00
/* ========== 页面布局 ========== */
2026-01-17 19:54:57 +08:00
.kling-page { padding: 0; }
2025-12-28 13:49:45 +08:00
.kling-content {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 24px;
}
.upload-panel,
.result-panel {
background: @panel-bg;
2026-01-17 19:54:57 +08:00
border-radius: 12px;
2025-12-28 13:49:45 +08:00
padding: 24px;
}
2025-12-01 22:27:50 +08:00
2025-12-28 13:49:45 +08:00
/* ========== 基础组件 ========== */
2025-12-01 22:27:50 +08:00
.section { margin-bottom: 24px; }
2025-12-28 13:49:45 +08:00
.section h3,
.card-content h4,
.audio-info h4 {
color: @text-primary;
margin-bottom: 12px;
2026-01-17 19:54:57 +08:00
font-size: 16px;
font-weight: 600;
2025-12-28 13:49:45 +08:00
}
.section h3 { margin-bottom: 12px; }
.card-content h4, .audio-info h4 { margin-bottom: 12px; font-size: 14px; }
.card-content p, .duration-label span:first-child { color: @text-secondary; font-size: 13px; }
.card-content p { margin: 0; }
2025-12-01 22:27:50 +08:00
2025-12-28 13:49:45 +08:00
/* ========== 表单控件 ========== */
2025-12-01 22:27:50 +08:00
.tts-textarea {
2026-01-17 19:54:57 +08:00
background: var(--bg-primary);
border-radius: 6px;
2025-12-01 22:27:50 +08:00
padding: 12px;
2025-12-28 13:49:45 +08:00
color: @text-primary;
2025-12-01 22:27:50 +08:00
}
2025-12-02 01:55:57 +08:00
.text-hint {
display: flex;
align-items: center;
gap: 6px;
margin-top: 8px;
padding: 8px 12px;
2026-01-17 19:54:57 +08:00
background: var(--bg-secondary);
border: 1px solid var(--border-light);
2025-12-02 01:55:57 +08:00
border-radius: 6px;
font-size: 13px;
2025-12-28 13:49:45 +08:00
color: @text-secondary;
2025-12-01 22:27:50 +08:00
}
2025-12-28 13:49:45 +08:00
.hint-icon { font-size: 14px; }
2025-12-01 22:27:50 +08:00
2025-12-28 13:49:45 +08:00
/* ========== 控制面板 ========== */
.control-group { margin-bottom: 16px; }
2025-12-01 22:27:50 +08:00
.control-label {
font-size: 14px;
font-weight: 600;
2025-12-28 13:49:45 +08:00
color: @text-primary;
2025-12-01 22:27:50 +08:00
margin-bottom: 8px;
}
.slider-card {
2026-01-17 19:54:57 +08:00
border: 1px solid var(--border-light);
border-radius: 8px;
2025-12-01 22:27:50 +08:00
padding: 10px 12px;
2026-01-17 19:54:57 +08:00
background: var(--bg-primary);
2025-12-01 22:27:50 +08:00
}
.slider-info {
display: flex;
align-items: center;
justify-content: space-between;
font-size: 12px;
2025-12-28 13:49:45 +08:00
color: @text-secondary;
2025-12-01 22:27:50 +08:00
margin-bottom: 8px;
}
.slider-value {
font-size: 14px;
font-weight: 600;
2025-12-28 13:49:45 +08:00
color: @text-primary;
2025-12-01 22:27:50 +08:00
}
.reset-btn {
padding: 4px 12px;
2026-01-17 19:54:57 +08:00
border: 1px solid var(--border-light);
background: var(--bg-primary);
color: @text-primary;
2025-12-01 22:27:50 +08:00
border-radius: 4px;
cursor: pointer;
font-size: 12px;
}
2025-12-28 13:49:45 +08:00
/* ========== 视频选择 ========== */
.video-selection-cards {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 16px;
margin-bottom: 16px;
}
.video-option-card {
display: flex;
align-items: center;
gap: 16px;
padding: 20px;
2026-01-17 19:54:57 +08:00
border: 1px solid var(--border-light);
border-radius: 8px;
background: var(--bg-primary);
cursor: pointer;
}
.video-option-card:hover {
2026-01-17 19:54:57 +08:00
border-color: @primary-color;
background: var(--bg-secondary);
}
.video-option-card.selected {
2025-12-28 13:49:45 +08:00
border-color: @primary-color;
background: @primary-bg-10;
}
.card-icon {
2026-01-17 19:54:57 +08:00
font-size: 24px;
2025-12-28 13:49:45 +08:00
color: @primary-color;
display: flex;
align-items: center;
justify-content: center;
2026-01-17 19:54:57 +08:00
width: 40px;
height: 40px;
2025-12-28 13:49:45 +08:00
background: @primary-bg-10;
2026-01-17 19:54:57 +08:00
border-radius: 8px;
}
2025-12-28 13:49:45 +08:00
/* ========== 视频预览 ========== */
.selected-video-preview {
display: flex;
align-items: center;
gap: 12px;
padding: 12px;
2026-01-17 19:54:57 +08:00
background: var(--bg-secondary);
border: 1px solid var(--border-light);
border-radius: 8px;
margin-bottom: 16px;
}
.preview-thumbnail {
position: relative;
width: 80px;
height: 45px;
border-radius: 6px;
overflow: hidden;
background: #374151;
flex-shrink: 0;
}
.preview-thumbnail img {
width: 100%;
height: 100%;
object-fit: cover;
}
.video-duration-badge {
position: absolute;
bottom: 4px;
right: 4px;
background: rgba(0, 0, 0, 0.8);
2025-12-28 13:49:45 +08:00
color: @text-primary;
padding: 2px 4px;
border-radius: 3px;
font-size: 11px;
font-weight: 600;
}
.preview-info {
flex: 1;
min-width: 0;
}
.video-title {
2025-12-28 13:49:45 +08:00
color: @text-primary;
font-size: 14px;
font-weight: 600;
margin-bottom: 4px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.video-meta {
display: flex;
gap: 12px;
font-size: 12px;
2025-12-28 13:49:45 +08:00
color: @text-secondary;
}
2025-12-28 13:49:45 +08:00
/* ========== 上传区域 ========== */
.upload-zone {
min-height: 300px;
display: flex;
align-items: center;
justify-content: center;
2026-01-17 19:54:57 +08:00
border: 2px dashed var(--border-light);
border-radius: 8px;
2025-12-28 13:49:45 +08:00
}
.upload-placeholder {
text-align: center;
color: @text-secondary;
}
.upload-placeholder h3 { color: @text-primary; }
.video-preview {
text-align: center;
color: @text-primary;
}
.preview-video {
width: 100%;
max-height: 300px;
border-radius: 8px;
margin-bottom: 16px;
}
/* ========== 验证结果 ========== */
.validation-result {
padding: 16px;
2026-01-17 19:54:57 +08:00
background: var(--bg-primary);
border-radius: 8px;
2026-01-17 19:54:57 +08:00
border: 1px solid var(--border-light);
}
.validation-result.validation-passed {
border-color: rgba(82, 196, 26, 0.3);
background: rgba(82, 196, 26, 0.05);
}
.validation-result.validation-failed {
border-color: rgba(255, 77, 79, 0.3);
background: rgba(255, 77, 79, 0.05);
}
.validation-status {
display: flex;
align-items: center;
gap: 8px;
margin-bottom: 16px;
}
2025-12-28 13:49:45 +08:00
.status-icon { font-size: 18px; }
.status-text {
2025-12-28 13:49:45 +08:00
color: @text-primary;
font-size: 14px;
font-weight: 600;
}
2025-12-28 13:49:45 +08:00
/* ========== 时长对比进度条 ========== */
.duration-comparison { margin-bottom: 16px; }
.duration-bar { margin-bottom: 12px; }
.duration-bar:last-child { margin-bottom: 0; }
.duration-label {
display: flex;
justify-content: space-between;
margin-bottom: 6px;
font-size: 13px;
}
.duration-value {
2025-12-28 13:49:45 +08:00
color: @text-primary;
font-weight: 600;
}
.progress-bar {
height: 8px;
background: rgba(255, 255, 255, 0.1);
border-radius: 4px;
overflow: hidden;
}
.progress-fill {
height: 100%;
border-radius: 4px;
}
.audio-bar .progress-fill {
2025-12-28 13:49:45 +08:00
background: linear-gradient(90deg, @primary-color, #60A5FA);
}
.video-bar .progress-fill.success {
2025-12-28 13:49:45 +08:00
background: linear-gradient(90deg, @success-color, #73d13d);
}
.video-bar .progress-fill.error {
2025-12-28 13:49:45 +08:00
background: linear-gradient(90deg, @error-color, #ff7875);
}
2025-12-28 13:49:45 +08:00
/* ========== 错误提示 ========== */
.validation-error {
padding: 12px;
2026-01-17 19:54:57 +08:00
background: var(--bg-secondary);
border: 1px solid var(--border-light);
border-radius: 6px;
}
.error-message {
2025-12-28 13:49:45 +08:00
color: @error-color;
font-size: 13px;
margin: 0 0 12px 0;
}
2025-12-28 13:49:45 +08:00
.quick-actions { display: flex; gap: 8px; }
2025-12-28 13:49:45 +08:00
/* ========== 音频生成 ========== */
.audio-generation-section {
margin-bottom: 24px;
padding: 16px;
2026-01-17 19:54:57 +08:00
background: var(--bg-secondary);
border-radius: 8px;
border: 1px solid var(--border-light);
2025-12-28 13:49:45 +08:00
}
.generate-audio-row { margin-bottom: 16px; }
.audio-preview {
padding: 16px;
2026-01-17 19:54:57 +08:00
background: var(--bg-primary);
2025-12-28 13:49:45 +08:00
border-radius: 8px;
}
.duration-info {
display: flex;
2025-12-28 13:49:45 +08:00
justify-content: space-between;
margin-bottom: 8px;
font-size: 13px;
}
.duration-info .label { color: @text-secondary; }
.duration-info .value { color: @text-primary; font-weight: 600; }
.duration-info.validation-passed .value { color: @success-color; }
.duration-info.validation-failed .value { color: @error-color; }
.audio-player { margin: 16px 0; }
.audio-element { width: 100%; }
.regenerate-row {
text-align: center;
margin-top: 12px;
}
/* ========== 操作按钮 ========== */
.action-buttons {
display: flex;
flex-direction: column;
gap: 12px;
margin-top: 24px;
}
.generate-hint {
display: flex;
align-items: center;
gap: 8px;
2025-12-28 13:49:45 +08:00
margin-top: 8px;
padding: 8px 12px;
background: rgba(255, 193, 7, 0.1);
border: 1px solid rgba(255, 193, 7, 0.3);
border-radius: 6px;
font-size: 13px;
color: @warning-color;
}
/* ========== 响应式 ========== */
@media (max-width: 1024px) {
.kling-content {
grid-template-columns: 1fr;
}
}
2025-12-01 22:27:50 +08:00
</style>