feat: 功能优化

This commit is contained in:
2025-12-22 00:26:38 +08:00
parent 62f22d03e7
commit ad36382f60
2 changed files with 4 additions and 10 deletions

View File

@@ -1,9 +1,6 @@
<template>
<div class="kling-page">
<div class="page-header">
<h1>可灵数字人 · 人脸识别与生成</h1>
<p class="page-desc">上传视频识别其中的人脸并生成数字人视频</p>
</div>
<div class="kling-content">
<!-- 左侧配置 -->
@@ -902,11 +899,11 @@ let previewObjectUrl = ''
</script>
<style scoped>
.kling-page { padding: 24px; min-height: 100vh; background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%); }
.kling-page { padding: 24px; min-height: 100vh; }
.page-header { text-align: center; margin-bottom: 40px; color: #fff; }
.page-header h1 { font-size: 32px; margin-bottom: 8px; background: linear-gradient(135deg, #3B82F6 0%, #8B5CF6 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; color: transparent; }
.page-desc { color: #94a3b8; }
.kling-content { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 1400px; margin: 0 auto; }
.kling-content { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin: 0 auto; }
.upload-panel, .result-panel { background: rgba(255, 255, 255, 0.05); border-radius: 16px; padding: 24px; }
.section { margin-bottom: 24px; }

View File

@@ -347,7 +347,7 @@ const formData = ref({
title: '',
produceCount: loadProduceCount(),
totalDuration: 15,
clipDuration: 3,
clipDuration: 5,
cropMode: 'center'
})
@@ -855,7 +855,6 @@ onMounted(() => {
&__scene-title {
font-size: 16px;
font-weight: 600;
color: #333;
margin: 0;
display: flex;
align-items: center;
@@ -864,8 +863,6 @@ onMounted(() => {
.scene-duration {
font-size: 14px;
font-weight: 400;
color: #666;
background: #f0f0f0;
padding: 2px 8px;
border-radius: 4px;
}