完成极速成品和脚本优化

This commit is contained in:
Azmat@qq.com
2026-08-25 11:13:07 +08:00
parent 00fc454db7
commit e2ec2d14af
46 changed files with 4734 additions and 432 deletions
+547
View File
@@ -560,9 +560,556 @@
flex-direction: column;
}
.vr-page .remix-progress-strip {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 0;
margin-top: 22px;
padding: 15px 20px;
border: 1px solid rgba(0, 47, 167, 0.12);
border-radius: 14px;
background: rgba(255, 255, 255, 0.88);
box-shadow: 0 10px 28px rgba(22, 45, 92, 0.055);
}
.vr-page .remix-progress-step {
position: relative;
display: flex;
align-items: center;
justify-content: center;
gap: 9px;
color: #8893a7;
font-size: 12px;
font-weight: 600;
}
.vr-page .remix-progress-step:not(:last-child)::after {
content: "";
position: absolute;
top: 50%;
left: calc(50% + 52px);
width: calc(100% - 104px);
height: 1px;
background: rgba(0, 47, 167, 0.13);
}
.vr-page .remix-progress-dot {
width: 24px;
height: 24px;
display: grid;
place-items: center;
border: 1px solid rgba(0, 47, 167, 0.16);
border-radius: 50%;
color: #78849a;
background: #fff;
font-size: 10px;
line-height: 1;
transition: color 180ms ease, border-color 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}
.vr-page .remix-progress-step.active,
.vr-page .remix-progress-step.done {
color: #23314a;
}
.vr-page .remix-progress-step.active .remix-progress-dot {
border-color: var(--klein);
color: #fff;
background: var(--klein);
box-shadow: 0 0 0 5px rgba(0, 47, 167, 0.08);
}
.vr-page .remix-progress-step.done .remix-progress-dot {
border-color: rgba(0, 47, 167, 0.28);
color: var(--klein);
background: #eef3ff;
}
.vr-page .remix-page .video-flow-grid {
margin-top: 18px;
}
.vr-page .remix-page .video-remix-upload-panel,
.vr-page .remix-page .remix-information-panel,
.vr-page .remix-page .remix-prompt-panel {
transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}
.vr-page .remix-page .video-remix-upload-panel:hover,
.vr-page .remix-page .remix-information-panel:hover,
.vr-page .remix-page .remix-prompt-panel:hover {
border-color: rgba(0, 47, 167, 0.22);
box-shadow: 0 18px 42px rgba(22, 45, 92, 0.09), 0 3px 10px rgba(34, 42, 54, 0.04);
}
.vr-page .remix-page .video-remix-upload-panel {
min-height: 354px;
}
.vr-page .remix-page .video-remix-upload-panel > h2 {
display: flex;
align-items: center;
gap: 10px;
}
.vr-page .remix-page .video-remix-upload-panel > h2::before {
content: "";
width: 7px;
height: 7px;
border-radius: 50%;
background: var(--klein);
box-shadow: 0 0 0 5px rgba(0, 47, 167, 0.075);
}
.vr-page .remix-page .video-flow-step {
flex: 1;
display: flex;
flex-direction: column;
}
.vr-page .remix-page .video-upload-field {
flex: 1;
min-height: 196px;
border-width: 1px;
border-color: rgba(0, 47, 167, 0.28);
background: #f5f8ff;
}
.vr-page .remix-page .video-upload-field:hover,
.vr-page .remix-page .video-upload-field:focus-within {
border-color: var(--klein);
background: #f0f5ff;
box-shadow: inset 0 0 0 1px rgba(0, 47, 167, 0.05);
}
.vr-page .remix-page .video-upload-field > span {
gap: 10px;
}
.vr-page .remix-page .video-upload-field svg {
width: 34px;
height: 34px;
padding: 8px;
box-sizing: content-box;
border: 1px solid rgba(0, 47, 167, 0.12);
border-radius: 14px;
background: #fff;
box-shadow: 0 8px 20px rgba(0, 47, 167, 0.08);
}
.vr-page .remix-page .video-upload-field strong {
color: #1d2940;
font-size: 15px;
}
.vr-page .remix-page .video-upload-field.has-preview {
position: relative;
display: block;
padding: 0;
overflow: hidden;
cursor: default;
}
.vr-page .remix-page .video-upload-field.has-preview video {
width: 100%;
height: 196px;
display: block;
object-fit: contain;
background: #0f1728;
}
.vr-page .remix-replace-video {
position: absolute;
top: 10px;
right: 10px;
z-index: 1;
padding: 7px 10px;
border: 1px solid rgba(255, 255, 255, 0.28);
border-radius: 8px;
color: #fff;
background: rgba(13, 19, 31, 0.72);
font-size: 11px;
font-weight: 600;
cursor: pointer;
}
.vr-page .remix-replace-video:hover {
background: rgba(0, 47, 167, 0.92);
}
.vr-page .remix-page .video-upload-field.has-preview:hover,
.vr-page .remix-page .video-upload-field.has-preview:focus-within {
background: #0f1728;
}
.vr-page .remix-page .video-upload-field strong {
color: #1d2940;
font-size: 15px;
}
.vr-page .remix-page .remix-information-panel {
display: flex;
flex-direction: column;
}
.vr-page .remix-page .remix-information-panel .video-result-placeholder,
.vr-page .remix-page .remix-information-panel .video-analysis-result {
flex: 1;
}
.vr-page .remix-page .remix-information-panel.has-result .video-analysis-result,
.vr-page .remix-page .remix-prompt-panel.has-result .remix-prompt-result {
animation: remixReveal 260ms ease both;
}
.vr-page .remix-page .remix-info-item {
box-shadow: 0 5px 16px rgba(25, 49, 95, 0.045);
transition: border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}
.vr-page .remix-page .remix-info-item:hover {
border-color: rgba(0, 47, 167, 0.2);
transform: translateY(-1px);
box-shadow: 0 8px 20px rgba(25, 49, 95, 0.075);
}
.vr-page .remix-page .remix-prompt-panel .analysis-prompt {
border-left: 3px solid var(--klein);
background: #fff;
box-shadow: inset 0 1px 3px rgba(27, 45, 83, 0.03), 0 8px 22px rgba(22, 45, 92, 0.045);
}
.vr-page .remix-page .remix-prompt-title h2 {
display: flex;
align-items: center;
gap: 9px;
}
.vr-page .remix-page .remix-prompt-actions {
padding-top: 2px;
}
@keyframes remixReveal {
from {
opacity: 0;
transform: translateY(6px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
@media (prefers-reduced-motion: reduce) {
.vr-page .remix-page .remix-information-panel.has-result .video-analysis-result,
.vr-page .remix-page .remix-prompt-panel.has-result .remix-prompt-result {
animation: none;
}
}
.vr-page .remix-history-section {
margin-top: 30px;
}
.vr-page .remix-history-head {
display: flex;
align-items: center;
justify-content: space-between;
gap: 18px;
margin-bottom: 14px;
}
.vr-page .remix-history-head h2 {
display: flex;
align-items: center;
gap: 10px;
margin: 0;
color: var(--text);
font-size: 19px;
font-weight: 600;
}
.vr-page .remix-history-count {
color: var(--muted);
font-size: 12px;
}
.vr-page .remix-history-empty {
padding: 28px 16px;
border: 1px solid rgba(0, 47, 167, 0.12);
border-radius: 15px;
color: var(--muted);
background: rgba(255, 255, 255, 0.72);
font-size: 13px;
text-align: center;
}
.vr-page .remix-history-list {
display: grid;
grid-template-columns: 1fr;
gap: 12px;
}
.vr-page .remix-history-card {
position: relative;
display: grid;
grid-template-columns: 184px minmax(0, 1fr);
gap: 20px;
padding: 12px;
overflow: hidden;
border: 1px solid rgba(0, 47, 167, 0.13);
border-radius: 15px;
background: rgba(255, 255, 255, 0.9);
box-shadow: 0 12px 30px rgba(22, 45, 92, 0.06);
transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}
.vr-page .remix-history-card::before {
content: "";
position: absolute;
inset: 0 auto 0 0;
width: 3px;
background: var(--klein);
}
.vr-page .remix-history-card:hover {
border-color: rgba(0, 47, 167, 0.24);
box-shadow: 0 16px 36px rgba(22, 45, 92, 0.09);
transform: translateY(-1px);
}
.vr-page .remix-history-cover {
position: relative;
height: 108px;
overflow: hidden;
border-radius: 11px;
background: #e9eef8;
cursor: pointer;
}
.vr-page .remix-history-cover img,
.vr-page .remix-history-cover video {
width: 100%;
height: 100%;
display: block;
object-fit: cover;
}
.vr-page .remix-history-cover.is-playable {
cursor: pointer;
}
.vr-page .remix-history-play {
position: absolute;
inset: 0;
width: 36px;
height: 36px;
margin: auto;
display: grid;
place-items: center;
border-radius: 50%;
color: #fff;
background: rgba(0, 47, 167, 0.88);
pointer-events: none;
}
.vr-page .remix-history-play svg {
width: 16px;
height: 16px;
margin-left: 2px;
}
.vr-page .remix-history-cover.is-playing .remix-history-play {
opacity: 0;
}
.vr-page .remix-history-duration {
position: absolute;
right: 8px;
bottom: 8px;
padding: 4px 7px;
border-radius: 6px;
color: #fff;
background: rgba(13, 19, 31, 0.78);
font-size: 10px;
font-weight: 600;
}
.vr-page .remix-history-content {
min-width: 0;
display: flex;
align-items: center;
justify-content: space-between;
gap: 24px;
padding: 8px 8px 8px 0;
}
.vr-page .remix-history-copy {
min-width: 0;
}
.vr-page .remix-history-status {
display: inline-flex;
align-items: center;
gap: 6px;
padding: 4px 8px;
border: 1px solid rgba(0, 47, 167, 0.12);
border-radius: 99px;
color: var(--klein);
background: #eef3ff;
font-size: 10px;
font-weight: 600;
}
.vr-page .remix-history-status::before {
content: "";
width: 5px;
height: 5px;
border-radius: 50%;
background: var(--klein);
}
.vr-page .remix-history-copy h3 {
margin: 9px 0 0;
overflow: hidden;
color: #1d2940;
font-size: 16px;
font-weight: 600;
text-overflow: ellipsis;
white-space: nowrap;
}
.vr-page .remix-history-copy p {
margin: 7px 0 0;
color: var(--muted);
font-size: 11px;
}
.vr-page .remix-history-actions {
flex: 0 0 auto;
display: flex;
align-items: center;
gap: 16px;
}
.vr-page .remix-history-actions time {
color: #8b96a8;
font-size: 11px;
}
.vr-page .remix-history-open {
display: inline-flex;
align-items: center;
gap: 7px;
padding: 9px 13px;
border: 1px solid rgba(0, 47, 167, 0.24);
border-radius: 9px;
color: var(--klein);
background: #fff;
font: inherit;
font-size: 11px;
font-weight: 600;
cursor: pointer;
transition: color 160ms ease, background-color 160ms ease, border-color 160ms ease;
}
.vr-page .remix-history-open:hover {
border-color: var(--klein);
color: #fff;
background: var(--klein);
}
.vr-page .remix-history-open svg {
width: 14px;
height: 14px;
}
.vr-page .remix-history-prompt {
grid-column: 1 / -1;
padding: 16px;
border: 1px solid rgba(0, 47, 167, 0.1);
border-radius: 11px;
background: #f7f9fd;
animation: remixReveal 220ms ease both;
}
.vr-page .remix-history-prompt[hidden] {
display: none;
}
.vr-page .remix-history-prompt-head {
display: flex;
align-items: center;
justify-content: space-between;
gap: 16px;
margin-bottom: 10px;
}
.vr-page .remix-history-prompt-head strong {
color: #334058;
font-size: 12px;
font-weight: 600;
}
.vr-page .remix-history-prompt textarea {
width: 100%;
min-height: 108px;
display: block;
resize: none;
padding: 13px 14px;
border: 1px solid rgba(34, 42, 54, 0.12);
border-radius: 9px;
outline: none;
color: #27334a;
background: #fff;
font: inherit;
font-size: 12px;
line-height: 1.7;
box-sizing: border-box;
}
.vr-page .remix-history-copy-button {
display: inline-flex;
align-items: center;
gap: 7px;
padding: 7px 11px;
border: 1px solid rgba(0, 47, 167, 0.2);
border-radius: 8px;
color: var(--klein);
background: #fff;
font: inherit;
font-size: 11px;
font-weight: 600;
cursor: pointer;
transition: color 160ms ease, border-color 160ms ease, background-color 160ms ease;
}
.vr-page .remix-history-copy-button:hover {
border-color: var(--klein);
color: #fff;
background: var(--klein);
}
.vr-page .remix-history-copy-button svg {
width: 13px;
height: 13px;
}
@media (max-width: 1120px) {
.vr-page .video-flow-grid,
.vr-page .remix-flow-grid { grid-template-columns: 1fr; }
.vr-page .remix-prompt-head { flex-direction: column; }
.vr-page .video-flow-actions { flex-wrap: wrap; }
.vr-page .remix-progress-step:not(:last-child)::after {
left: calc(50% + 42px);
width: calc(100% - 84px);
}
.vr-page .remix-history-card {
grid-template-columns: 1fr;
}
.vr-page .remix-history-content {
align-items: flex-start;
flex-direction: column;
gap: 14px;
}
}