chore: update project files

This commit is contained in:
AIGC Developer
2025-11-13 17:01:39 +08:00
parent 83bf064bb2
commit 2961d2b0d0
344 changed files with 11549 additions and 15941 deletions

View File

@@ -2,7 +2,9 @@
<div class="text-to-video-page">
<!-- 左侧导航栏 -->
<aside class="sidebar">
<div class="logo">logo</div>
<div class="logo">
<img src="/images/backgrounds/logo.svg" alt="Logo" />
</div>
<nav class="nav-menu">
<div class="nav-item" @click="goToProfile">
<el-icon><User /></el-icon>
@@ -38,7 +40,7 @@
<!-- 顶部用户信息卡片 -->
<div class="user-info-card">
<div class="user-avatar">
<div class="avatar-placeholder">||</div>
<img src="/images/backgrounds/avatar-default.svg" alt="用户头像" class="avatar-image" />
</div>
<div class="user-details">
<div class="username">mingzi_FBx7foZYDS7inLQb</div>
@@ -86,7 +88,7 @@
</div>
<div class="work-info">
<div class="work-title">{{ work.prompt || work.title || '文生视频' }}</div>
<div class="work-meta">{{ work.taskId || work.id }} · {{ formatSize(work) }}</div>
<div class="work-meta">{{ work.date || '未知日期' }} · {{ work.taskId || work.id }} · {{ formatSize(work) }}</div>
</div>
<div class="work-actions" v-if="index === 0">
<el-button type="primary" class="create-similar-btn" @click.stop="goToCreate(work)">做同款</el-button>
@@ -265,7 +267,8 @@ const loadTasks = async () => {
title: task.prompt || '文生视频',
text: task.prompt || '文生视频',
category: '文生视频',
createTime: task.createdAt ? new Date(task.createdAt).toLocaleString('zh-CN') : ''
createTime: task.createdAt ? new Date(task.createdAt).toLocaleString('zh-CN') : '',
date: task.createdAt ? new Date(task.createdAt).toLocaleDateString('zh-CN') : '未知日期'
}))
}
} catch (error) {
@@ -293,7 +296,7 @@ onMounted(() => {
/* 左侧导航栏 */
.sidebar {
width: 280px !important;
background: #1a1a1a !important;
background: #000000 !important;
padding: 24px 0 !important;
border-right: 1px solid #1a1a1a !important;
flex-shrink: 0 !important;
@@ -304,9 +307,14 @@ onMounted(() => {
.logo {
padding: 0 24px 32px;
font-size: 20px;
font-weight: 500;
color: white;
display: flex;
align-items: center;
justify-content: center;
}
.logo img {
height: 40px;
width: auto;
}
.nav-menu {
@@ -402,18 +410,17 @@ onMounted(() => {
width: 80px;
height: 80px;
border-radius: 50%;
background: #000;
display: flex;
align-items: center;
justify-content: center;
border: 2px solid #333;
overflow: hidden;
}
.avatar-placeholder {
color: #fff;
font-size: 24px;
font-weight: bold;
letter-spacing: 2px;
.avatar-image {
width: 100%;
height: 100%;
object-fit: cover;
}
.user-details {
@@ -564,21 +571,7 @@ onMounted(() => {
transform: scale(1.05);
}
.work-overlay {
position: absolute;
bottom: 0;
left: 0;
right: 0;
background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
padding: 20px;
}
.overlay-text {
font-size: 16px;
font-weight: 600;
color: #fff;
text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}
/* .work-overlay 和 .overlay-text 已移除:不再使用 */
.work-info {
padding: 16px;